Skip to main content
Glama
cmendezs

mcp-facturacion-electronica-es

es__check_b2b_mandate_applicability

Identify the applicable Spanish B2B electronic invoicing mandate (VERI*FACTU, SII, TicketBAI, NaTicket) using annual turnover, province code, SII enrollment, and entity type, applying Real Decreto 254/2025.

Instructions

Determina el régimen de facturación electrónica aplicable (VERI*FACTU, SII, TicketBAI, NaTicket) a partir del volumen de operaciones, código de provincia y enrolamiento en SII. Aplica la lógica de exclusión mutua del Real Decreto 254/2025.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
annual_turnover_eurYesVolumen anual de operaciones IVA en EUR.
tax_address_province_codeYesCódigo de provincia INE de dos dígitos.
enrolled_in_siiNoInscripción en el SII (por defecto: false).
entity_typeNoTipo de obligado: 'IS' (Sociedades) o 'IRPF'.
Behavior3/5

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

No annotations provided; description implies read-only check via 'determina', but does not explicitly state non-destructive behavior or disclose side effects, permissions, or error handling.

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 with front-loaded purpose and key inputs. Second sentence adds legal context. No redundancy.

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?

Missing return value description despite no output schema. Does not specify output format (e.g., regime name string). Could mention that it handles ambiguous cases or errors.

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 description adds little beyond the schema. The description mentions inputs but no additional semantics for individual parameters.

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?

Clear verb 'Determina' with specific resource 'régimen de facturación electrónica' and explicit regimes. Distinguishes from sibling tools focused on generation/submission.

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 a prerequisite for other e-invoicing tools, but no explicit when-to-use or alternatives. The description's reference to mutual exclusion logic gives context for decision-making.

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