Skip to main content
Glama

TapTax

Check a PAYE tax code

check_tax_code
Read-only

Check whether a UK PAYE tax code (e.g. 1257L, BR, K475, 1257L W1/M1) looks right for a salary and circumstances, explain what it means, and estimate any over- or under-payment. Flat-rate codes (BR, D0, D1) are only judged when hasMultipleJobs is known; without it the verdict is needs_info. Returns a verdict tier; refund figures are estimates, not amounts owed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taxCodeYesThe code as printed on a payslip or P45
taxYearNoTax year the code applies to; defaults to the current one
scotlandNoTrue for a Scottish taxpayer
grossSalaryYesAnnual gross pay from this job, in pounds
monthsOnCodeNoFor emergency codes: how many monthly payslips were paid on it so far
hasCompanyCarNo
hasMultipleJobsNoWhether the person has another job or pension; omitted when unknown
hasPrivateMedicalNo
hasMarriageAllowanceNo
receivesStatePensionNo
marriageAllowanceDirectionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, openWorldHint=false, destructiveHint=false), so the description correctly focuses on behavior the annotations cannot express: a verdict-tier output, the needs_info fallback when hasMultipleJobs is absent, and the caveat that refund figures are estimates rather than amounts owed. It does not describe the full shape of the verdict or its other fields.

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?

Three dense sentences, front-loaded with the core purpose before the edge-case rule and the estimate caveat. Every sentence carries information, though the middle sentence is packed and could be split for scanability.

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 11 parameters, no output schema, and no annotations covering inputs, the description leaves significant ground uncovered: it never explains the purpose of the many circumstance flags or how taxYear/scotland/monthsOnCode affect the result, and it only gestures at the return structure via 'verdict tier'. Adequate for the core case, incomplete for a tool of this parameter complexity.

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 55% across 11 parameters, so the schema documents roughly half. The description adds real value by giving concrete tax-code formats (1257L, BR, K475, 1257L W1/M1) and by explaining the role of hasMultipleJobs, but it is silent on the many boolean circumstance flags (hasCompanyCar, hasPrivateMedical, hasMarriageAllowance, receivesStatePension, scotland, monthsOnCode) that materially change the verdict.

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?

States a specific verb (check) and resource (UK PAYE tax code), plus the three things it does: validate, explain, and estimate over/under-payment. Sibling tools are all invoicing/transaction/mileage oriented, so this tool is unambiguously distinguishable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit conditional rule for a hard case: flat-rate codes (BR, D0, D1) are only judged when hasMultipleJobs is known, otherwise the verdict is needs_info. That tells the agent when the tool can and cannot give a real answer. It does not name alternative tools or state broader when-not conditions, so it falls short of a 5.

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.

Resources