Skip to main content
Glama

List tax choices

list_choices
Read-only

The questions that tax year's law leaves to the taxpayer, with what they answered and where each stands. A law leaves some things open, and what it leaves open is theirs: nothing here is ours to decide for them.

    Only the questions that year can hold an answer to are listed, so an empty list means
    the year's own law asks nothing of it. ``options`` are the only answers it admits, each
    with ``effect`` (what it does under that law) and the provision behind it.
    ``state``: ``open`` an answer may be given; ``standing`` the law's own time limit has
    passed and an answer given inside it holds, so it cannot change; ``closed`` it has
    passed with nothing answered in time, and no answer is possible. ``closes_on`` is the
    last day one may be given. ``picked`` is what stands, ``default`` what the statute
    itself gives where nothing was answered.

    Explain the options in plain words and **ask the user before answering for them**: an
    answer moves the figures of their return, and some of them cannot be taken back once
    the law's time limit has passed.

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

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.1/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint=false; the description goes well beyond by defining the state machine (open/standing/closed), the closes_on deadline, picked vs default, and the irreversibility of answers once the statutory time limit passes. That is exactly the behavioral context an agent needs before presenting choices to a user.

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?

Purpose is front-loaded and the field semantics are dense and well organized, but the prose is literary and includes at least one purely rhetorical sentence ('nothing here is ours to decide for them') that adds no operational information. It is longer than needed for a two-parameter read tool.

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?

An output schema exists, yet the description still explains every meaningful return concept (options, effect, provision, state, closes_on, picked, default) plus the workflow caution, so an agent can both interpret and act on results without opening the schema. Nothing material about calling this tool is missing.

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% and both parameters (year, client) are fully documented in the schema, so the baseline applies. The description adds no further parameter meaning and never mentions the optional client scope, instead spending its words on return-value fields.

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 first sentence names a specific resource — the questions a given tax year's law leaves to the taxpayer — along with what is returned (answers given and current standing). It is clearly a read/list operation over per-year choices, distinguishable from siblings like list_clients or get_tax_reports, though it never names the write counterpart (set_choice) that the 'ask before answering' instruction implies.

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?

Usage context is clear: it covers a specific tax year, an empty list means the year's law asks nothing, and the agent is told to explain options in plain words and confirm with the user before answering. What's missing is an explicit pointer to the sibling to use when the user does decide (set_choice/withdraw_answer) and any when-not guidance.

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