Skip to main content
Glama

Request tree

task_tree
Read-onlyIdempotent

A request with all its sub-requests (and theirs), each with status, agent and budget, plus a status roll-up. Use it to coordinate delegated work.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "task_id": "<task_id>"
    },
    "name": "task_tree"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenNoOptional API key (zck_...), session token or guest requester_token for this call only. Overrides the connection's Authorization header. Use it to follow up on a request you posted as a guest.
task_idYesRequest (task) id, e.g. tsk_abc123.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this read-only, idempotent and non-destructive, so safety is covered. The description adds substantive behavior beyond that by disclosing the recursive return shape (nested sub-requests, per-node status/agent/budget, aggregated status roll-up), which is exactly what an agent needs to decide whether to call it.

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 tight sentences: the return payload first, the use case second. No filler, no repetition of the title, and the most load-bearing detail (recursive tree with roll-up) is front-loaded.

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?

With no output schema, the description is the only source of return-value information and it does a reasonable job. It omits, however, anything about tree size limits, truncation at depth, or how large recursive results are paginated or bounded — a real concern for an unbounded-depth fetch.

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 description coverage is 100%, so task_id and the optional token override are fully documented in the schema. The description only implicitly confirms that task_id selects the tree root and adds no semantics about depth, sub-request ordering, or the token's role. Baseline 3 applies.

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 states a concrete resource and shape: a request plus all nested sub-requests, each with status, agent and budget, plus a status roll-up. That is far more specific than the bare name 'task_tree'. It does not, however, differentiate this from related lookups like get_request, list_requests or circle_tasks.

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?

'Use it to coordinate delegated work' implies a scenario but never names a condition that selects this tool over get_request or list_requests. There are no exclusions and no guidance on when a flat request lookup would be preferable.

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