Skip to main content
Glama

Jithox EU business checks

review_invoice

Read-onlyIdempotent

Review one structured invoice end to end and say whether it can be sent as an e-invoice. Checks the Peppol field contract, recomputes every line total and the document total, verifies the supplier and customer VAT numbers against the free EU VIES register, and builds the UBL 2.1 / Peppol BIS Billing 3.0 document. Returns findings with a concrete fix for each, plus a draft e-mail and the XML export. Reads structured invoice data only — no OCR, so PDFs and scans are refused rather than guessed at. Read-only: it never sends, files, pays or signs, and a VAT check that cannot reach the register is reported as unknown, never as a pass or a failure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNoFree-text invoice note.
linesYesInvoice lines. Totals are computed from these.
dueDateNoOptional payment due date (YYYY-MM-DD).
currencyNoISO 4217 currency code (uppercase). Defaults to EUR.EUR
customerYesBuyer / accounting customer party.
supplierYesSeller / accounting supplier party.
issueDateYesIssue date (YYYY-MM-DD).
invoiceNumberYesHuman-readable invoice number, e.g. "INV-2026-0001".
buyerReferenceNoBuyer reference (BT-10), e.g. a PO or cost-centre code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark it read-only, idempotent, and non-destructive, and the description adds high-value behavior beyond those flags: VIES unreachability is reported as `unknown`, PDFs/scans are refused rather than interpreted, and the tool returns findings with fixes plus draft e-mail and XML export. 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.

Conciseness5/5

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

Purpose is front-loaded, followed by checks, outputs, then constraints. Each sentence carries distinct information and none is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex 9-parameter tool with nested objects and no output schema, the description covers inputs, processing, outputs, constraints, and edge-case behavior. An agent has enough context to call it correctly and interpret its result.

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%, so the baseline is 3; the description adds meaning by explaining how line items (totals recomputed) and supplier/customer vatId values (checked against VIES) are used and validated. It does not explain every parameter, but the schema already does that.

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 states a precise action and object: 'Review one structured invoice end to end and say whether it can be sent as an e-invoice.' It enumerates specific checks (Peppol field contract, line/document totals, VIES VAT verification, UBL 2.1/Peppol BIS Billing 3.0 build), which separates it from siblings like format_peppol_invoice or check_peppol_ready.

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 when-not guidance: structured invoice data only, no OCR, so PDFs and scans are refused; and read-only, so it never sends or signs. It stops short of naming sibling tools to route to alternative workflows, so it lacks fully explicit alternatives.

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.