Skip to main content
Glama

List documents

document_list
Read-only

List documents, newest first. One row per language version; siblings share language_group_id.

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
limitNoPage size, 1–100 (default 25).
cursorNonext_cursor from the previous page; omit for the first page.
searchNoText to match in document titles.
project_idNoOnly documents filed in this project (id from project_list).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / cursor / description
      Added value: +"next_cursor from the previous page; omit for the first page."
    • addedInput schema / properties / limit / description
      Added value: +"Page size, 1–100 (default 25)."
    • addedInput schema / properties / project_id / description
      Added value: +"Only documents filed in this project (id from project_list)."
    • addedInput schema / properties / search / description
      Added value: +"Text to match in document titles."
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description usefully adds ordering ('newest first') and the row model ('siblings share language_group_id'), which is real behavior disclosure, but it says nothing about pagination limits, total counts, or empty 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, front-loaded with the operation and ordering, then the row-granularity note. Nothing is wasted, though the second sentence is slightly compressed to the point of terseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 partially compensates by explaining the row granularity and shared language_group_id, which is the key thing an agent needs to interpret results. Remaining gaps (pagination shape, result envelope) are modest for a filtered list tool whose annotations cover the safety profile.

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 every parameter (limit, cursor, search, project_id) is already documented in the schema. The description adds no parameter-level meaning beyond that; 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?

States a specific verb+resource ('List documents') plus ordering ('newest first') and result granularity ('one row per language version'). It does not explicitly distinguish itself from document_get or the other list_* siblings, but the operation is unmistakable.

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

Usage Guidelines2/5

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

No when-to-use or when-not guidance: nothing says to prefer document_get for a single document, or how this differs from project_list/glossary_list style siblings. The only hint is the implicit 'list vs get' distinction carried by the name.

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.