Skip to main content
Glama

calculate es tax sanction

calculate_es_tax_sanction
Read-onlyIdempotent

Spanish tax penalty for unpaid tax (LGT art. 191): minor 50%, serious 50-100%, very serious 100-150% of the base, with reductions of 65% (agreement) or 30% (conformity) and a further 40% for paying without appeal (LGT art. 188). Spain, as of 2026-11-21 (BOE consolidated texts, AEAT and Seguridad Social). General information and estimates only; no personalised advice, representation or filing. Unverified 2026 values (reduced autónomo quota, 7% hard-to-justify expenses, 2026 late-payment interest rate, regional scales, 2027 calendar) are flagged, not assumed.

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": {
      "base": "<base>",
      "gravedad": "<gravedad>"
    },
    "name": "calculate_es_tax_sanction"
  }
}

Input Schema

NameRequiredDescriptionDefault
baseYesPenalty base: unpaid tax (EUR)
prontoNoPays in the voluntary period without appealing
acuerdoNoReduction for agreement or conformity
gravedadYesClassification

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered; the description goes well beyond them by naming the legal basis, jurisdiction (Spain), as-of date (2026-11-21), and source corpus (BOE, AEAT, Seguridad Social). It also discloses a meaningful behavioral trait: unverified 2026 figures are flagged rather than assumed. Minor gap: nothing about return format or rounding/currency of the computed sanction.

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?

Front-loaded with purpose and rate structure, then jurisdiction, as-of date, and disclaimers. Single dense paragraph with no filler sentences, though the rate arithmetic sits close to being output documentation rather than selection guidance.

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 read-only 4-parameter estimator with no output schema, the definition supplies jurisdiction, legal basis, date-stamp, reduction logic, and an explicit unknown-handling policy, which is close to sufficient for correct invocation. Gaps: no explanation of how the returned figure is structured or whether reduction inputs can be combined.

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 coverage is 100%, so all four parameters are already documented (base, pronto, acuerdo, gravedad). The description nevertheless adds interpretable meaning the schema lacks: gravedad levels map to 50%/50-100%/100-150% brackets, and acuerdo vs pronto map to the 65%/30% and further 40% reductions. It does not state precedence when reductions overlap, but the added semantic value is real.

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?

States a specific resource with legal anchoring: 'Spanish tax penalty for unpaid tax (LGT art. 191)', plus the exact rate brackets. The art. 191 reference implicitly separates it from the recargo/late-filing sibling, but no sibling is named explicitly, so differentiation still relies on the agent knowing Spanish tax law.

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?

Contains no when-to-use or when-not-to-use guidance and never names an alternative (e.g. calculate_es_late_filing_surcharge, calculate_es_appeal_deadlines). The only guidance-like text is a legal disclaimer ('General information and estimates only; no personalised advice, representation or filing'), which constrains liability rather than routing the agent.

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.