Skip to main content
Glama

List child docs

list_doc_children
Read-onlyIdempotent

List the docs directly under a doc, in the order shown in the app. truncated is true when the child list or a child-presence scan reaches its limit. hasChildren is also true when a capped scan leaves child presence unknown.

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": {
      "docId": "<docId>"
    },
    "name": "list_doc_children"
  }
}

Input Schema

NameRequiredDescriptionDefault
docIdYesDoc ID or identifier such as DOC-12.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly=true, idempotent=true and destructive=false, so the safety profile is covered. The description adds genuinely new behavioral facts beyond annotations: results follow app display order, and the truncated/hasChildren flags are explained, including the subtle case where a capped child-presence scan makes hasChildren true even if the answer is unknown. That last clarification is real value; what's missing is what happens on an invalid docId or a doc with no children.

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 tight sentences, with the core operation stated first and the caveat about truncation second. The second sentence is dense and introduces field names (truncated, hasChildren) without saying they are response fields, which costs a little clarity for an uninitiated reader.

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?

For a one-parameter read tool with no output schema, the description is mostly sufficient, but since no output schema exists it carries the burden of describing the return value and only names two flags rather than the shape of the doc list itself. It also says nothing about account/permission scope or behavior for a nonexistent or childless doc, leaving noticeable gaps for an agent composing a call.

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?

There is a single parameter with 100% schema description coverage, so the schema already explains docId including the DOC-12 style identifier format. The description adds no further semantics about the parameter, which is acceptable at baseline given full schema coverage.

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 gives a specific verb and resource ('List the docs directly under a doc') and scopes the result to direct children in app order, which implicitly distinguishes it from flat list_docs and tree-walking siblings. It does not name any alternative tool by name, so an agent must infer the boundary itself.

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?

Usage is only implied by the prepositional scope 'directly under a doc' – there is no explicit statement of when to prefer this over get_doc_tree or list_docs, and no preconditions or exclusions. Adequate for a narrow, obvious tool, but guidance is inferred rather than stated.

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