Skip to main content
Glama
codename-generator

codename-generator

by funky-ai

get_category_tree

Return the full category tree as nested nodes with populated children, enabling construction of UI selectors.

Instructions

Return the full category tree as nested Category nodes with children populated. Preferred when building UI selectors.

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_category_tree"
  }
}

Input Schema

NameRequiredDescriptionDefault
include_archivedNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose behavior beyond the name: the result is the full tree with populated children, not a flat set. It says nothing about permissions, payload size, whether archived categories are included by default, or any cost/rate consideration for returning an entire tree.

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

Conciseness5/5

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

Two short sentences with zero filler; the primary outcome is front-loaded and the usage hint follows. Nothing repeats the tool name or restates structured data.

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?

The output schema covers the return shape, so omitting return-value detail is acceptable. But for a tree-returning read tool with no annotations and an undocumented parameter, the definition should at least clarify the archived-category default and the alternative to this call.

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?

The single parameter include_archived has 0% schema description coverage and is never mentioned in the description. An agent must guess whether archived categories are excluded by default and what setting it true changes in the tree, so the description does not compensate for the schema gap.

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 the full category tree") plus the shape of the result (nested Category nodes with children populated), which is far more informative than the name alone. It implicitly contrasts with a flat listing tool but never names a sibling such as list_categories, so differentiation is inferred 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?

"Preferred when building UI selectors" gives one positive selection condition, which is more than nothing. However, it never states when to choose the flat/filtered alternative, nor when not to use this tool (e.g. when the tree is large or when only one category is needed).

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