Skip to main content
Glama
Australian Accounting MCP

Australian Accounting MCP

Search legislated rates and thresholds

search_tax_rates
Read-onlyIdempotent

Find Australian tax rates, thresholds, indexation and factor rows by words, topic or year, returning amounts with Act, section and compilation citations for verification.

Instructions

Search rate, threshold, indexation and factor rows in the configured corpus.

Rows come best first, a heading or topic holding the words ahead of content that does. Each row carries the amounts and years exactly as the provision states them, with the Act, section, compilation number and register page that set them. Stop words are dropped and listed in dropped_words; words of legal force such as 'must', 'may' and 'not' are kept. matches hold every remaining word as a whole word, and a modal word in its stated form. Room left on a page goes to partial_hits, ranked below every match, whose heading, topic and content hold at least 2 of the words and every word with a digit, such as a year. A modal word's opposite form counts towards the 2 but stays in missing_words, and only that gives a 2-word query partial hits: 'must lodge' offers a row saying 'must not lodge' with just 'lodge' matched. They show shared words, not an answer, so never present one as a match. year narrows to rows stating that year; rows that state no year are then left out, so drop the filter to see a rate the provision does not date. Rows from a superseded compilation are left out unless in_force_only is false; a row whose currency the corpus did not record is kept either way. Amounts are unparsed text, not a calculation: a row can be superseded, indexed elsewhere or subject to conditions the row does not carry, so confirm the operative figure against the official source. Rates the corpus builds no rows for, including any figure set outside legislation, are simply absent. Use the reviewed engines for a calculation.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_tax_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoOptional year exactly as the provision states it, such as '2026-27'; only rows whose stated years include it are returned.
limitNoMaximum rows per page.
queryYesWords to find together in one rate or threshold row, or a plain question, case-insensitive.
topicNoOptional words the corpus topic must contain, such as 'superannuation' or 'capital gains'.
offsetNoContinue with next_offset using the same query and unchanged corpus. A page can omit next_offset while has_more is true at the 10000-result boundary; narrow the query instead.
in_force_onlyNoLeave out rows from a compilation the corpus marks as superseded. Set false to see them too; each then carries a caveat.

Output Schema

