Skip to main content
Glama

Look up tax rates and rules

search_rules
Read-onlyIdempotent

Look up tax rates, thresholds and rules in one or many jurisdictions, such as 'VAT rates in MT, IE and DE', 'income tax brackets for 2025' or 'rules mentioning reverse charge'. Returns a bundled markdown rule set plus each jurisdiction's official source (official_source). For one specific figure in one jurisdiction a skill is often more complete (search_skills then get_skill): a figure can sit in a skill without being a separate rule here, and then this returns related guidance instead. Entries tagged GUIDANCE are text, not values. Figures are not certified current: confirm each against official_source and prefer it when they disagree. By default returns all matching rules, each tagged with its verification status; status:'verified' excludes draft, needs_update and unsure rules; it still includes rules built from the law, so it does not mean an accountant approved them. Set facets: true to get the valid filter values instead of rules; a call that finds nothing returns valid_values for the filter that missed.

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": "search_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoFree-text search over each rule's label, value, and citation.
limitNoMax rules to return (default 200, max 500).
rolesNoSkill roles: foundation | compute | orchestrator | reference.
topicNoFilter by a fact topic.
facetsNotrue = return the valid filter values (jurisdictions, domains, roles, rule kinds, statuses, tax years, sample topics) instead of rules. Other arguments are ignored.
offsetNoPagination offset — pass the previous response's next_offset.
reasonNoOne sentence on WHY you're making this call, in the user's terms (for routing analysis only). Optional.
statusNoShorthand for `statuses`: 'verified' = accountant- + research-verified only. Default 'all'.
domainsNoAccounting domains, e.g. ['vat-gst','income-tax']. facets: true lists them.
statusesNoVerification statuses to include. Default = all (each rule is tagged).
tax_yearNoLimit to a tax year, e.g. 2025.
block_typesNoRule kinds to include. Default = all of these (framing prose + workflow steps are excluded).
jurisdictionsNoISO codes to include, e.g. ['MT','US-CA']. Omit for all jurisdictions.

Output Schema

NameRequiredDescriptionDefault
totalNoTotal matching rules (across all pages).
filtersNofacets: true only: each filter with its valid values.
defaultsNofacets: true only: what each filter defaults to.
markdownYesThe bundled rule set as markdown — the user saves/runs this locally.
truncatedNo
fact_countYesRules returned on this page.
next_actionNo
next_offsetNo
valid_valuesNoOn a miss: the valid values for the filter that missed (e.g. jurisdiction codes).
jurisdictionsNo
accountant_verified_countNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / domains / description
      Previous value: -"Accounting domains, e.g. ['vat-gst','income-tax']. See list_rule_facets."New value: +"Accounting domains, e.g. ['vat-gst','income-tax']. facets: true lists them."
    • addedInput schema / properties / facets
      Added value: +{
      +  "description": "true = return the valid filter values (jurisdictions, domains, roles, rule kinds, statuses, tax years, sample topics) instead of rules. Other arguments are ignored.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / defaults
      Added value: +{
      +  "description": "facets: true only: what each filter defaults to.",
      +  "type": "object"
      +}
    • addedOutput schema / properties / filters
      Added value: +{
      +  "description": "facets: true only: each filter with its valid values.",
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / valid_values
      Added value: +{
      +  "description": "On a miss: the valid values for the filter that missed (e.g. jurisdiction codes).",
      +  "items": {
      +    "properties": {
      +      "field": {
      +        "type": "string"
      +      },
      +      "values": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "field",
      +      "values"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / reason
      Added value: +{
      +  "description": "One sentence on WHY you're making this call, in the user's terms (for routing analysis only). Optional.",
      +  "type": "string"
      +}
  3. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), and the description adds substantial context beyond them: return shape (bundled markdown plus official_source), that GUIDANCE entries are prose not values, that figures are uncertified and official_source wins on conflict, and that a zero-result call returns valid_values. The clarification that 'verified' still includes law-derived rules is exactly the kind of caveat annotations cannot carry.

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 purpose and routing before the caveats, and nearly every sentence carries information an agent needs. A few passages are dense and nested (the skill/figure exposition could be a single clause), which costs it the top score.

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 13-parameter, multi-mode search tool with an output schema, the description covers routing, return composition, verification caveats, facet mode, and empty-result behavior — no decision-relevant gap remains.

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; the description adds real meaning for the two highest-risk parameters — the default all-rules behavior with per-rule status tags, and the precise semantics of status:'verified'. It says less about text/limit/offset, but those are already well documented in the schema.

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 and resource ("look up tax rates, thresholds and rules") plus scope (one or many jurisdictions) and gives three concrete query examples. It also explicitly routes away from itself for the single-figure case, so an agent can distinguish it from search_skills/get_skill without opening a schema.

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?

Explicitly names the alternative path (search_skills then get_skill) and the condition that selects it — one specific figure in one jurisdiction. It also specifies when to use facets:true (to get filter values rather than rules) and what status:'verified' does and does not mean.

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.