Skip to main content
Glama

invoicehub

Server Details

Validate, generate & convert EU e-invoices (UBL, CII, XRechnung, Factur-X) — EN 16931 pre-validated.

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.

Tool Definition Quality

Score is being calculated. Check back soon.

Available Tools

4 tools
convert_invoiceA
Idempotent
Inspect

Convert an e-invoice between formats via the shared EN 16931 canonical model: parse the source document, re-serialize as the target, and validate the result before returning it — never a document that has not been checked. Format ids: "UBL_2.1" (OASIS UBL, the universal Peppol/EN16931 baseline), "UN_CEFACT_CII" (UN/CEFACT Cross Industry Invoice, required syntax for Chorus Pro/France and many ERP back-ends), "XRechnung_UBL" / "XRechnung_CII" (Germany's mandatory B2G format, XRechnung 3.0 — required for invoicing German public-sector buyers), "Factur-X" (France/Germany hybrid PDF+XML — a human-readable PDF/A-3 with the structured invoice embedded, common for French B2B). Binary formats (Factur-X) are base64 in both directions. Requires an API key on the Pro plan or above for any target beyond plain UBL_2.1 — call list_supported_formats to see current availability.

ParametersJSON Schema
NameRequiredDescriptionDefault
toYesTarget format id, e.g. "UN_CEFACT_CII", "XRechnung_UBL", "XRechnung_CII", or "Factur-X".
fromYesSource format id, e.g. "UBL_2.1".
documentYesThe source document: raw text for XML formats, base64 for binary formats (Factur-X).
Behavior4/5

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

Discloses validation step ('never a document that has not been checked'), aligns with idempotentHint. Also notes API key requirement for Pro plan. No contradiction with annotations.

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?

Well-structured and front-loaded with the core action. While slightly lengthy, every sentence adds value. Minor redundancy ('never a document that has not been checked') but acceptable.

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?

Covers input/process/output adequately for a conversion tool with no output schema. References sibling tool for availability. No major gaps given complexity and annotation richness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Adds significant meaning beyond input schema: explains format IDs in detail (UBL_2.1, UN_CEFACT_CII, etc.), notes base64 encoding for binary formats, and clarifies API key constraints. Schema coverage is 100%, but description enriches understanding.

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 the tool converts e-invoices between formats using the EN 16931 model, parsing, re-serializing, and validating. It distinguishes from siblings by mentioning list_supported_formats and validate_invoice implicitly through the validation step.

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?

Provides detailed format descriptions with real-world context (e.g., Germany B2G, France B2B). Mentions API key requirement and suggests calling list_supported_formats for availability. Could be more explicit about when not to use, but the context is clear.

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

generate_invoice
Idempotent
Inspect

Generate an EN 16931-conformant UBL 2.1 invoice from structured fields. The result is self-validated before being returned. Provide seller, buyer, and at least one line; for standard-rated (category "S") lines include a vatRate and the seller vatId.

ParametersJSON Schema
NameRequiredDescriptionDefault
buyerYes
linesYes
sellerYes
dueDateNo
paymentNo
currencyYesISO 4217, e.g. EUR.
issueDateYesISO date, e.g. 2026-06-19.
invoiceNumberYes
list_supported_formats
Read-onlyIdempotent
Inspect

List the e-invoice formats InvoiceHub validates today and what is on the roadmap.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

validate_invoiceA
Read-onlyIdempotent
Inspect

Validate a UBL 2.1 invoice (or credit note) XML string against the official EN 16931 Schematron. Returns whether it is valid and any failing BR-* business rules.

ParametersJSON Schema
NameRequiredDescriptionDefault
xmlYesRaw UBL 2.1 invoice XML.
Behavior4/5

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

Annotations already indicate readOnly, idempotent, non-destructive. Description adds that validation uses EN 16931 Schematron and returns failing business rules, which is useful behavioral context 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?

Two concise sentences. First sentence states purpose and input, second describes output. No superfluous words; all information is 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?

Given one parameter and no output schema, description adequately covers the return value (valid boolean + failing rules). However, the exact output format is not detailed, which might require slight inference.

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?

Single parameter with 100% schema coverage. Description adds that the XML can also be a credit note and specifies the target schematron, augmenting the schema's 'Raw UBL 2.1 invoice XML' description.

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?

Clearly states it validates a UBL 2.1 invoice XML string against a specific standard (EN 16931 Schematron). Includes mention of credit notes, distinguishing it clearly from sibling tools like convert_invoice or generate_invoice.

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?

Implicitly clear: use when you need to check invoice compliance with EU standard. No explicit when-not or alternative mentions, but sibling names are sufficiently distinct to avoid confusion.

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

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.

Resources