Skip to main content
Glama

calculate es corporate tax

calculate_es_corporate_tax
Read-onlyIdempotent

National corporate income tax on a taxable profit in Spain (25%; 2026 periods: micro 19/21%, reduced size 23%, new 15%), 2026 statutory rates. Local and surcharge taxes not read are not included and are named in the result. General information only: not tax advice, no filing, as of 2026-11-22.

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": {
      "profit": "<profit>"
    },
    "name": "calculate_es_corporate_tax"
  }
}

Input Schema

NameRequiredDescriptionDefault
frSmeNoFR: turnover ≤ €10m and ≥ 75% held by individuals
esKindNoES: type of company
monthsNoUK: accounting period in months (1-12)
profitYesTaxable profit
hebesatzNoDE: Gewerbesteuer Hebesatz in %
associatedNoUK: number of associated companies
excludedSmeNoJP: 適用除外事業者
smallCapitalNoJP: capital ¥100 million or less
distributionsNoUK: exempt distributions received

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 cover read-only, idempotent, closed-world behavior, so the bar is lower. The description still adds real context: the rate regime and period, that unread local/surcharge taxes are excluded but named in the result, an as-of date, and an explicit 'not tax advice / no filing' liability caveat.

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?

One dense sentence front-loads the purpose and headline rate, followed by scope exclusions and disclaimers. Nothing is obviously padding, though the packed parenthetical of rates is harder to parse than a short structured list would be.

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

Completeness3/5

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

With nine parameters (mostly other-country fields) and no output schema, the description should say what the calculation returns beyond 'local and surcharge taxes are named in the result'. The disclaimer and as-of date are covered, but the return shape and the significance of the non-ES parameters are not.

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 some value by mapping esKind values to rate treatments (micro 19/21%, reduced 23%, new 15%), but this mapping is partial — the 'general' and 'patrimonial' kinds are unexplained — and the other cross-country parameters are left entirely to 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?

States a specific resource and jurisdiction: national corporate income tax on taxable profit in Spain, with the headline 25% rate and the 2026 reduced rates. The country scoping implicitly distinguishes it from the many sibling calculate_*_corporate_tax tools, though no sibling is named explicitly.

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 implied rather than stated: an agent can infer it applies to Spanish corporate profit calculations, and the note that local/surcharge taxes are excluded sets a boundary. However there is no explicit when-to-use/when-not guidance and no routing to alternatives such as calculate_es_vat or the other country tools.

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.