Skip to main content
Glama

lookup_tax_rate

Read-only

Pick a single statutory tax-rate slab — either by exact id (e.g. IN-standard-18, GB-zero-0, CA-hst-13-on) for a deterministic lookup, or by country + free-text category (e.g. "office supplies", "restaurant", "exports", "domestic fuel") for a fuzzy best-match. Returns the matched rate, the match score, and the authoritative source URL. Use this when a user asks "what slab does X fall into in India?" or "what VAT rate applies to children's car seats?". For broader exploration (all slabs in a country / all rates of one scheme), use list_tax_rates. No customer data — public statutory reference only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "lookup_tax_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoExact rate id, e.g. ``IN-standard-18`` or ``GB-zero-0``. When set, country/category are ignored.
countryNoCountry to search within. Required when ``id`` is not provided.
categoryNoFree-text query — "office supplies", "restaurant", "exports", "domestic fuel".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=true, openWorldHint=false), and the description adds meaningful context: deterministic vs fuzzy best-match behavior, that a match score is returned, and that the data is public statutory reference with no customer data. It does not say what happens when no slab matches, which is the main remaining gap for a fuzzy-matching tool.

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?

Front-loaded with the core choice between exact id and fuzzy country+category, followed by return values, usage examples, and the sibling alternative. Dense but every sentence carries information; the two illustrative user questions are slightly redundant but earn their place as disambiguation.

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 no output schema, the description correctly discloses the return payload (matched rate, match score, source URL). For a 3-parameter read-only lookup this is nearly complete; only the no-match/failure behavior is unaddressed.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning: concrete id formats (IN-standard-18, GB-zero-0, CA-hst-13-on), the semantics of country+category as a fuzzy best-match rather than exact filter, and realistic category phrasings. This goes beyond the schema's terse field descriptions.

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?

Opens with a specific verb+resource ('Pick a single statutory tax-rate slab') and immediately splits the two lookup modes by name. It is clearly distinguishable from the sibling list_tax_rates, which is named as the enumeration tool.

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

Usage Guidelines5/5

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

States when to use it with concrete user-question examples ('what slab does X fall into in India?'), and explicitly routes broader exploration to list_tax_rates. Both the positive case and the exclusion are present.

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