Skip to main content
Glama

journal_kilometrique

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.5/5.0
Behavior4/5

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

With no annotations, the description carries the burden and discloses the key behavioral trait: the log is returned as full HTML in the response — no file, no URL, no PDF. It also notes the default taux_km behavior. It does not state auth/permission needs, persistence, or side effects, so it is strong but not exhaustive.

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 well ordered: routing condition first, then purpose, then output contract, then parameter notes. There is minor redundancy in "ni fichier, ni URL, ni PDF," but every sentence carries information and nothing is buried.

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 and no annotations, the description supplies the most needed missing piece (return format = HTML in the response) along with params and the sibling alternative. It stops short of describing what the HTML contains or whether anything is stored server-side.

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 100%, so the baseline is 3, but the description adds meaning the schema lacks: the trajets[] element shape {date, depart, arrivee, km, motif} (the schema only types items as a bare object) and the optionality/default of taux_km. This goes beyond the structured fields.

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 states a specific verb and resource — generates a mileage log plus indemnities ("Journal kilométrique + indemnités") — and explicitly names the sibling it is not ("pour des frais réels sur justificatif, c'est note_frais"). An agent can distinguish this from note_frais 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 Guidelines5/5

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

It front-loads the trigger condition ("QUAND les déplacements doivent être justifiés au BARÈME kilométrique") and gives the explicit exclusion + alternative (frais réels sur justificatif → note_frais). Both when-to-use and when-not-to-use are covered with no inference required.

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