Skip to main content
Glama

list_documents

List the documents stored with a database (uploaded via create_upload_link), newest first: id, filename, size, the name they are attached to, and markdownChars - the size of the Markdown copy read_document returns (null when there is none, with markdownNote saying why). Pass nameId for one name's documents.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameIdNoOptional: only documents attached to this name
databaseYesDatabase name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses ordering ('newest first') and null semantics for markdownChars (with markdownNote explaining why), which is real behavioral context. However it says nothing about pagination, result limits, permissions, or performance for large document sets.

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?

Front-loaded with the core action, and the trailing clauses on return fields and the nameId filter each add information. The markdownChars/markdownNote clause is long and nested, but it earns its space since no output schema exists.

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?

For a two-parameter tool with no annotations and no output schema, the description compensates well by enumerating the returned fields and their semantics. Missing pagination and access expectations keep it short of complete.

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 both parameters are already documented. The description's 'Pass nameId for one name's documents' essentially restates the schema's own note, adding no format, type, or edge-case detail beyond it. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('List the documents stored with a database'), clarifies provenance (uploaded via create_upload_link), and names the exact fields returned. An agent can distinguish it from list_databases, list_names, and read_document without opening any schema.

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

Usage Guidelines4/5

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

Gives a concrete filter instruction ('Pass nameId for one name's documents') and situates the tool relative to siblings create_upload_link (how documents arrive) and read_document (the Markdown copy). It does not state explicit when-not-to-use conditions or an alternative listing tool.

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