Skip to main content
Glama

Obligacje Catalyst (Obligacyjny Inwestor)

Coupon and redemption plan for a portfolio

portfolio_cashflows
Read-onlyIdempotent

Cash flow plan for bonds the user holds: give series codes with the face value held and get coupons and redemptions month by month for up to 120 months, before and after the 19% tax (or another rate, e.g. 0 for IKE/IKZE), totals per currency and each payment. Floating coupons after the current period assume the current rate stays. Nothing is stored. Plan wpływów z obligacji: kupony i wykupy miesiąc po miesiącu.

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": {
      "holdings": "<holdings>"
    },
    "name": "portfolio_cashflows"
  }
}

Input Schema

NameRequiredDescriptionDefault
monthsNoHorizon in months from today, 1–120 (default 12).
tax_pctNoTax on interest in % (default 19, the Polish flat tax; 0 for IKE/IKZE).
holdingsYesUp to 20 positions separated by commas: "CODE:FACE_VALUE_HELD" or "CODE:QUANTITY@FACE_VALUE_OF_ONE_BOND", e.g. "KRU0632:10000, ECO1028:5@1000". Ask the user for the face value of one bond if unsure (often 100 or 1000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the read-only/idempotent annotations, it discloses genuinely useful behavior: nothing is stored, results are for up to 120 months, values come before and after tax, and floating coupons after the current period assume the rate stays flat. The modeling assumption about floating rates is the kind of context annotations cannot carry.

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?

The English portion is dense and front-loaded, moving from what the tool returns to limits, tax treatment, and the floating-rate caveat. The trailing Polish sentence largely repeats the purpose already stated and is the one element that does not add new information for most readers.

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 carries the return explanation and does so well: per-month coupons and redemptions, before/after tax, totals per currency, individual payments. It omits error behavior for unknown series codes, but otherwise an agent has enough to call and interpret it.

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 all three parameters are already documented in the schema, including the CODE:FACE_VALUE and CODE:QUANTITY@FACE_VALUE forms. The description restates holdings-as-series-codes and the alternative tax rate (0 for IKE/IKZE) but adds no format detail beyond the schema, so baseline 3 applies.

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 names a concrete verb and resource: a 'cash flow plan' returning 'coupons and redemptions month by month' for bonds the user holds. That is clearly distinct from calculate_yield or compare_with_treasury, though it never explicitly names a sibling to route against.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by 'give series codes with the face value held and get coupons and redemptions', so the input expectation is clear. There is no explicit when-to-use versus when-not guidance and no mention of alternatives such as calculate_yield for a single bond's yield.

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