Skip to main content
Glama

List your documents

list_documents
Read-only

Find documents in your personal workspace by default, or specify workspace_id for a team. Literal title search, status and sort. Default 25, maximum 50. Pass nextCursor with the same filters for older results; restart expired queries.

Input Schema

NameRequiredDescriptionDefault
sortNoupdated
limitNo
cursorNo
searchNo
statusNoall
workspace_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / workspace_id
      Added value: +{
      +  "format": "uuid",
      +  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +  "type": "string"
      +}
  2. Changed6 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / cursor
      Added value: +{
      +  "format": "uuid",
      +  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +  "type": "string"
      +}
    • addedInput schema / properties / limit / default
      Added value: +25
    • addedInput schema / properties / search
      Added value: +{
      +  "default": "",
      +  "maxLength": 200,
      +  "type": "string"
      +}
    • addedInput schema / properties / sort
      Added value: +{
      +  "default": "updated",
      +  "enum": [
      +    "updated",
      +    "created",
      +    "views",
      +    "viewed"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / status
      Added value: +{
      +  "default": "all",
      +  "enum": [
      +    "all",
      +    "draft",
      +    "published"
      +  ],
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover read-only/safe/non-open-world, so the bar is lower, and the description adds genuine traits beyond them: search is literal title matching (not fuzzy), the limit ceiling of 50, and cursor semantics including expiry and restart. Return payload shape is not described, but that is minor here.

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?

Four tight sentences, scope front-loaded, each segment carrying distinct information (scope, filters, limits, pagination). No filler.

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 zero-required-param list tool with read-only annotations and no output schema, it covers scope, filters, limits, and pagination adequately. Enum values and the return shape are left to the schema, which is acceptable given no output schema exists.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema coverage the description carries the burden and mostly succeeds: it gives meaning to workspace_id, search (literal title), status, sort, limit (default 25, max 50), and cursor behavior. The only flaw is naming the cursor parameter 'nextCursor' while the schema calls it 'cursor', a small mismatch that could confuse an agent.

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 ('Find documents') plus scope: personal workspace by default, team via workspace_id. This separates it from get_document (single) and list_workspaces, though it does not name any sibling explicitly.

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 clear usage context: it lists personal documents by default and team documents when workspace_id is supplied, and describes the pagination continuation path. No explicit alternatives or exclusions are named, so it stops short of a 5.

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