Skip to main content
Glama

List documents

list
Read-only

Lists what is in a folder or in the whole project, newest change first, with who changed each and whether it changed since this person last opened it; files with their type and size. With a document's address, it lists the document's sections; with a file's, it says what the file is.

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

Input Schema

NameRequiredDescriptionDefault
detailNoshort, the default: one line for each item (its § address, title, who changed it and when, whether it changed since the person looked, and its first line), the newest 50 changes first, then how many more. full: each item with its first line on a line of its own, up to 200.
folderNoA folder path like research or src/components, or a document's § address for its sections. Empty: everything.
projectNoThe project's slug, from open_project, like acme. Not needed when a § address names the project, or when the person is on one project.

Output Schema

NameRequiredDescriptionDefault
moreNo
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedOutput schema / properties / items / items / properties / agreed
      Removed value: -{
      -  "type": "string"
      -}
  2. Changed1 schema field changed
    • addedInput schema / properties / detail
      Added value: +{
      +  "description": "short, the default: one line for each item (its § address, title, who changed it and when, whether it changed since the person looked, and its first line), the newest 50 changes first, then how many more. full: each item with its first line on a line of its own, up to 200.",
      +  "enum": [
      +    "short",
      +    "full"
      +  ],
      +  "type": "string"
      +}
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so safety is covered. The description adds real behavioral context beyond that: results are ordered newest-change-first, each row carries the last changer and a per-viewer change flag, and the tool's behavior is polymorphic on the address type. It does not restate the annotation claims, which is the right call.

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?

It is a single dense sentence, but the primary case (folder/project listing) is front-loaded and each clause carries distinct information rather than filler. The semicolon-chained structure and the 'whether it changed since this person last opened it' phrasing are slightly tangled but not wasteful.

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 an output schema present and strong annotation coverage, the description only needs to explain scope and modes, which it does for all three input shapes plus the empty case. Pagination limits (50/200) and the short-vs-full distinction live in the schema, so no gap is left that the agent needs to call the tool correctly.

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?

Schema coverage is 100%, so the schema baseline is 3, but the description adds meaning the schema does not: the folder parameter's dual role for a file's § address (returning what the file is) is absent from the schema text, which only mentions document addresses for sections. The detail parameter's short/full tradeoffs are left entirely to the schema, which is acceptable given full coverage.

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 names a specific verb (lists) and enumerates the four concrete modes: folder contents, project contents, a document's sections via its § address, and a file's identity via its address. That is far more informative than the bare name 'list'. It stops short of explicitly contrasting with content-search siblings like search or grep, so an agent must infer that this is structural listing rather than querying.

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 implied through the input-shape mapping: give a folder path for contents, a document address for sections, a file address for file info, nothing for everything. That is genuine routing guidance. However, no alternative tool is named and no exclusion is stated (e.g., use search to find documents by content), leaving the choice between list and search to inference.

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