Skip to main content
Glama

Get Tenant Tree

get_tenant_tree
Read-only

Your organisation's tree as far as you may see it (company → organization → personal); agents see their own node.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_tenant_tree"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeNocurrent
depthNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds genuinely new behavioral context by disclosing the visibility scoping rule (you only see the portion you're permitted to) and the agent-specific behavior of returning its own node. It says nothing about pagination, truncation on large trees, or what a caller outside the hierarchy gets, which is the remaining gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence, front-loaded with the resource and followed by the hierarchy in parentheses, which is an efficient way to convey structure. Nothing is redundant, though the parenthetical arrow notation could have been traded for the missing depth semantics.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and the visibility scoping is covered. However, with 0% schema coverage on two parameters and no usage guidance among a dense sibling set, the definition leaves an agent guessing about depth behavior and when to prefer this over related listing tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden for the two parameters. It partially explains 'node' by noting that agents see their own node (implying the starting-point semantics and the 'current' default), but the 'depth' parameter — which controls how far down the tree to traverse — is not mentioned at all, and no accepted values or format are given for either.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource concretely (the organisation's tenant tree) and spells out the hierarchy levels (company → organization → personal), so an agent knows this returns a structural hierarchy rather than a flat list. It does not explicitly name a verb or differentiate itself from nearby tree/list siblings such as get_task_tree or list_token_tree, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no alternative named. The phrase 'as far as you may see it' implies a permission-scoped read but the agent is left to infer when this is the right call versus list_namespaces, list_agents, or get_task_tree.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.