Skip to main content
Glama

Irish Tax Hub

Get Calculator Schema

get_calculator_schema
Read-only

Get the JSON Schema for a specific tax calculator.

Returns input fields, types, defaults, and constraints. Use before calling calculate_tax if you need to know what fields are required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
calculator_nameYesThe calculator to get the schema for.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNo
requiredNo
propertiesNo
x-irish-tax-hub-attributionYesSource attribution and a link back to Irish Tax Hub.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/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 openWorldHint=false, so the safety profile is covered. The description adds that the tool is a discovery step preceding calculate_tax, which is useful sequencing context, but discloses nothing about auth, rate limits, or failure modes. With annotations carrying the burden, a 3 is appropriate.

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?

Three short sentences, each earning its place: what it returns, what the payload contains, and when to call it. The usage directive is front-loaded enough to be read first.

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?

An output schema exists, so return-value documentation is not strictly required, yet the description still summarizes the payload (fields, types, defaults, constraints). Combined with the sequencing guidance versus calculate_tax, the definition is complete for straightforward invocation.

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 coverage is 100% with a single enum parameter whose description ('The calculator to get the schema for') and 20 allowed values are fully documented in the schema. The description adds no syntax or selection guidance beyond 'specific tax calculator', 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?

The description states a specific verb and resource ('Get the JSON Schema for a specific tax calculator') and clarifies scope with 'specific', which distinguishes it from the sibling list_calculators. It also ties itself to calculate_tax, though the differentiation from the listing tool is left implicit rather than stated.

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?

It gives explicit when-to-use guidance: 'Use before calling `calculate_tax` if you need to know what fields are required.' That names the sibling and the triggering condition. It does not state when NOT to use it (e.g., when field requirements are already known).

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