Skip to main content
Glama

FastCheck — Le coût des promesses

fastcheck_verifier_chiffre

Read-onlyIdempotent

Compare une affirmation chiffrée en français (une phrase, 1000 caractères au plus) aux chiffres officiels des cartes publiées. Renvoie un état (correspondance_forte, correspondance_possible, pas_de_donnee) et 1 à 5 cartes candidates (3 par défaut), chiffre comparable, même période et valeur la plus récente d'abord. Pour chacune : la valeur officielle (unité, période, périmètre, source avec adresse, organisme et date), la valeur dite, et une comparaison calculée (écart absolu, écart relatif, statut concordant, proche, ecart, periode_differente ou non_comparable, règle de tolérance jointe). Le verdict de la carte est donné à part, avec l'affirmation que la carte juge : il ne porte pas sur la phrase. pas_de_donnee : aucune valeur comparable pour cet indicateur et cette période, pas « faux ». Les comptes propres d'un établissement ne sont jamais rapprochés. Rapprochement par mots et chiffres, sans IA ; il peut se tromper de carte. 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": {
      "affirmation": "<affirmation>"
    },
    "name": "fastcheck_verifier_chiffre"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxNoNombre de cartes candidates renvoyées (1 à 5, 3 par défaut).
affirmationYesPhrase entendue ou lue, avec son chiffre et son unité (ex. « La dette publique dépasse 3 400 milliards d’euros »).
date_documentNoDate de la phrase, format AAAA-MM-JJ : année de « cette année », « l’an dernier », « l’an prochain ».

Output Schema

NameRequiredDescriptionDefault
etatYes
motifNo
candidatsYes
affirmationNo
avertissementNo
regle_de_toleranceNo
proposition_rapprocheeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/closed-world annotations, it discloses the matching mechanism ('par mots et chiffres, sans IA'), its fallibility ('il peut se tromper de carte'), that no external call is made, and a subtle semantic point: the verdict attached to a card judges that card, not the user's sentence. These are non-obvious behaviors an agent needs.

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?

The purpose is front-loaded and every sentence carries information (statuses, card fields, comparison fields, caveats). It is dense but a single long paragraph; some return-value detail overlaps with the output schema, which costs a bit of efficiency.

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?

For a tool with three parameters, an output schema, and full annotation coverage, the description covers purpose, output statuses, comparison semantics, and the key failure-mode interpretation. It is essentially complete, though it re-enumerates return fields already present in the output schema.

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 coverage is 100%, so the schema already documents affirmation, date_document, and max (including the 1–5 range and default of 3). The description restates the 1000-character limit and default card count but adds no new syntax or format guidance beyond what the schema provides, so the baseline 3 applies.

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 first sentence states a specific verb and resource: comparing a French numeric claim (max 1000 chars) against official figures from published cards. This clearly separates it from reading tools like fastcheck_lire_carte or fastcheck_lire_source, which merely fetch content.

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?

It gives clear applicability context: numeric claims only, and an explicit exclusion ('Les comptes propres d'un établissement ne sont jamais rapprochés'), plus a clarifying note that pas_de_donnee means no comparable data rather than 'false'. It does not, however, name a sibling alternative for non-numeric claims (e.g. document verification).

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