Skip to main content
Glama

Tax lots

tax_lots
Read-onlyIdempotent

Read one slice of the illustrative tax-lot orientation (the Taxes tab) instead of the whole context. view is required: 'maturities' = the open lots whose time test is coming up, soonest first (date; daysToExempt = days left until that date, the Taxes tab's 'N days to go'; symbol, qty, valueEur); 'openLots' = the per-asset lot lines, largest position first (openQty, taxFreeQty, taxFreeValueEur, nextMaturity, warnings); 'annual' = the realized-gains table per year, newest year first (proceedsEur = gross, feesEur = broker fees deducted, timeExemptGainEur, capTaxableGainEur = the part of time-test gains the exempt-proceeds cap taxed, netTaxableGainEur, estimatedTaxEur); 'ytd' = this year's proceeds against the limit, the exempt-proceeds cap (exemptGainsCap: time-test-exempt proceeds, scope 'crypto' from 2026), what is already sellable tax-free and the next maturity. symbol (one ticker) or symbols (several, in one call) filter maturities and openLots; year filters annual; limit is 1-50 (default 10) with offset/nextOffset. Every answer carries activeRules. Approximate orientation only — not tax advice and never input for a tax report. Each '…Eur' field now also ships under its currency-neutral name (amountEur→amount, buyEur→buy, valueEur→value, totalEur→totalAmount); the '…Eur' twins are DEPRECATED and will be removed — read the neutral name.

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": {
      "view": "<view>"
    },
    "name": "tax_lots"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewYes
yearNo
limitNo
offsetNo
symbolNo
symbolsNoNarrow to SEVERAL tickers in one call — the batch form of symbol, up to 25. The two are mutually exclusive.
dashboardIdNoWhich live dashboard (browser tab) runs it; from get_dashboard_state. Optional when one tab stands out: the tab the user last approved an action in, the only live tab, or the only tab on screen. Refused before any approval when the target is ambiguous or disconnected.
idempotencyKeyNo
expectedRevisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already carry the safety profile (readOnlyHint, idempotentHint, non-destructive, closed-world), so the description's job is added context — and it delivers: 'Every answer carries activeRules', the approximate/not-tax-advice caveat, the default limit of 10, the mutual exclusivity of symbol/symbols, and the field deprecation. It does not describe pagination behavior or how nextOffset should be consumed, which keeps it off a 5.

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 core routing sentence is front-loaded, which is good, but the body is a single dense run-on packed with parenthetical field lists, and several clauses duplicate the schema outright ('limit is 1-50 (default 10)', 'view is required'). The deprecation notice about the '…Eur' twins is valuable but occupies roughly a third of the text in a verbose form. It is informative but harder to scan than it needs to be.

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 no output schema, the description bears the burden of explaining returns, and it does so view-by-view with named fields (daysToExempt, timeExemptGainEur, capTaxableGainEur, warnings, etc.), which is exactly what an agent needs. What is missing is any treatment of the dashboard-targeting and write-idempotency parameters, which is a noticeable gap on a 9-parameter tool.

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 description coverage is only 22%, so the description must compensate — and it does for the domain-critical parameters: it defines each enum value down to the returned fields, states that symbol/symbols filter maturities and openLots, that year filters annual, and that limit defaults to 10 with offset/nextOffset. However, three parameters (dashboardId, idempotencyKey, expectedRevision) get no mention at all, and dashboardId in particular has non-obvious ambiguity/resolution semantics.

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?

The description opens with a specific verb and resource ('Read one slice of the illustrative tax-lot orientation') and immediately scopes it ('instead of the whole context'), which distinguishes it from bulk-context siblings. Each of the four `view` values is then named and defined, so an agent can tell exactly what this tool returns without opening the schema.

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 clear selection guidance between the four views ('maturities' = upcoming time tests, 'openLots' = per-asset lot lines, 'annual' = realized gains per year, 'ytd' = proceeds against the cap) and explicitly steers away from pulling the whole context. It stops short of naming a concrete alternative sibling (e.g. get_context or tax_free_summary) or stating exclusion conditions, so it is one step below fully explicit routing.

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.