Skip to main content
Glama

FastCheck — Le coût des promesses

fastcheck_verifier_document

Read-onlyIdempotent

Prend un document en français (rapport, note, communiqué, discours ; 50000 caractères au plus, au-delà le texte est tronqué) et une date facultative. Le découpe en phrases chiffrées (plafond signalé) et traite chacune exactement comme une phrase seule : état (correspondance_forte, correspondance_possible, pas_de_donnee) et 1 à 5 cartes candidates (3 par défaut), chacune avec valeur officielle (unité, période, périmètre, source), valeur dite et comparaison calculée (écarts, statut concordant, proche, ecart, periode_differente, non_comparable). Le verdict de chaque carte est donné à part, avec l'affirmation qu'elle juge : il ne porte pas sur la phrase. Décompte par état. pas_de_donnee : aucune valeur comparable, pas « faux ». Les comptes propres d'un établissement (PNB, frais de gestion, CET1…) ne sont jamais rapprochés d'une statistique publique. La date donne l'année de « cette année », « l'an dernier », « l'an prochain ». Sans IA. Lecture seule des cartes publiées du site, sans appel extérieur.

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": {
      "texte": "<texte>"
    },
    "name": "fastcheck_verifier_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxNoCartes candidates par phrase (1 à 5, 3 par défaut).
texteYesTexte brut du document (50000 caractères au plus).
date_documentNoDate de publication du document, format AAAA-MM-JJ (ex. 2025-01-20).

Output Schema

NameRequiredDescriptionDefault
limiteNo
decompteYes
resultatsYes
phrases_traiteesYes
phrases_chiffreesYes
regle_de_toleranceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, yet the description adds substantial context beyond them: a 50000-character ceiling with explicit truncation behavior, deterministic 'Sans IA' processing, read-only access to published cards with no external calls, and the warning that pas_de_donnee means 'no comparable value', not 'false'. The clarification that card verdicts are issued separately and do not judge the sentence itself is a genuinely non-obvious behavioral trait.

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?

Inputs are front-loaded in the first sentence and the rest follows a logical order (splitting, per-sentence output, card verdicts, counting, edge cases). It is a single dense block, however, and the parenthetical enumerations of output states and comparison statuses duplicate what the output schema already provides, adding length without new information.

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?

For a tool of this complexity, the definition covers input limits and truncation, output shape, verdict scoping, counting by state, the meaning of the empty case, and a domain-specific exclusion rule. With annotations covering the safety profile and an output schema covering return structure, nothing an agent needs to call it correctly is missing.

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 schema already documents all three parameters and the baseline would be 3. The description nevertheless adds meaning beyond the schema for date_document: it explains that the date supplies the reference year for 'cette année', 'l'an dernier', 'l'an prochain', which is not derivable from the 'date de publication' label alone. The max and length parameters are only restated, not enriched.

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 opens with a specific verb and resource ('Prend un document en français... et une date facultative'), then states exactly what it does with it: splits into numbered sentences and evaluates each one like a standalone sentence. This clearly separates it from a single-value checker and from the card-lookup siblings, since it is the only tool described as document-level with per-sentence decomposition.

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

Usage Guidelines4/5

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

Usage context is clear (French documents: rapport, note, communiqué, discours) and one hard scope exclusion is stated: establishment's own accounts (PNB, frais de gestion, CET1) are never matched against public statistics. It also explains the purpose of the optional date for resolving relative time expressions. It stops short of explicitly naming when to prefer a sibling single-value tool instead, so it is strong but not exhaustive.

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