Skip to main content
Glama

Get tax reports

get_tax_reports
Read-only

The user's tax country and each tax year's report: the form's lines with their values, what needs the user's attention by reason (left out of the totals), and the analysis run (pending while it computes, failed with why). filing_year is the year a return is filed for now, the last one that has ended: a later year is still running, so its figures are what has happened so far and no return exists for it yet. held is the transactions of their history their plan has no room for: no line of any year counts them, and a pack brings them in with nothing read again — say so when it is not 0, or the figures read as the whole history when they are not. paid_by, where it is set, is the accountant or the accounting firm whose own plan pays for this account's reading: what stopped at a limit stopped at theirs, and nothing the user buys would lift it.

    A year's ``name`` is what its own country calls it, and is what to say to the user:
    the United Kingdom's 2025 runs 6 April 2025 to 5 April 2026 and HMRC writes it
    "2025-26". ``tax_year`` is the number every argument of every tool takes.

    A year carries the user's own word that its return is filed (``filed`` when it was
    said, ``filed_by`` whose hand where it was not this account's owner's, ``filed_through``
    the assistant it was said through): their claim and never ours, and it moves no figure
    of the year.

    While ``reading.reading`` is true the history is still being read and **no year comes
    with it** until one source of it is read whole: ``years`` and ``attention`` are empty,
    ``reading.chains`` and ``reading.statements`` say what is still being read, and nothing
    of a year is to be stated to the user meanwhile. Once a source is read whole the years
    come, **provisional** (``reading.provisional``, and ``provisional`` here and on every
    tool stating a year says it in words): every figure may still move as the rest is read
    in, the questions those sources could answer are held, and nothing final is made — no
    document, no declaration file, no filed mark. ``reading.problem``, where it is set, is a
    reading that went wrong on our side — say it as it reads, and that it is ours to fix
    and not theirs.

    ``reading.updating`` is another thing: chains of a history already read whole where
    only what is new is being brought in. Nothing is withheld for it — the years come as
    they stand and may be stated — but say that they are as of ``reading.read_at`` (when
    the history was last brought in) and that a new operation is being worked out, since
    the figures will move when it is.

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

Input Schema

