Skip to main content
Glama
hernaninverso

eleata e-invoice MCP server

validate_einvoice

Validate EU electronic invoices against official Schematron rules. Returns validity status, rule IDs, plain-English explanations, and suggested fixes for violations.

Instructions

Validate an EU electronic invoice against the official Schematron rules (Peppol BIS 3.0, EN 16931 UBL/CII, XRechnung 3.0.x, Factur-X/ZUGFeRD, UBL, CII). Returns whether it is valid and, for each violation, the rule id, a plain-English explanation and a suggested fix. Use this before a developer ships or transmits an invoice so a rejection (an SdI scarto, a Chorus Pro refusal, a KSeF error) is caught early. Requires EINVOICE_API_KEY (a free key from https://eleata.io/signup/).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNoFormat hint. Default: auto (the server sniffs XML vs PDF and the profile).auto
is_pdfNoSet true if `content` is a base64-encoded PDF (Factur-X/ZUGFeRD). Default false.
contentYesThe invoice to validate. For XML formats, the raw XML text. For a Factur-X / ZUGFeRD PDF, the base64-encoded PDF bytes (set is_pdf=true).
Behavior4/5

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

With no annotations, the description carries full burden. It discloses the validation behavior, return value structure, and authentication requirement. It does not mention side effects, rate limits, or cost, but for a read-only validation tool this is acceptable.

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 with no wasted words. It front-loads the core validation action and output, then usage guidance, then authentication. Every sentence adds value.

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?

Given no output schema, the description adequately explains returns. All parameters are documented, and authentication is covered. It lacks detail on error handling or response format specifics, but overall sufficient for a validation tool.

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% with good descriptions. The main description adds overall purpose but does not significantly enhance parameter meaning beyond the schema descriptions. The API key is mentioned as an external requirement.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool validates EU electronic invoices against multiple official standards, and lists what it returns (validity and violation details). However, it could better distinguish from sibling tool explain_error_code, which likely serves a complementary role.

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 explicitly says to use before shipping or transmitting invoices to catch rejections early, and notes the required API key. It does not discuss when not to use or explicitly compare to sibling tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hernaninverso/eleata-einvoice-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server