Skip to main content
Glama

Moneda

generate_statement

Generate a PDF balance statement of your activity (opening/closing balances, transactions with home-currency values, fees, FX rates) for a tax year or date range. Async: returns a requestId immediately — poll get_statement_status until it is READY to get a time-limited download link. Not tax advice.

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

Input Schema

NameRequiredDescriptionDefault
toNoISO-8601 end (exclusive, UTC). Defaults to now; a future date is clamped to now. The period can cover at most 366 days.
fromNoISO-8601 start (inclusive, UTC). Required if `year` is omitted. Not before 2020-01-01.
yearNoTax year (Jan 1 – Dec 31 UTC). Use this OR from/to, not both.
currencyNoStatement filter: USD, EUR, CHF, CAD, MXN or CRYPTO. A currency scopes the statement to that currency's balance and activity (e.g. an 'EUR, June 2026' statement). CRYPTO lists crypto and stock trades; the currency filters leave those out, and an exchange between two currencies is on the statement of both. Omit or null for everything.
reportingCurrencyNoCurrency the amounts are valued in (USD, EUR, CHF or CAD). Defaults to the `currency` filter when it is one of those, then your account's display currency, then USD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations indicate a non-readonly but non-destructive operation, and the description adds critical behavior beyond that: this is asynchronous, produces a requestId immediately, requires polling, and yields a time-limited download link. It also notes 'Not tax advice,' setting expectations.

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

Conciseness5/5

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

Three sentences, front-loaded with the core action, followed by the async workflow and a short disclaimer. Every sentence serves a purpose and no information is repeated unnecessarily.

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?

No output schema exists, and the description fully explains the return contract: an immediate requestId, the need to poll get_statement_status, and the time-limited download link. Combined with the annotations and schema, an agent has everything needed to invoke and follow up correctly.

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%, so both parameters are fully documented in the schema. The description adds only high-level framing (tax year or date range) without repeating syntax, defaults, or edge conditions already covered by the schema.

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?

States a specific verb and resource: generate a PDF balance statement of activity, with concrete contents (opening/closing balances, transactions, fees, FX rates). It is clearly distinguishable from sibling read tools like get_statement_status and get_balance.

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?

Explains the intended scope (tax year or date range) and gives the complete async workflow: returns requestId immediately, poll get_statement_status until READY, then use a time-limited download link. This explicitly routes the agent to the correct follow-up sibling.

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