Skip to main content
Glama

Look up the tax that applies in a country

get_tax_rule
Read-onlyIdempotent

The published rate, its name, the currency, and the source it was read from, for any of 195 countries. Some countries have no single national rate — the United States is one — and those are reported as needing a jurisdiction rather than given a made-up number.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
regionNoCanadian province or territory code (for example QC, ON). Only accepted when country is CA.
countryYesTwo-letter ISO country code of the place of supply, for example KR, JP, DE, GB.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteYes
regionYes
sourceYesWhere the rate was read from, and when. Null where no official source was verified.
statusYesHow far the rate can be relied on, for example standard-rate-estimate or jurisdiction-required.
taxNameYes
taxRateYesCombined rate as a fraction, for example 0.1 for 10%. Null where the country has no single rate.
currencyYes
checkedOnYes
componentsYes
reviewedOnYes
countryCodeYes
effectiveFromYes
reviewReasonsYes
currencyDigitsYes
calculationAvailableYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, so safety is covered. The description adds behavioral context beyond annotations: it discloses that the tool does not fabricate a rate for countries without a national rate, instead reporting a jurisdiction requirement. This is a meaningful, non-obvious behavior that an agent must know before calling.

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?

The description is two sentences with no filler. The primary output is front-loaded, and the exception is stated clearly and concisely. Every word earns its place, making it easy for an agent to parse quickly.

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

Completeness5/5

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

For a tool with only two parameters (one required) and an output schema, the description is complete. It covers the core behavior, the special case, and the return fields. An agent has all necessary information to call it correctly and interpret the result, with no missing details about prerequisites or response format.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so both parameters are already documented. The description adds value by explaining the semantic nuance of the 'country' parameter: for certain countries (e.g., US), the tool will report a jurisdiction need rather than a numeric rate. This enriches the agent's understanding of how to interpret the response, going beyond the schema's basic format.

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 states a specific verb ('look up') and resource ('tax rule'), and details exactly what is returned: published rate, name, currency, and source, across 195 countries. It also clarifies the special case of countries without a national rate (like the US), which further defines scope. It is clearly distinct from siblings like build_document or calculate_totals.

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?

The description implies when to use this tool (when you need tax information for a country) and provides a crucial usage caveat: for countries like the US, no single rate is returned; instead, the result indicates a jurisdiction is needed. It does not explicitly name alternative tools, but the sibling list makes the distinction obvious, and the caveat effectively guides the agent on expectations.

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.