Skip to main content
Glama
cmendezs

mcp-facturacion-electronica-es

es__detect_regional_regime

Identify the applicable Spanish electronic invoicing regime (VERIFACTU, TicketBAI, NATicket, or VERIFACTU+SII) using a two-digit INE province code and SII enrollment status. Use before other invoicing tools.

Instructions

Detecta el régimen de facturación electrónica aplicable a partir del código de provincia INE de dos dígitos. Devuelve VERIFACTU, TICKETBAI, NATICKET o VERIFACTU+SII. Usar siempre antes de llamar a cualquier otra herramienta de este servidor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
province_codeYesCódigo de provincia INE de dos dígitos (p. ej., '28', '01', '31').
enrolled_in_siiNoInscripción en el SII (por defecto: false).
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 fails to disclose any behavioral traits such as side effects, state changes, auth requirements, or error handling. It only states the output values.

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: first explains purpose and output, second gives explicit usage instruction. No redundant or unnecessary 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?

For a simple detection tool with clear outputs and a prerequisite role, the description is largely adequate. However, it lacks any mention of return format or error conditions, which would be helpful for completeness.

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 the baseline is 3. The description adds no extra parameter semantics beyond what is already in the schema; it merely restates the province code format briefly.

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 the tool detects the applicable electronic invoicing regime from a province code, and lists the possible return values. It also positions itself as a prerequisite before other tools, distinguishing it from sibling tools.

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?

Explicitly instructs to use this tool before calling any other tool on the server, providing clear context. No when-not-to-use or alternatives are mentioned, but the mandatory nature is clear.

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