Skip to main content
Glama

Calculate dividend tax

calculate_dividend_tax
Read-only

Calculate UK tax on dividends for a tax year, given the dividends and other income: the dividend allowance, tax at the basic, higher and additional dividend rates, and the effective rate.

Input Schema

NameRequiredDescriptionDefault
taxYearNoUK tax year, e.g. "2026-27". Defaults to the current one.
otherIncomeNoOther taxable income, such as a salary
dividendIncomeYesDividends received in the year

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and a closed-world scope, so the safety profile is covered. The description adds useful value by disclosing the computed breakdown (allowance, the three rate bands, effective rate), but says nothing about rounding, treatment of the personal allowance, or whether Scottish rates are handled.

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?

A single front-loaded sentence that begins with the verb and packs inputs and outputs without filler. The trailing enumeration of rate bands is dense but earns its place by telling the agent what the calculation returns.

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 annotations covering safety and no output schema, the description usefully names the returned figures, which is what an agent needs to know this is a dividend-specific calculator. Minor gaps remain around edge behaviors (Scottish rates, allowance tapering), 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%, so all three parameters are already documented in the schema (including the taxYear default and enum). The description only restates 'dividends and other income' without adding format, ordering, or interaction semantics beyond the schema, so the baseline 3 applies.

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 verb+resource (calculate UK tax on dividends) and even enumerates the computed components: dividend allowance, basic/higher/additional rates, effective rate. However, it does not differentiate itself from close siblings like compare_salary_and_dividends or calculate_tax_on_multiple_incomes, which an agent could plausibly confuse it with.

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 by the input framing ('given the dividends and other income'), which signals a single-stream dividend calculation. There is no explicit when-to-use guidance and no mention of an alternative tool (e.g., compare_salary_and_dividends) for the many sibling cases where dividends are mixed with salary.

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.