Skip to main content
Glama

Mark tax year as filed

set_year_filed
Destructive

The user's own word that they have filed that year's return, or that word taken back (filed: false). Say it only when the user says they filed it — Taxinger files nothing, and this claims nothing beyond what they told you. It changes no figure: the year is still computed again, downloaded again and corrected again. Only a tax year that has ended can be said to be filed; taking a mark back is allowed on any year.

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

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.
filedNoTrue: the user says they filed that year's return. False: that word taken back.
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. Changed2 schema fields changed
    • addedInput schema / properties / filed / description
      Added value: +"True: the user says they filed that year's return. False: that word taken back."
    • 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

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the mutating nature is known. The description adds genuinely useful context beyond that: the flag "changes no figure" (computation, download and correction continue), it records only the user's assertion, and it is reversible on any year. It does not cover permissions or what the response reports, so it adds context but not a full behavioral picture.

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?

Purpose is front-loaded in the first sentence and every subsequent sentence adds a distinct constraint (no autonomous filing, no effect on figures, ended-year requirement, reversibility). The prose is somewhat literary and roundabout where plainer wording would do, but there is no filler.

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?

With annotations covering the safety profile and an output schema covering return values, the description supplies the missing behavioral layer: what the mark means, what it does not affect, and when it is legal to set or clear it. Only auth/permission expectations and the client/accountant context are left unaddressed.

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 coverage is 100%, so the schema already documents `year`, `filed` and `client` in detail. The description reinforces `filed: false` as the retraction path and adds a validation rule absent from the schema — only an ended tax year may be marked filed — but adds nothing on `client` or the year-numbering convention.

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 conveys a specific verb+resource: recording the user's claim that a given tax year's return was filed, or retracting that claim via `filed: false`. The phrasing is oblique ("the user's own word that they have filed") rather than a crisp "mark/unmark a tax year as filed", but an agent can still identify the action unambiguously against read-only siblings like get_tax_reports.

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 an explicit when-not rule: "Say it only when the user says they filed it — Taxinger files nothing, and this claims nothing beyond what they told you", which prevents the agent from inferring or asserting a filing on its own. It also states the eligibility rule (only an ended year may be marked; unmarking is allowed on any year). No sibling alternative is named, which is the only gap.

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