getKgScopeTree

List every kg_scope row for the caller's organisation, optionally narrowed to a workspace or project subtree. Each row carries scope_type, scope_id, state (on|off|inherit), settings, and is augmented with scope_name + parent_id for tree rendering. Capped at 500 rows.

SERVERStable Baseline SOURCEhttps://api.stablebaseline.io/functions/v1/cloud-serve/mcp
Low RISK CLASS
Category Read
Parameters 31 required
Recommended Allowedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/io-stablebaseline-sb/getkgscopetree.md

What getKgScopeTree does on Stable Baseline

AI agents call getKgScopeTree to retrieve information from Stable Baseline without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
project_id string Optional — narrow the result to this project's subtree
workspace_id string Optional — narrow the result to this workspace's subtree
organisation_id string Yes Must match the credential's org

Parameters from the server's own tool schema.

Why getKgScopeTree is rated Low

getKgScopeTree retrieves and enumerates Knowledge Graph scope configuration data for organizational visibility and tree rendering. It performs no mutations, deletions, or state changes. Even with broad access to organizational scope data, the blast radius is limited to information disclosure; misuse would not corrupt data, trigger external actions, or cause irreversible harm. This is a classic Read operation.

From the tool's definition Tool description states 'List every kg_scope row' with retrieval of scope metadata (scope_type, scope_id, state, settings, scope_name, parent_id).

Risk signalsBulk/mass operation — affects multiple targets

Questions about getKgScopeTree

What does the getKgScopeTree tool do? +

List every kg_scope row for the caller's organisation, optionally narrowed to a workspace or project subtree. Each row carries scope_type, scope_id, state (on|off|inherit), settings, and is augmented with scope_name + parent_id for tree rendering. Capped at 500 rows. It is categorised as a Read tool in the Stable Baseline MCP Server, which means it retrieves data without modifying state.

What parameters does getKgScopeTree accept? +

getKgScopeTree accepts 3 parameters: project_id, workspace_id, organisation_id. Required: organisation_id. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on getKgScopeTree? +

Register the Stable Baseline MCP server in PolicyLayer and add a rule for getKgScopeTree: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Stable Baseline. Nothing to install.

What risk level is getKgScopeTree? +

getKgScopeTree is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit getKgScopeTree? +

Yes. Add a rate_limit block to the getKgScopeTree rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block getKgScopeTree completely? +

Set action: deny in the PolicyLayer policy for getKgScopeTree. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides getKgScopeTree? +

getKgScopeTree is provided by the Stable Baseline MCP server (https://api.stablebaseline.io/functions/v1/cloud-serve/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Stable Baseline, and thousands of servers like it.

Across the catalogue

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Stable Baseline's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.