Skip to main content
Glama

list_documents

Lists all workspaces and documents available to the current user, using org_id=0 for the personal organization. Helps identify accessible Grist documents before creating, reading, or managing them.

Instructions

List all workspaces and documents accessible to the current user. Use org_id=0 for the user's personal org.

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
org_idNoOrganization ID or 'current'. Defaults to 0 (personal org).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It does disclose the access-scoping rule (results are limited to what the current user can access) and the org default, which are genuine behavioral facts, but it says nothing about result volume, pagination, ordering, or permissions needed.

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 with the core purpose front-loaded and no filler. The second sentence is partly redundant with the schema's own parameter description, which is the only small cost.

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

Completeness3/5

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

For a simple one-optional-parameter listing tool with no output schema, the description covers the essentials of what is returned at a high level. It omits whether results are grouped by workspace, whether pagination or limits apply to "all," and what the response shape looks like, which leaves meaningful gaps for an enumeration call.

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 coverage is 100% and the single parameter is already documented as "Organization ID or 'current'. Defaults to 0 (personal org)." The description's org_id sentence largely repeats that, adding no new syntax or edge-case meaning, so the 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 and resources ("List all workspaces and documents") plus the scope ("accessible to the current user"), which is more than a restatement of the name. It does not explicitly contrast with siblings such as describe_document or get_records, so an agent must infer that this is the broad enumeration entry point.

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?

Usage is only implied: the tool is for enumerating everything the user can reach. There is no explicit when-to-use versus describe_document/get_records, and no statement of when this is the wrong choice (e.g., for large orgs or specific document content).

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