Skip to main content
Glama

e-Factura Validator (Romania)

validate_saft_free

Read-only

Use before filing a Romanian SAF-T (D406) with ANAF, or when ANAF's DUKIntegrator reported errors: same check as validate_saft, free: 1 file(s) per day per client IP, report limited to the first 10 findings (the total count is given).

Input Schema

NameRequiredDescriptionDefault
xmlYesThe SAF-T D406 XML file content, as text (up to 25 MB here; bigger files: HTTP POST /v1/saft/validate, up to 100 MB)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / xml / examples
      Added value: +[
      +  "<AuditFile xmlns=\"mfp:anaf:dgti:d406:declaratie:v1\">…</AuditFile>"
      +]
  2. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover safety (readOnlyHint true, destructive false), so the description correctly spends its words on the non-obvious traits: a hard quota of one file per day per client IP and a report truncated to the first 10 findings with the total count still returned. Those are exactly the behaviors that change how an agent plans a call, and they are stated plainly.

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?

One dense sentence front-loads the use case before the quota and output limits, and every clause carries information. Slightly run-on with its colons and parenthetical, but nothing is wasted.

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 single-parameter, read-only, quota-limited checker this covers the essentials: eligibility, frequency limit, and what the report contains. Output schema is absent, and the description adequately signals the return shape (findings plus total count) without needing to enumerate it.

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?

The single parameter is fully documented in the schema (content, 25 MB ceiling, and the HTTP POST endpoint for files up to 100 MB). The description adds no meaning beyond that, so the baseline 3 for high schema coverage 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?

States a specific resource (Romanian SAF-T / D406 XML) and a specific action (the same check as validate_saft), and explicitly positions itself relative to its sibling as the free tier. An agent can distinguish it from validate_saft 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 Guidelines4/5

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

Gives explicit trigger conditions: 'Use before filing ... or when ANAF's DUKIntegrator reported errors'. The 1-file-per-day-per-IP quota and the reference to validate_saft imply when to fall back to the paid variant, but that hand-off (larger volume, more than 10 findings) is left to inference rather than stated.

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