Skip to main content
Glama
cmendezs

mcp-facturacion-electronica-es

es__cancel_verifactu_record

Cancel a VERI*FACTU invoice record by generating an annulment entry linked to the existing hash chain using original invoice details and previous record hash.

Instructions

Genera un registro de anulacion VERI*FACTU (TipoHuella=01) encadenado a la secuencia de huellas actual.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
issuer_nifYesNIF del emisor.
issuer_nameYesNombre/razon social del emisor.
previous_hashYesHuella del ultimo registro en la cadena.
previous_fechaNoFechaExpedicionFactura del registro anterior en DD-MM-YYYY.
previous_num_serieNoNumSerieFactura del registro anterior.
previous_emisor_nifNoNIF del emisor del registro anterior (IDEmisorFactura en EncadenamientoFacturaAnteriorType).
original_invoice_dateYesFechaExpedicionFactura original (YYYY-MM-DD).
original_invoice_numberYesNumSerieFactura a anular.
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It states the operation is a cancellation and mentions chaining, but does not disclose important behavioral traits such as whether cancellations are reversible, what happens to the original record, or any authentication or permission requirements.

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?

The description is a single, concise sentence that efficiently conveys the core purpose without waste. It is front-loaded but could be slightly more structured.

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

Completeness2/5

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

Despite having 8 parameters (5 required) and no output schema or annotations, the description is minimal. It does not explain return values, prerequisites (e.g., existence of a previous record to cancel), or how it integrates with the overall workflow, leaving gaps for an agent.

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 each parameter is documented in the schema. The tool description adds no extra meaning beyond what the schema already provides, resulting in a baseline score of 3.

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 it generates a VERI*FACTU cancellation record with a specific fingerprint type (TipoHuella=01) and indicates it is chained to the current fingerprint sequence, distinguishing it from the sibling tool `es__generate_verifactu_record` which likely generates regular records.

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

Usage Guidelines2/5

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

The description does not provide guidance on when to use this tool versus alternatives, nor does it mention prerequisites or exclusions. It only describes what it does, leaving the agent to infer usage context.

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/cmendezs/mcp-facturacion-electronica-es'

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