Skip to main content
Glama

document-list

Read-only

List documents in the project. Optionally filter by parent document to get child documents.

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": "document-list"
  }
}

Input Schema

NameRequiredDescriptionDefault
parentDocumentNoParent document ID to list children of

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so the safety profile is covered structurally. The description adds only the hierarchical/child-listing behavior; it says nothing about pagination, result limits, or ordering, which matter for a list operation.

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, zero padding, with the primary action front-loaded and the optional filter second. Nothing needs trimming.

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-optional-parameter read-only tool with annotations and no output schema, this is close to sufficient, but a list tool should at least hint at result shape or pagination behavior. An agent still lacks any sense of how many documents come back or whether the listing is truncated.

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% and the single parameter's schema text ("Parent document ID to list children of") mirrors the description's wording almost exactly. No additional semantics such as depth of recursion or whether top-level docs are returned when omitted are provided beyond the baseline.

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?

Specific verb+resource ("List documents in the project") with a stated scope and an optional narrowing mode (children of a parent). It does not, however, distinguish itself from the sibling document-search, so an agent must guess which listing tool to prefer.

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 implied by the phrasing "optionally filter by parent document to get child documents," which tells the agent when to supply the parameter. There is no explicit when-to-use versus document-search or document-get, and no guidance on result volume.

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