Skip to main content
Glama
mcp-pymes-es

mcp-pymes-es

by sjmillon

verifactu_plazo

Read-onlyIdempotent

Determines which Verifactu and mandatory e-invoicing deadline applies to a Spanish SME based on its taxpayer profile, SII status, turnover, and fiscal domicile.

Instructions

Indica qué plazo de Verifactu y de factura electrónica obligatoria aplica a una pyme según su perfil.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tipo_contribuyente": "<tipo_contribuyente>"
    },
    "name": "verifactu_plazo"
  }
}

Input Schema

NameRequiredDescriptionDefault
usa_siiNoTrue si ya presenta el SII (Suministro Inmediato de Información).
domicilio_fiscalNoProvincia o territorio del domicilio fiscal (País Vasco y Navarra tienen normativa foral).
fecha_referenciaNoFecha desde la que contar los días restantes (AAAA-MM-DD). Vacío = hoy.
tipo_contribuyenteYes'sociedad' (SL, SA... del Impuesto sobre Sociedades), 'autonomo' (persona física) o 'entidad_atribucion_rentas' (CB, sociedad civil).
volumen_operaciones_eurNoVolumen de operaciones a efectos de IVA del año anterior, en euros (decide si pasa de 8 millones).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=true, so safety and repeatability are covered, and an output schema means return values need no explanation. The description adds only that the result is derived from the taxpayer profile, without noting anything about foral regimes or the SII exclusion beyond what the schema parameters already imply.

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?

A single front-loaded sentence with no filler: verb, resource and deciding factor all appear immediately. Nothing could be removed without losing meaning.

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 a rich 5-parameter schema at 100% coverage, full annotations and an output schema, the description only needs to convey purpose and it does so. A brief note on how it differs from verifactu_info would close the remaining gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already explains tipo_contribuyente, usa_sii, domicilio_fiscal, fecha_referencia and volumen_operaciones_eur in detail. The description reinforces the framing with 'según su perfil', tying the parameters together as a profile, but adds no new syntax or format meaning beyond the schema.

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?

Names a specific resource (Verifactu and mandatory e-invoicing deadlines) and a specific output (which plazo applies to a pyme), with the profile-based selection made explicit. An agent can distinguish this from verifactu_info, which reads as general reference information, but the description does not explicitly state the contrast.

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?

Usage is strongly implied: ask this when you need the applicable deadline for a taxpayer profile. However, there is no explicit statement of when to prefer it over verifactu_info, no prerequisites, and no exclusions (for example, what to do for non-pyme taxpayers such as large companies).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.