Skip to main content
Glama

Calculate corporation tax

calculate_corporation_tax
Read-only

Calculate UK corporation tax on a company's taxable profit for a tax year, including marginal relief between the small profits and main rates, with profit after tax and the effective rate.

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": {
      "taxableProfit": "<taxableProfit>"
    },
    "name": "calculate_corporation_tax"
  }
}

Input Schema

NameRequiredDescriptionDefault
taxYearNoUK tax year, e.g. "2026-27". Defaults to the current one.
taxableProfitYesCompany's taxable profit for the year

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds real context beyond that: it discloses the computation includes marginal relief and that results include profit after tax and the effective rate, which tells the agent what behavior and outputs to expect from a pure calculator.

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 dense sentence that front-loads the core action and appends the computational nuance and outputs. No filler, no repetition of the title or schema.

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 two-parameter, read-only calculator with no output schema, the description does the important work of naming the returned values (profit after tax, effective rate), which compensates for the absent output schema. Minor gaps remain around edge cases and rounding, but nothing essential to invoking it correctly is missing.

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%, with both taxableProfit and taxYear fully documented in the schema including the enum of tax years and default behavior. The description adds no additional parameter semantics (e.g. currency, rounding, or boundary behavior near the marginal relief thresholds), so the baseline 3 applies.

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 names a specific verb (Calculate), a precise resource (UK corporation tax on a company's taxable profit for a tax year), and the calculation logic (marginal relief between small profits and main rates). This cleanly separates it from the many sibling tax calculators such as calculate_dividend_tax, calculate_vat, and calculate_capital_gains_tax.

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 only implied: the phrase 'on a company's taxable profit for a tax year' signals the applicable scenario, but there is no explicit when-to-use, when-not-to-use, or pointer to sibling tools like calculate_dividend_tax or compare_limited_company_and_sole_trader. Adequate but with a clear gap.

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.