Skip to main content
Glama

price_floating_rate_bond

Price a floating-rate note in quantra-mcp using user-supplied market data, preset curves, spread, and index settings; returns valuation details and cash flows.

Instructions

Price a floating-rate note (POST /price-floating-rate-bond).

Args: market_data_source: where the market numbers in this call come from. user_pasted (the user pasted or typed the numbers in this conversation), user_file (the user attached a file/screenshot the numbers were read from), engine_example (an engine example's pricing block, only when the user explicitly asked to run an example), session (a market previously stored in this session, which itself came from one of the above). There is no value for estimated, recalled or placeholder data. If you would have to invent numbers, do not call this tool: ask the user for the data. preset: a preset with a floating_rate_bond block (EUR_EURIBOR_6M). face_amount, issue_date, maturity_date | tenor, effective_date, overrides, include_details, include_flows: as in price_fixed_rate_bond. spread: coupon spread over the index (decimal). index_id: default preset's. fixing_days, in_arrears: default from the preset (noted). coupon_pricer: id of a coupon pricer in the market; when omitted the tool adds the preset's zero-vol BlackIborCouponPricer (an Ibor coupon needs one).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
as_ofNo
tenorNo
marketYes
presetYes
spreadNo
index_idNo
overridesNo
in_arrearsNo
issue_dateYes
request_idNo
face_amountYes
fixing_daysNo
coupon_pricerNo
include_flowsNo
maturity_dateNo
effective_dateNo
include_detailsNo
forwarding_curveYes
additional_tradesNo
discounting_curveYes
calendar_overridesNo
market_data_sourceYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.4

TDQS

A3.8/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden, and it discloses real behavior: fixing_days and in_arrears default from the preset, index_id defaults to the preset's, and when coupon_pricer is omitted the tool injects the preset's zero-vol BlackIborCouponPricer. It also defines the four market_data_source modes and forbids estimated/recalled data. Remaining gaps (permissions, failure modes) are minor for a non-mutating pricing call.

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?

Purpose is front-loaded in one line, followed by a scannable Args list that groups FRN-specific params first and defers shared ones by reference instead of repeating them. The market_data_source entry is long but each mode earns its place because it governs whether the call is even legal.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 22-parameter tool with nested objects and no annotations, the description covers the domain-specific pieces well and correctly leaves return values to the existing output schema. The gap is the unmentioned required curve/market inputs and undocumented optional plumbing (as_of, calendar_overrides, request_id), which an agent must infer from schema names alone.

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 0%, so the description has to compensate, and it does for the FRN-specific params (spread as decimal, index_id default, fixing_days/in_arrears defaults) and market_data_source in detail. However, required params such as market, discounting_curve, and forwarding_curve are never mentioned, and as_of, calendar_overrides, additional_trades, and request_id are left entirely undocumented, so roughly a third of the 22 params get no help.

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?

States a specific verb and resource ('Price a floating-rate note') and pins the HTTP endpoint, and the argument list makes the FRN-specific surface (spread, index_id, fixing_days, in_arrears, coupon_pricer) explicit against the sibling price_fixed_rate_bond it defers to. Differentiation from price_zero_coupon_bond / price_vanilla_swap is clear from the resource name, though the contrast with price_fixed_rate_bond is only implied by the cross-reference rather than stated.

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?

Gives an explicit when-not rule ('If you would have to invent numbers, do not call this tool: ask the user for the data') and a prerequisite for the preset ('a preset with a floating_rate_bond block'). It does not name alternative sibling tools or say when a different pricing tool is the better pick, so it falls short of the 5 tier.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.