Skip to main content
Glama

Oblio MCP by usefulapi

Send an invoice to e-Factura (SPV)

oblio_send_einvoice_to_spv
Destructive

SEND an issued invoice to ANAF e-Factura (SPV). Irreversible: a document accepted by ANAF cannot be withdrawn from this API. Needs confirm: true and the user's approval. Not retried: check the status with oblio_list_invoices (with_einvoice_status) before repeating. Returns text, sent and a code (-1 not sent, 2 errors, 0 processing, 1 sent). POST /api/docs/einvoice.

Input Schema

NameRequiredDescriptionDefault
cifYesCIF of YOUR company in Oblio (from oblio_list_companies), for example RO37311090.
numberYesDocument number within the series, digits only (0055 and 55 are the same).
confirmNoMust be true. Set it only after the user has confirmed this exact action in this conversation.
series_nameYesDocument series name (from oblio_list_series), for example FCT.

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?

Goes well beyond the annotations: it discloses irreversibility (an accepted document cannot be withdrawn), that the operation is not retried, the confirmation requirement, and the meaning of each return code (-1/0/1/2). The annotations only flag destructive/non-idempotent; the description explains the practical consequences.

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?

Dense but zero-waste: purpose, irreversibility warning, prerequisite, retry guidance, and return codes are all front-loaded in four short sentences. Every clause carries actionable information.

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?

With no output schema, the description compensates by explaining the return payload (text, sent, and the code values). Combined with the endpoint and safety caveats, an agent has everything needed to call and interpret this tool correctly.

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 description coverage is 100%, so cif, number, series_name and confirm are already fully documented in the schema. The description restates the confirm requirement but adds no syntax or format detail beyond the schema, so the baseline 3 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 verb (SEND) and resource (issued invoice to ANAF e-Factura/SPV), plus the underlying endpoint POST /api/docs/einvoice. It is clearly distinguishable from siblings like oblio_issue_invoice or oblio_cancel_document.

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

Usage Guidelines5/5

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

Explicitly states the precondition (confirm: true plus the user's approval), the when-not-to-retry rule, and names the alternative oblio_list_invoices with with_einvoice_status for checking status before repeating. Nothing about routing 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.