NameRequiredDescriptionDefault
clientNoAn account this user may read as its accountant (a client's ``user_id`` from list_clients). Left out: their own account, which is every private user's case.

Output Schema

NameRequiredDescriptionDefault
runYes
heldYes
usedYes
yearsYes
countryYes
paid_byYes
readingYes
attentionYes
time_zoneNo
time_zonesNo
filing_yearYes
provisionalNo
generated_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • changedOutput schema / $defs / Reading / description
      Previous value: -"Whether this account's history is still being read, and what of it (the user,\n2026-10-25; the site's first reading, 2026-10-24: a statement read in seconds put \"your\n2023, ready\" over a wallet whose first transaction was not in yet). While it is true\nnothing of a year is stated — no figure, no form, no document — only that the reading\nis going on.\n\nDecided in one place (``ReadingRepository``) and answered by everything that states a\nyear: the reports, an accountant's client list, and the assistant's tools. The plan\nending is **not** this: there the reading has stopped for good until a pack is bought,\nthe screens say so, and the figures are what the user decides to buy on (a chain is\nthen ``limited``, which is no chain still reading)."New value: +"Whether this account's history is still being read, and what of it (the user,\n2026-10-25; the site's first reading, 2026-10-24: a statement read in seconds put \"your\n2023, ready\" over a wallet whose first transaction was not in yet). While it is true\nnothing of a year is stated — no figure, no form, no document — only that the reading\nis going on.\n\n**Only a history not yet read whole is that** (the user, 2026-11-19: a forward reading\ndoes not take the figures away). A history read whole once and now being read forward —\nby the change detector for a Premium account, or because its owner asked to read again —\nis ``updating``: ``reading`` stays false for it, so everything that states a year goes on\nstating it.\n\n**And a first reading withholds the year only until one source of it is read whole** (the\nuser, 2026-11-21; decision \"A year opens when one network is read\"): from then the year is\n``provisional`` — stated, with every figure, while the rest is read into it and may still\nmove it, a sale on a chain read taking lots bought on one not read yet. What stays closed\nwhile ``reading`` is true is what is final: the document for the tax office, the\ndeclaration file and the word that the year's return is filed; and the questions an\nunread source could answer are held (``constants.HELD``). ``withheld``: nothing of a year\nis stated.\n\nDecided in one place (``ReadingRepository``) and answered by everything that states a\nyear: the reports, an accountant's client list, and the assistant's tools. The plan\nending is **not** this: there the reading has stopped for good until a pack is bought,\nthe screens say so, and the figures are what the user decides to buy on (a chain is\nthen ``limited``, which is no chain still reading)."
    • addedOutput schema / $defs / Reading / properties / provisional
      Added value: +{
      +  "default": false,
      +  "title": "Provisional",
      +  "type": "boolean"
      +}
    • addedOutput schema / $defs / Reading / properties / read_at
      Added value: +{
      +  "anyOf": [
      +    {
      +      "format": "date-time",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Read At"
      +}
    • addedOutput schema / $defs / Reading / properties / updating
      Added value: +{
      +  "default": [],
      +  "items": {
      +    "type": "string"
      +  },
      +  "title": "Updating",
      +  "type": "array"
      +}
    • addedOutput schema / $defs / TaxRunRow / properties / whole
      Added value: +{
      +  "default": true,
      +  "title": "Whole",
      +  "type": "boolean"
      +}
    • addedOutput schema / description
      Added value: +"The account's reports, as ``Reports``, with ``provisional``."
    • addedOutput schema / properties / provisional
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Provisional"
      +}
    • addedOutput schema / properties / time_zone
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Time Zone"
      +}
    • addedOutput schema / properties / time_zones
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "title": "Time Zones",
      +  "type": "array"
      +}
    • changedOutput schema / title
      Previous value: -"Reports"New value: +"TaxReports"
  2. First observed

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, yet the description still adds genuine behavioral context: years are withheld entirely while reading.reading is true, provisional figures block final artifacts, and reading.updating means figures may still move. The disclosure that `held` transactions are excluded from every line and that `paid_by` plan limits cap what the user can buy is substantive and consistent with a read-only tool. It does not describe auth requirements or result size, keeping it at 4.

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

Conciseness2/5

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

The description runs many paragraphs and mixes purpose, output-field semantics, and agent instructions with no clear structure. Since an output schema exists, large stretches explaining `years`, `attention`, `reading.*`, `filed`, and `held` restate return data at length; the core distinction between reading, provisional, and updating states is buried rather than front-loaded.

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?

For a complex, stateful reporting tool the description covers the important non-obvious semantics, especially the provisional/blocking states that a caller could easily misreport. With annotations and an output schema already carrying safety and shape, the remaining gap is guidance on when to choose this tool over sibling reporting tools.

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

Parameters3/5

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

Schema description coverage is 100% and there is a single optional `client` parameter, already fully explained in the schema as an accountant's client account. The description never addresses `client` directly; its discussion of `paid_by` concerns the response, not the argument. Baseline 3 is appropriate when the schema does the work.

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 resource and its parts: the tax country, each tax year's report, the form's lines with values, attention items, and the analysis run. An agent can tell this yields a per-year tax report rather than a transaction list. It does not, however, distinguish itself from siblings such as get_year_breakdown or list_tax_countries, so it stops short of a 5.

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

Usage Guidelines2/5

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

The description is almost entirely about how to interpret and narrate the returned data ('say so when it is not 0', 'nothing of a year is to be stated to the user meanwhile'), with no statement of when this tool should be called instead of get_year_breakdown, list_tax_countries, or set_year_filed. Usage is only implied by the resource name; no exclusion or alternative is offered.

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