Skip to main content
Glama

Draft a mileage log

journal_kilometrique
Read-only

QUAND les déplacements doivent être justifiés au BARÈME kilométrique — pour des frais réels sur justificatif, c'est note_frais. Journal kilométrique + indemnités (app Kilométrique). Renvoie le journal en HTML complet dans la réponse : ni fichier, ni URL, ni PDF. trajets[] = {date, depart, arrivee, km, motif}. Optionnel : taux_km — sans lui, le barème par défaut du serveur s'applique.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
periodeNoPériode couverte par le journal — « 2026 » ou « T3 2026 ».
taux_kmNoTarif au kilomètre appliqué, en euros. Le barème kilométrique officiel dépend de la puissance fiscale et de la distance annuelle ; il n'est PAS calculé ici.
trajetsNoDéplacements : date, motif professionnel, trajet, kilomètres parcourus.
vehiculeNoVéhicule utilisé : marque, modèle, immatriculation, puissance fiscale.
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 / 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 / periode / description
      Added value: +"Période couverte par le journal — « 2026 » ou « T3 2026 »."
    • addedInput schema / properties / taux_km / description
      Added value: +"Tarif au kilomètre appliqué, en euros. Le barème kilométrique officiel dépend de la puissance fiscale et de la distance annuelle ; il n'est PAS calculé ici."
    • addedInput schema / properties / trajets / description
      Added value: +"Déplacements : date, motif professionnel, trajet, kilomètres parcourus."
    • addedInput schema / properties / vehicule / description
      Added value: +"Véhicule utilisé : marque, modèle, immatriculation, puissance fiscale."
  2. Added

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description does add value by disclosing the return format (full HTML in the response, no file/URL/PDF) and the default taux_km behavior, which matters given no output schema. It stops short of richer behavioral context, so a 3 is appropriate.

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?

Efficient and front-loaded: the WHEN clause leads, followed by output format, trajets shape, and the taux_km default. Slightly dense with parentheticals, but every sentence carries information.

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 no output schema, the description correctly compensates by specifying the return format (HTML in-response, no file/URL/PDF). Combined with usage routing and the taux_km default, it is nearly complete; only minor details of the journal rendering are unspecified.

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%, so the schema already documents all six parameters. The description restates the trajets[] shape ({date, depart, arrivee, km, motif}) and mentions taux_km is optional with a server default, adding minor clarification over an already complete schema – baseline 3.

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 purpose (mileage log justified at the kilometric barème plus indemnities) with a clear verb/resource and explicitly names the sibling note_frais for a different case. An agent can distinguish it from siblings without opening any 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?

Front-loads 'QUAND' with the exact condition (déplacements justifiés au barème kilométrique) and routes the contrasting case (frais réels sur justificatif) to note_frais. Explicit when-to-use and when-to-use-an-alternative guidance.

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