Skip to main content
Glama

note_frais

QUAND des frais professionnels doivent être remboursés ou justifiés — dépenses réelles sur justificatif, là où journal_kilometrique applique le barème kilométrique. Note de frais (app Frais). Renvoie la note en HTML complet dans la réponse : ni fichier, ni URL, ni PDF, et aucun remboursement n'est déclenché. lignes[] = {date, libelle, montant, mission, justificatif}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesNoRemarques libres ajoutées en bas du document.
lignesNoFrais engagés : date, nature, montant TTC, et justificatif rattaché.
periodeNoPériode couverte par la note — « septembre 2026 ».
collaborateurNoPersonne qui engage les frais et en demande le remboursement.
date_emissionNoFormat ISO AAAA-MM-JJ. Par défaut, la date du jour.
entreprise_nomNoNom de l'entreprise émettrice, en en-tête du document.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / collaborateur / description
      Added value: +"Personne qui engage les frais et en demande le remboursement."
    • addedInput schema / properties / date_emission / description
      Added value: +"Format ISO AAAA-MM-JJ. Par défaut, la date du jour."
    • addedInput schema / properties / entreprise_nom / description
      Added value: +"Nom de l'entreprise émettrice, en en-tête du document."
    • addedInput schema / properties / lignes / description
      Added value: +"Frais engagés : date, nature, montant TTC, et justificatif rattaché."
    • addedInput schema / properties / notes / description
      Added value: +"Remarques libres ajoutées en bas du document."
    • addedInput schema / properties / periode / description
      Added value: +"Période couverte par la note — « septembre 2026 »."
  2. Added

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does so well: it discloses that the output is full HTML returned inline (no file, URL, or PDF) and explicitly states that no reimbursement is triggered, which is a critical side-effect disclaimer for a tool named around reimbursement. It stops short of covering auth/permission requirements, so it is not fully complete.

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?

Dense but front-loaded, leading with the conditional trigger before the app name, output format, side-effect disclaimer, and payload shape. Every clause carries information, though the single long sentence is somewhat crowded rather than crisply segmented.

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?

There is no output schema, so the description properly explains the return value (full HTML in the response, no file/URL/PDF) and the side-effect status (no reimbursement triggered). Combined with the parameter payload hint, an agent has everything needed to call it 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 already 100%, but the description adds genuine value beyond it: the nested lignes items are typed only as a bare 'object' in the schema, while the description enumerates the expected fields ({date, libelle, montant, mission, justificatif}), going beyond the schema's own prose of date/nature/montant TTC/justificatif.

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?

States a specific action and resource (generating a note de frais) and immediately distinguishes itself from the sibling journal_kilometrique by contrasting receipts-based actual expenses with the mileage scale. An agent can tell what this tool does and does not do without opening the schema.

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

Usage Guidelines5/5

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

Opens with an explicit 'QUAND' trigger (expenses to be reimbursed or justified) and names the alternative tool along with the exact condition that selects it (dépenses réelles sur justificatif vs barème kilométrique). Both the when and the when-not-to-use are given.

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