NameRequiredDescriptionDefault
corpusYesCorpus-level source, retrieval date and licence terms from the operator's configured corpus; empty when the corpus ships no manifest.
noticeYes
matchesYesRows holding every query word other than dropped_words.
has_moreYes
next_offsetYes
partial_hitsYesRows whose heading, topic and content hold at least 2 of the words and every word with a digit, but not all the words, ranked below every match. A modal word's opposite form counts towards the 2 but stays in missing_words, so matched_words can hold fewer than 2 words. Never present one as a match.
dropped_wordsYesStop words left out of the query before searching; matches need not hold them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv0.1.23
    • addedInput schema / properties / in_force_only
      Added value: +{
      +  "default": true,
      +  "description": "Leave out rows from a compilation the corpus marks as superseded. Set false to see them too; each then carries a caveat.",
      +  "title": "In Force Only",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / query / description
      Previous value: -"Words to find together in one rate or threshold row, case-insensitive."New value: +"Words to find together in one rate or threshold row, or a plain question, case-insensitive."
    • addedOutput schema / $defs / PartialRateHit
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "A rate row holding only some of the query's words, which is not a match.",
      +  "properties": {
      +    "act": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Act"
      +    },
      +    "amounts": {
      +      "description": "Amounts as they appear in the provision, unparsed.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "title": "Amounts",
      +      "type": "array"
      +    },
      +    "caveats": {
      +      "description": "Limitations to retain when presenting the result.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "title": "Caveats",
      +      "type": "array"
      +    },
      +    "collection": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Collection"
      +    },
      +    "compilation_date": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Compilation Date"
      +    },
      +    "compilation_number": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Compilation Number"
      +    },
      +    "content": {
      +      "title": "Content",
      +      "type": "string"
      +    },
      +    "heading": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Heading"
      +    },
      +    "kind": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Kind"
      +    },
      +    "match": {
      +      "const": "partial",
      +      "description": "Holds at least 2 of the query's words but not all, a modal word's opposite form counting towards the 2: not a match.",
      +      "title": "Match",
      +      "type": "string"
      +    },
      +    "matched_words": {
      +      "description": "The query words this row holds.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "title": "Matched Words",
      +      "type": "array"
      +    },
      +    "missing_words": {
      +      "description": "The query words this row lacks.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "title": "Missing Words",
      +      "type": "array"
      +    },
      +    "rate_id": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Rate Id"
      +    },
      +    "register_id": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Register Id"
      +    },
      +    "register_page": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Register Page"
      +    },
      +    "section": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Section"
      +    },
      +    "topic": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Topic"
      +    },
      +    "total_chars": {
      +      "description": "Characters in the stored passage before truncation.",
      +      "minimum": 0,
      +      "title": "Total Chars",
      +      "type": "integer"
      +    },
      +    "version_is_current": {
      +      "anyOf": [
      +        {
      +          "type": "boolean"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Version Is Current"
      +    },
      +    "years": {
      +      "description": "Years as they appear in the provision, unparsed.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "title": "Years",
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "rate_id",
      +    "register_id",
      +    "act",
      +    "collection",
      +    "section",
      +    "heading",
      +    "topic",
      +    "kind",
      +    "amounts",
      +    "years",
      +    "compilation_number",
      +    "compilation_date",
      +    "version_is_current",
      +    "register_page",
      +    "content",
      +    "total_chars",
      +    "caveats",
      +    "match",
      +    "matched_words",
      +    "missing_words"
      +  ],
      +  "title": "PartialRateHit",
      +  "type": "object"
      +}
    • addedOutput schema / $defs / RateEntry / properties / version_is_current
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "title": "Version Is Current"
      +}
    • changedOutput schema / $defs / RateEntry / required
      Previous value: -[
      -  "rate_id",
      -  "register_id",
      -  "act",
      -  "collection",
      -  "section",
      -  "heading",
      -  "topic",
      -  "kind",
      -  "amounts",
      -  "years",
      -  "compilation_number",
      -  "compilation_date",
      -  "register_page",
      -  "content",
      -  "total_chars",
      -  "caveats"
      -]New value: +[
      +  "rate_id",
      +  "register_id",
      +  "act",
      +  "collection",
      +  "section",
      +  "heading",
      +  "topic",
      +  "kind",
      +  "amounts",
      +  "years",
      +  "compilation_number",
      +  "compilation_date",
      +  "version_is_current",
      +  "register_page",
      +  "content",
      +  "total_chars",
      +  "caveats"
      +]
    • addedOutput schema / properties / dropped_words
      Added value: +{
      +  "description": "Stop words left out of the query before searching; matches need not hold them.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "title": "Dropped Words",
      +  "type": "array"
      +}
    • addedOutput schema / properties / matches / description
      Added value: +"Rows holding every query word other than dropped_words."
    • addedOutput schema / properties / partial_hits
      Added value: +{
      +  "description": "Rows whose heading, topic and content hold at least 2 of the words and every word with a digit, but not all the words, ranked below every match. A modal word's opposite form counts towards the 2 but stays in missing_words, so matched_words can hold fewer than 2 words. Never present one as a match.",
      +  "items": {
      +    "$ref": "#/$defs/PartialRateHit"
      +  },
      +  "title": "Partial Hits",
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "matches",
      -  "has_more",
      -  "next_offset",
      -  "corpus",
      -  "notice"
      -]New value: +[
      +  "matches",
      +  "partial_hits",
      +  "dropped_words",
      +  "has_more",
      +  "next_offset",
      +  "corpus",
      +  "notice"
      +]
  2. Addedv0.1.13

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare a safe, read-only, idempotent search; the description goes far beyond by disclosing ranking order, stop-word dropping into dropped_words, modal-word retention, the partial_hits fallback rule (2+ shared words, any digit word), the currency caveat on superseded rows, and the fact that amounts are unparsed text that may be superseded or conditional.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The lead sentence is well front-loaded and most sentences carry unique information, but the body is dense and awkwardly broken across lines, with abrupt fragments like 'They show shared words, not an answer' and a long semicolon chain in the year sentence. Information density is high, but readability and paragraph structure suffer.

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 six-parameter search tool with an output schema, the description covers everything an agent needs before calling: ranking, result buckets, pagination boundary behavior, year and in-force filtering, and the accuracy caveat about unparsed amounts. Nothing material is left to guesswork.

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

Parameters5/5

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

Schema coverage is 100%, yet the description still adds meaning the schema does not: year filtering excludes rows stating no year, in_force_only keeps rows whose currency the corpus never recorded, and query text is tokenised with stop words removed and modals kept. These are the behavioral consequences of each parameter, not restatements.

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 opening sentence names a specific verb and resource set: searching rate, threshold, indexation and factor rows in the configured corpus. It is clearly a rate-lookup engine rather than a legislation-text reader, but it never names a sibling such as search_tax_legislation or get_reviewed_rate to draw the boundary explicitly.

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 real directional guidance: 'Use the reviewed engines for a calculation' excludes a whole class of use, and 'drop the filter to see a rate the provision does not date' tells the agent when to relax year. It also warns 'never present one as a match' for partial hits. What is missing is an explicit statement of when to prefer this over the sibling search_* tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.