Skip to main content
Glama

Browse the category tree

category_get_tree
Read-onlyIdempotent

Return a bounded category subtree. Use rootCategoryId and maxDepth to avoid loading the entire taxonomy.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxDepthNo
maxNodesNo
countryCodeYesISO 3166-1 alpha-2 country code
languageCodeYesLowercase two-letter language code
rootCategoryIdNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
truncatedYes
categoriesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The word 'bounded' plus the warning about loading the entire taxonomy adds useful context, but there is no mention of truncation behavior, maxNodes interaction, or how locality (country/language) affects results.

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?

Two short sentences with the purpose front-loaded and the scoping advice second. Nothing is wasted, though the second sentence could be tightened to also cover maxNodes.

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 described. For a 5-parameter read tool with only 40% schema coverage, the description is barely adequate: it covers the two scoping parameters but leaves maxNodes and the required locale parameters to the schema alone.

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

Parameters3/5

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

Schema coverage is 40% (only countryCode and languageCode are documented in-schema). The description names rootCategoryId and maxDepth and hints at their effect, adding meaning for two undocumented parameters, but omits maxNodes entirely and does not explain the depth/node relationship.

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?

States a specific verb and resource ('Return a bounded category subtree'), which is clearly distinguishable from the sibling category_search. However, it never names the sibling as an alternative, so differentiation is implied rather than explicit.

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

Usage Guidelines3/5

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

It gives operational guidance ('Use rootCategoryId and maxDepth to avoid loading the entire taxonomy'), which tells the agent how to scope a call, but says nothing about when to prefer this over category_search or what happens if the scoping parameters are omitted.

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.

Resources