Skip to main content
Glama

list_documents

Lists workspace documents in stable name order and marks the active document.

Instructions

List workspace documents in stable name order; the active document is marked. Input: {}. Example: {}.

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

No arguments

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, the description carries the full burden, and it does disclose output behavior (stable name ordering, active-document marking) that an agent cannot get elsewhere. However, it never states that the call is read-only, whether marking the active document is a side effect, or whether the list is paginated/truncated — meaningful gaps for a tool with zero annotation coverage.

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?

The first clause is tight and front-loaded, but 'Input: {}. Example: {}.' are empty template artifacts that convey nothing and dilute the one useful sentence. Trimming them would leave a clean single-sentence definition.

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 zero-param list tool this covers the essentials — what is listed and how it is ordered/annotated. What remains unclear is the shape of a returned entry (names, IDs, metadata) and whether the active-document marker reflects persistent state, which matters since there is no output schema to fall back on.

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?

The tool takes no parameters, and the description's 'Input: {}' at least confirms the empty call signature. Per the zero-parameter baseline, this is adequate; nothing further about parameters is needed.

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?

The description gives a specific verb and resource ('List workspace documents') plus two scope details: stable name ordering and the fact that the active document is flagged. That is enough to tell it apart from create_document, open_document, or remove, though it never names a 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 Guidelines3/5

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

Usage is only implied by the verb — an agent can infer this is the read/list entry point, but there is no explicit 'use this when…' or guidance about when to prefer it over open_document or list_screens. The trailing 'Input: {}. Example: {}.' boilerplate provides no routing help.

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