Skip to main content
Glama

Get tax document link

get_tax_document_link
Read-only

A link to the year's PDF for the tax office (in the authority's language): the user opens it in the browser they are signed in to Taxinger with.

    Only a tax year that has ended has one: a return is filed for a year that is over, so
    the year running now has no document for the tax office and no declaration file, and
    the link would be refused. Ask for a year that has ended.

    A client's year is not a link: which account a download is about is a header the site
    sends and an address cannot carry (nothing of a client's is ever in a URL), so this
    answers with where their accountant downloads it instead.

    Refused while the account's history is still being read, and for a year some of whose
    operations are not in its totals: a document for a tax office off a part of a history,
    or off a part of a year, is the one thing that must never be handed over.

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": {
      "year": "<year>"
    },
    "name": "get_tax_document_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYesThe tax year, as the number get_tax_reports gives in ``tax_year``: a year that does not start in January is named by the year it starts in.
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
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / year / description
      Added value: +"The tax year, as the number get_tax_reports gives in ``tax_year``: a year that does not start in January is named by the year it starts in."
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond readOnlyHint and openWorldHint, the description discloses significant behavior: refusal while the account history is being read, refusal for a year with operations missing from totals, and the safety rationale that a document must never be produced from partial history or a partial year. It also explains that client downloads are mediated by a header the site sends and that a client's data never appears in a URL, which is exactly the kind of context annotations cannot supply.

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 scoping and safety constraints are front-loaded, but the prose is circuitous, especially the explanation about headers, addresses, and client URLs. Some sentences, such as the final dramatized warning about never handing over a document, could be tightened without losing meaning. It is informative but not efficiently structured.

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?

Given an output schema exists, the description need not explain return values, and it thoroughly covers preconditions, refusal states, and the special client case. Nothing an agent needs in order to call the tool correctly appears to be missing. A slightly tighter statement of the client return behavior would make it fully complete.

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 schema already documents both parameters, including the year naming convention and the client user_id source. The description adds meaning beyond the schema by explaining that the client parameter causes an alternate answer rather than a link, and by tying valid year values to years that have ended. The remaining gap is minor.

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 description identifies the specific resource returned: the year's PDF link for the tax office in the authority's language. It distinguishes the ended-year case from the running-year case and explains that a client's year yields a different answer (where the accountant downloads it). It is slightly indirect because it opens with a noun phrase rather than a clear verb, but the agent can still tell what the tool does.

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?

The description gives explicit when-to-use guidance: ask only for a year that has ended, because the current year has no document and the link would be refused. It also covers when-not-to-expect-a-link for a client's year and explains the refusal states (history still being read, partial-year totals). These are clear, actionable conditions an agent can apply before invoking the tool.

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