Skip to main content
Glama

list_documents

Read-onlyIdempotent

Retrieve available PDF filenames and their root mappings so you can pass exact names to other document tools. Multiple roots appear as root1/, root2/ prefixes.

Instructions

List PDF filenames and root mappings. Multiple roots use root1/, root2/ prefixes.

Pass the returned filename unchanged to other tools. Single-root names have no prefix.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, non-open-world behavior, so the description only needs supplementary context — and it delivers it: multi-root results are prefixed root1/, root2/, and filenames must be reused verbatim. It omits pagination/limit behavior, keeping it from a 5.

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, front-loaded with the core action, and every clause carries an actionable detail (prefix rules, verbatim reuse). No waste.

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 usefully characterizes the return (filenames plus root mappings) and how to consume it. The only gap is the undocumented limit parameter, which is minor for a simple listing tool.

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?

There is one parameter (limit) with 0% schema description coverage, and the description never mentions it or explains what limiting does. With low coverage the description is expected to compensate, and it does not.

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 ('List PDF filenames and root mappings'), which cleanly separates it from siblings like search_text and page_text. It does not explicitly name a sibling or contrast itself with document_info, so it stops short of a 5.

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?

'Pass the returned filename unchanged to other tools' implies this is a discovery step feeding the other tools, but it never states when to use this versus document_info or the alternatives. Usage is implied rather than spelled out.

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