Skip to main content
Glama

Export Documents

export_documents
Read-only

Génère un fichier ZIP contenant tous les justificatifs (factures, reçus, devis) de l'utilisateur, organisés par année et type (charges/mobilier/travaux/recettes/baux). Filtrage optionnel par année et/ou type. Retourne une URL de téléchargement temporaire.

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

Input Schema

NameRequiredDescriptionDefault
typeNoFiltrer par type : expense (charges), furniture (mobilier), work (travaux), income (recettes), lease (baux). Sans filtre : tous les types.
yearNoFiltrer par année (ex: 2025). Sans filtre : toutes les années.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / type / description
      Previous value: -"Filtrer par type : expense (charges), furniture (mobilier), work (travaux). Sans filtre : tous les types."New value: +"Filtrer par type : expense (charges), furniture (mobilier), work (travaux), income (recettes), lease (baux). Sans filtre : tous les types."
  2. Changed2 schema fields changed
    • addedInput schema / properties / type / description
      Added value: +"Filtrer par type : expense (charges), furniture (mobilier), work (travaux). Sans filtre : tous les types."
    • addedInput schema / properties / year / description
      Added value: +"Filtrer par année (ex: 2025). Sans filtre : toutes les années."
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only supply readOnlyHint=true, so the description must carry the rest and it does: the output is a ZIP archive, its contents are organized by year and type, and the return is a temporary download URL. That temp-URL detail is genuinely behavioral information an annotation would not convey; only the archive's expected size/expiry window is left unstated.

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: output artifact first, organization scheme second, optional filters third, return value last. Every sentence carries distinct information with no repetition.

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?

A zero-required-parameter export tool with no output schema is adequately covered: contents, grouping, filter behavior, and return type are all stated. Only scope details such as whether the export spans all properties or is limited to the authenticated user are left implicit.

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 both parameters are fully documented, so baseline 3 applies. The description adds only the fact that filtering is optional and both filters can be combined ('année et/ou type'), which is marginal meaning beyond the schema.

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 resource ('Génère un fichier ZIP contenant tous les justificatifs'), and enumerates the document kinds (factures, reçus, devis) plus the organizational scheme. This clearly separates it from the analyze/attach/delete document siblings by being a bulk export, though no sibling is named 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?

'Filtrage optionnel par année et/ou type' tells the agent filtering is optional and combinable, which is useful calling context. However there is no explicit when-to-use or when-not guidance (e.g. use this for archival rather than browsing a single document), so the guidance is implied rather than stated.

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.