Skip to main content
Glama

Obligacje Catalyst (Obligacyjny Inwestor)

Corporate series vs Polish treasury savings bonds

compare_with_treasury
Read-onlyIdempotent

Compare one PLN Catalyst series held to maturity with each Polish retail treasury savings bond of the current offer (OTS, ROR, DOR, TOS, COI, EDO, ROS, ROD) held to its maturity: amount invested, interest, tax, net payout, gross and net annual yield, with the series closest in term marked. Treasury rates after the first period depend on inflation and the NBP rate: they are assumptions (defaults given, user can change them). Corporate price comes from the user (100% assumed if not given). Descriptive calculation, not advice. Porównanie serii z obligacjami skarbowymi po podatku.

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": {
      "code": "<code>"
    },
    "name": "compare_with_treasury"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesCatalyst code of a PLN series, e.g. "KRU0632".
amountNoAmount to invest in PLN (default 10000).
accountNoregular = 19% tax on interest (default); ike = IKE/IKZE, no tax on interest.
price_pctNoClean price of the corporate series in % of face value, from the user (default 100, stated as an assumption).
nbp_rate_pctNoAssumed NBP reference rate for ROR/DOR, % (default: current rate).
inflation_pctNoAssumed yearly inflation for inflation-linked treasury bonds from year 2, % (default: last GUS reading used by our calculator).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already mark it read-only, idempotent, closed-world, so the safety profile is covered. The description adds genuinely useful behavior: treasury rates after the first period are modeled assumptions with defaults that the user can override, and the corporate price is user-supplied with 100% assumed if omitted — that materially affects interpreting results. It is also explicit that this is descriptive, not advice.

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 core comparison is front-loaded and the output fields follow logically; the caveats about assumptions and non-advice come last, which is the right order. It is dense and slightly cluttered by the full enumeration of bond types and a trailing Polish sentence that restates the purpose.

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 burden of describing return values, and it lists them adequately. Assumption defaults and tax handling are flagged. What is missing is how the 'closest in term' match and the IKE/regular tax split shape the result that gets returned.

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 every parameter already carries its own description including defaults. The description reinforces the assumption semantics (defaults changeable, price defaults to 100) but adds no format, range, or interaction detail beyond the schema — baseline 3 applies.

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 ('Compare') with both operands precisely identified: one PLN Catalyst series held to maturity against each of eight named Polish retail treasury bond types. It even enumerates the reported metrics (amount invested, interest, tax, net payout, gross/net yield, closest-term marker), so an agent knows exactly what comes back.

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?

The scenario is clear from the description — you have a corporate series and want a like-for-like tax-adjusted comparison against treasury savings bonds. It does not name alternatives such as calculate_yield or screen_bonds, nor state when this is the wrong tool, so it stops short of 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.

Resources