Skip to main content
Glama

Get RO e-Factura XML

get_efactura_xml
Read-only

The RO e-Factura XML (UBL 2.1, CIUS-RO 1.0.1) for one of the seller's invoices, or the list of missing data to fix first. validate=true also runs ANAF's public validator on the XML. Billify does not upload to SPV here: the seller uploads the file (or exports a period from the Accounting page).

Input Schema

NameRequiredDescriptionDefault
validateNoalso check the XML with ANAF's validator
invoice_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint; the description goes further by disclosing that the tool can return a missing-data list instead of XML, that validate triggers an external ANAF validator call, and that no SPV upload side effect occurs. It does not mention validator latency or failure modes when ANAF is unreachable.

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?

Three sentences, front-loaded with what is returned, then the flag semantics, then the workflow constraint. Each sentence carries distinct, non-redundant information.

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?

With no output schema, the description carries the return-value burden and does so (XML document or missing-data list). It leaves open how the XML is delivered (inline string vs. download) and how invalid invoice_id is reported, minor gaps for a read-only 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?

At 50% schema coverage, invoice_id has no schema description at all; the description only implies it must be one of the seller's invoices. The validate flag is well covered ('also runs ANAF's public validator'), matching the schema text, so the gap is mostly on the required parameter.

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?

States a specific resource — the RO e-Factura XML in UBL 2.1 / CIUS-RO 1.0.1 — for a single seller invoice, plus the alternate return of a missing-data list. That format specificity clearly separates it from get_invoice and get_invoice_passport, though no sibling is named.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The validate flag's use and the workflow boundary ('Billify does not upload to SPV here: the seller uploads the file') are stated, which prevents a wrong assumption. However, it never says when to reach for this versus get_invoice or get_invoice_passport, so selection among siblings is left to inference.

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