Skip to main content
Glama

Market Wizardry OTC Rates & XVA

Bootstrap Multi-Curve RFR OIS & Cross-Currency Basis Curves

bootstrap_curves
Read-onlyIdempotent

Use whenever bootstrapping yield curves, stripping OIS discount factors, zero rates, or implied forward rates for USD SOFR, EUR ESTR, GBP SONIA, SGD SORA, or JPY TONA—or stripping USD-CSA cross-currency basis discount curves across 2020/2022/2023/2026 market regimes.

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": {
      "currency": "<currency>",
      "index": "<index>"
    },
    "name": "bootstrap_curves"
  }
}

Input Schema

NameRequiredDescriptionDefault
indexYesOvernight RFR benchmark index matching currency (e.g. "SOFR", "ESTR", "TONA").
fxSpotNoOptional FX spot rate in units of collateralCurrency per 1 unit of currency (e.g. 1.112 for EUR under USD CSA, 0.007067 for JPY under USD CSA).
quotesNoOptional custom domestic DEPOSIT / OIS_SWAP par quotes in decimal; omit to use pre-cached regimeId quotes.
currencyYesTarget curve currency to bootstrap (e.g. "USD", "EUR", "JPY").
regimeIdNoHistorical market regime ID ("2020-dash-for-cash", "2022-global-liftoff-divergence", "2023-global-hiking-peak", or default "2026-normalized-multi-speed").2026-normalized-multi-speed
basisQuotesNoOptional custom CCS_BASIS_SWAP (parRate in decimal, e.g. -0.0024 for -24 bps) or FX_FORWARD quotes for cross-currency CSA stripping (Tier 1 Pro).
collateralCurrencyNoCSA collateral currency anchoring discounting (default "USD"). Set equal to currency for domestic OIS stripping (Tier 0+1), or foreign CSA currency (e.g. "USD" for EUR/JPY/SGD) for cross-currency basis discounting (Tier 1 Pro).USD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is fully covered. The description adds scope information (which regimes 2020/2022/2023/2026 are in play) but says nothing about what the tool returns, how pillar gaps are handled, or how failures surface. Useful scope, limited behavioral depth.

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?

A single front-loaded sentence with the trigger first and scope after, and no filler. It is dense with hyphenated enumerations and a trailing regime list, which slightly taxes parsing but every clause carries scope information.

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 7-parameter, multi-regime curve-construction tool with no output schema, the description should at least characterize the returned curve object or the currency/index pairing rules. It also lists only five currencies while the schema allows AUD and CAD with no matching index value, leaving an unresolved inconsistency for an agent to trip over.

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 the schema already documents currency, index, quotes, basisQuotes, collateralCurrency, regimeId, and fxSpot in detail. The description adds no parameter-level meaning of its own — notably it never explains the regime-vs-custom-quotes interaction or the collateralCurrency/currency relationship that actually drives results. Baseline 3.

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?

Names specific verbs (bootstrapping, stripping) and the exact resources produced: OIS discount factors, zero rates, implied forward rates, and cross-currency basis discount curves. The enumerated benchmarks (USD SOFR, EUR ESTR, GBP SONIA, SGD SORA, JPY TONA) make it unmistakable against siblings like price_swap or compute_xva_waterfall, which operate on already-built curves.

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?

Opens with an explicit trigger phrase 'Use whenever...' and enumerates the two situations that select this tool: single-currency OIS stripping and cross-currency basis discounting. It gives no explicit when-not guidance or named alternative, so it stops short of a 5.

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.