Skip to main content
Glama

Vérifier ma facture (Factur-X)

Vérifier la conformité Factur-X d'une facture PDF

verifier_facture
Read-onlyIdempotent

Analyse un PDF de facture et rend un rapport de conformité Factur-X en 21 critères : essentiels (PDF/A-3, XML CII intégré), stricts (règles contrôlées par les plateformes agréées françaises, dont BR-FR-05, BR-FR-08 et BR-FR-CO-05) et avancés (qualité). Fournir le PDF encodé en base64 (10 Mo maximum). L'analyse est locale et éphémère : la facture n'est ni stockée ni transmise à un tiers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pdf_base64YesLe fichier PDF de la facture, encodé en base64 (avec ou sans préfixe data:)
nom_fichierNoNom du fichier, pour l'affichage du rapport (optionnel)

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is known. The description adds valuable behavioral context: 'L'analyse est locale et éphémère : la facture n'est ni stockée ni transmise à un tiers.' It also describes the report's structure (essentiels, stricts, avancés), going beyond annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three sentences, all information-dense: purpose, criteria breakdown, input requirement, and privacy guarantee. No filler or repetition, properly front-loaded.

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?

There is no output schema, but the description outlines what the report contains (21 criteria across three categories) and covers input constraints and privacy. The sibling tool lister_criteres likely provides the full criteria list, making this description sufficiently complete for an agent to decide and invoke.

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% with both parameters described, so the baseline is 3. The description adds a key constraint (10 Mo maximum) and reinforces the base64 encoding format, providing additional semantic value beyond the schema.

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 clearly states a specific action ('Analyse un PDF de facture et rend un rapport de conformité Factur-X') and a concrete deliverable (21 criteria across three categories). This distinguishes it from the sibling tool lister_criteres, which likely only lists criteria rather than verifying a PDF.

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 explicit prerequisites: 'Fournir le PDF encodé en base64 (10 Mo maximum)' and mentions the input format. However, it does not explicitly contrast with the sibling tool lister_criteres or say when not to use this tool, though the purpose implies it for PDF 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.

TDQS

A4.4/5.0
Disambiguation5/5

The two tools have clearly distinct purposes: one lists the compliance criteria, the other performs the actual verification of a PDF. No overlap or ambiguity.

Naming Consistency5/5

Both tool names follow a consistent verb_infinitive pattern in French (lister and verifier), with clear object nouns (criteres and facture). The naming convention is uniform.

Tool Count3/5

With only two tools, the server is slightly thin, but each tool serves a distinct and necessary function for the declared purpose. The count feels borderline but acceptable for a narrow domain.

Completeness5/5

The server covers the full workflow: understanding the criteria (lister_criteres) and applying them to a specific invoice (verifier_facture). No significant gaps are apparent for the stated purpose.

Resources