Skip to main content
Glama

Huddle

list_docs

Read-onlyIdempotent

List every document that is not archived, most recently changed first. Use it to find a document id or to see what is being worked on. Returns each document's title, revision number, whether it has an open draft and how many minutes ago it changed, plus the total.

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_docs"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
docsYesEvery document, most recently edited first.
totalYesThe total count.
truncatedYesWhether the list read hit its ceiling.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and closed-world, so the safety profile is covered. The description adds genuine behavioral context beyond that: the archived-exclusion filter, the recency sort, and the absence of any input parameters implying a full unfiltered enumeration. It stops short of stating whether results are capped or paginated, which matters for a tool that promises "every document."

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?

Three short sentences, with the scoping constraint and sort order front-loaded and the return summary last. No filler and nothing repeated from the schema or annotations.

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?

With zero parameters, a full annotation set, and an output schema, little is required, and the description still describes the returned fields and total. The only real gap is the unstated behavior for large result sets (truncation or paging) given the "every document" claim.

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 zero parameters, so there is no schema semantics for the description to elaborate; baseline 4 applies. The explanation that no filtering is possible is at least consistent with the empty schema.

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?

"List every document that is not archived, most recently changed first" gives a specific verb, resource, filter scope, and sort order in one sentence. Combined with the second sentence about finding a document id or seeing active work, an agent can tell this is the enumerate-everything tool rather than a filtered query.

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?

The description does state a use case ("to find a document id or to see what is being worked on"), which is implied guidance rather than explicit routing. It never says when to prefer search_docs instead, nor does it warn that listing every document may be wasteful in a large workspace.

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