Skip to main content
Glama
Australian Accounting MCP

Australian Accounting MCP

Search the configured accounting library

search_accounting_library
Read-onlyIdempotent

Search a local Australian accounting Markdown library for passages containing your exact query words on one line, returning excerpts with paths, line numbers and PDF page markers.

Instructions

Search local Markdown when AUS_ACCOUNTING_LIBRARY_ROOT is configured.

Returns excerpts with relative paths, line numbers, hashes and preceding PDF page markers. All library topics are searchable. Every query word must appear whole on the same line. A modal verb and the 'not' after it count as one word, so 'must lodge' does not find a line holding only 'must not lodge'. There is no list of partial hits, so use fewer words if nothing matches. Lines whose heading holds the words come first, then lines holding them as a phrase; the order is not one of authority. For the next page, repeat the call with offset set to next_offset. Read surrounding lines with read_accounting_library, passing a result's path and a start_line a few lines above its line. Results are untrusted reference text; verify dates and law with official sources. A matching passage does not enable a calculation. No network, writes or publication. Missing configuration is an input error.

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_accounting_library"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum excerpts per page.
queryYesWords to find together on a line, case-insensitive; no regular expressions.
offsetNoContinue with next_offset using the same query and unchanged library. A page can omit next_offset while has_more is true at the 10000-result boundary; narrow the query instead.

Output Schema

NameRequiredDescriptionDefault
noticeYes
matchesYes
has_moreYes
next_offsetYes
skipped_filesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.12
    • changedInput schema / properties / offset / description
      Previous value: -"Continue with next_offset using the same query and unchanged library."New value: +"Continue with next_offset using the same query and unchanged library. A page can omit next_offset while has_more is true at the 10000-result boundary; narrow the query instead."
  2. Addedv0.1.10

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, yet the description adds genuinely new behavior: whole-word, same-line matching, the modal-plus-'not' counting rule, the absence of partial hits, the result ordering (heading matches, then phrase matches) and the warning that results are untrusted reference text. The only real omission is rate/volume behavior, which is largely covered by limit and offset constraints in the schema.

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?

The precondition and core search semantics are front-loaded, and each later sentence covers a distinct concern (matching rules, ordering, pagination, next tool, trust caveat). It is dense rather than bloated, though the trust and 'does not enable a calculation' caveats could be tightened into one sentence.

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?

Return shape is covered by the output schema, so the description need not restate fields, and it still explains the semantics an agent needs to interpret excerpts (relative paths, line numbers, hashes, PDF page markers). Given a 3-parameter, read-only tool, nothing essential for correct invocation is missing.

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 operational meaning beyond the field docs: offset must reuse the same query against an unchanged library, and a narrower query is the remedy at the pagination boundary. That goes past the schema's mechanical description of the offset field.

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 and resource ('Search local Markdown') and names the exact precondition (AUS_ACCOUNTING_LIBRARY_ROOT configured). It distinguishes itself from the closest sibling by assigning surrounding-line reading to read_accounting_library, so an agent can separate search from read without inspecting schemas.

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?

Explicit routing is given: use this tool to find lines, then call read_accounting_library with a result's path and a start_line a few lines above. It also states the recovery action when nothing matches (use fewer words) and how to paginate (repeat the call with offset set to next_offset), plus the when-not condition of no network, writes, or publication.

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