Skip to main content
Glama

justificatifs_depense

List supporting documents for an expense by expense ID, including receipt photos and PDFs with each file's name, type, and size.

Instructions

Liste les justificatifs (photo de ticket, PDF) d'une dépense, par son numéro dans le compte : id, nom, type, taille.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "depense_id": "<depense_id>"
    },
    "name": "justificatifs_depense"
  }
}

Input Schema

NameRequiredDescriptionDefault
dossierNo
depense_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.1

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. 'Liste' makes the read-only nature clear and it usefully discloses the nature of the returned items (ticket photos, PDFs) and their fields. It says nothing about permissions, pagination, or what happens when an expense has no receipts, which leaves real gaps for an unannotated tool.

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?

A single front-loaded sentence that opens with the verb and resource, then qualifies scope and outputs. No filler, though the dense clause structure leaves the 'dossier' parameter unaddressed.

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 two-parameter read tool with no output schema, the description compensates somewhat by naming the returned fields. However it omits any explanation of 'dossier', gives no hint of result shape or emptiness handling, and does not route the agent away from the near-identical 'justificatif' sibling.

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 0%, so the description must compensate. It explains depense_id ('son numéro dans le compte') but the optional 'dossier' parameter is never mentioned in either schema or description, leaving one of two parameters semantically opaque.

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 (Liste) and resource (justificatifs) scoped to a single dépense identified by its account number, and enumerates the returned fields (id, nom, type, taille). It does not, however, explicitly distinguish itself from the very close sibling 'justificatif' (singular), leaving the list-vs-single distinction to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The description never says when to use this tool versus the sibling 'justificatif', 'depenses', or 'pdf_facture'. The phrase 'par son numéro dans le compte' only implies that an expense id is needed; there is no explicit when/when-not guidance.

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