Skip to main content
Glama

List documents

list_documents
Read-only

Documents, most recently viewed first: type, pages, views, downloads. Optional folder_id and a name filter (query).

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": "list_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
folder_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/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 adds the sort order (most recently viewed first), which is genuine extra context, but says nothing about pagination, the default or maximum result count (limit maxes at 200 per schema), or whether views/downloads are totals or recent counts.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and contains no filler, but the telegraphic style compresses two different meanings (returned fields and input filters) into one ambiguous clause. For a tool with three undocumented parameters, the brevity comes at the cost of clarity rather than being efficiently concise.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and 0% schema coverage, the description is the only source of semantics, and it omits the limit parameter, query matching behavior, and the shape of the returned document objects. An agent would need to call it blind to learn its paging behavior.

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?

Schema description coverage is 0%, so the description carries the full burden for all three parameters. It mentions folder_id and query but never explains whether query is a substring, prefix, or fuzzy match, and it omits the limit parameter entirely, leaving the agent with no idea of the default page size.

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

Purpose3/5

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

The fragment 'Documents, most recently viewed first' plus field names implies a document listing, but the description never states a verb and never says what it returns versus what it accepts. 'type, pages, views, downloads' reads as returned fields while 'Optional folder_id and a name filter (query)' reads as parameters, and the two are jammed into one sentence, so an agent has to guess which is which.

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 guidance on when to use this instead of search, list_recent_views, list_folders, or fetch. There is no exclusion or prerequisite information; only the phrase 'most recently viewed first' hints at a use case, and even that overlaps with the sibling list_recent_views.

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