Skip to main content
Glama

Lister mes documents

list_documents
Read-onlyIdempotent

Liste les derniers documents de location et formulaires officiels remplis dans le compte de l'utilisateur (identifiant, titre, modèle, nombre de pages, date de mise à jour), du plus récent au plus ancien. À utiliser pour retrouver un document_id avant get_download_link, ou avant de mettre à jour un document avec generate_document. Lecture seule : ne crée ni ne modifie rien.

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
limitNoNombre maximum de documents à renvoyer (de 1 à 50, 20 par défaut).

Output Schema

NameRequiredDescriptionDefault
documentsYesDocuments, du plus récent au plus ancien.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the "Lecture seule : ne crée ni ne modifie rien" sentence largely restates structured data. What the description does add is genuine behavioral context: results are scoped to the user's account and ordered most-recent-first. Return shape is covered by the output schema, so no further disclosure is required.

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?

Three sentences, front-loaded with the core action and scope, then usage, then the read-only caveat. Nothing is buried, though the final read-only sentence duplicates the annotation hints and is the one piece that does not earn its full place.

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

Completeness5/5

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

For a single-optional-parameter read tool with a full output schema and complete annotations, the description supplies everything an agent needs: account scoping, sort order, returned fields, and the downstream tools that consume the document_id.

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 description coverage is 100% and the single `limit` parameter already documents its default (20) and bounds (1–50) in the schema. The description adds no meaning beyond that, so the baseline of 3 applies.

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?

The description gives a specific verb ("Liste") and a precisely scoped resource ("documents de location et formulaires officiels remplis dans le compte de l'utilisateur"), then enumerates the returned fields (identifiant, titre, modèle, nombre de pages, date de mise à jour) and the sort order. It also names the sibling tools it feeds into (get_download_link, generate_document), so an agent can distinguish it from them without opening either schema.

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?

It states an explicit purpose-driven usage: retrieve a document_id before calling get_download_link or before updating with generate_document. That is clear context plus named alternatives. It does not address the inverse case (e.g., when to prefer list_templates for un-filled templates), so it falls short of full when/when-not coverage.

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.