Skip to main content
Glama

Rates reference

rates_reference
Read-onlyIdempotent

Use when an agent needs an official interest-rate benchmark with its date and source: SOFR (NY Fed), euro short-term rate (ECB, series=estr) or US Treasury par yield curve (series=ust, default 10y). Returns the paid x402 request for your input (GET /rates/reference, $0.002 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. Interest and yield rates only; for euro exchange rates use eu_fx. First call each day returns the data itself, free; later calls return the paid request.

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": {
      "series": "<series>"
    },
    "name": "rates_reference"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoOptional YYYY-MM-DD: the latest observation on or before this date (default: latest)
tenorNoseries=ust only: maturity (1m ... 30y)10y
seriesYessofr (NY Fed overnight rate), estr (ECB euro short-term rate), ust (US Treasury par yield curve; pick maturity with tenor)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / series / description
      Previous value: -"sofr (NY Fed), estr (ECB euro short-term rate), ust (US Treasury par yield curve)"New value: +"sofr (NY Fed overnight rate), estr (ECB euro short-term rate), ust (US Treasury par yield curve; pick maturity with tenor)"
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare this a safe, idempotent, open-world read, so the description is free to carry the operationally important facts — and it does: the call returns a paid x402 request for GET /rates/reference at $0.002 per call that must be redeemed with an x402 or MPP client, invalid input is rejected before any charge, and the first call each day returns data free while later calls return the paid request. That free/paid asymmetry is a behavior an agent could not infer from annotations or schema and directly affects how it should sequence calls.

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?

It is front-loaded with the usage trigger and the data scope, then moves into the payment mechanics, which is the right order. The payment explanation is dense but every clause is load-bearing; a slight cost is that the free-first-call rule arrives at the very end, where it could be missed.

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?

There is no output schema, and the description compensates by explaining the return flow explicitly: what comes back (a paid x402 request for your input), what URL it targets, and how to redeem it for the actual data. Combined with cost, error handling, and the daily free-call behavior, an agent has everything needed to call and follow through 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 coverage is 100% and every parameter already carries a description, including the series-to-source mapping and the tenor default of 10y. The description restates the series values and the tenor default but adds no format or selection detail the schema lacks, and it never mentions the date parameter. That is the baseline case where the schema does the work.

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?

The description names a specific resource (official interest-rate benchmarks) and enumerates the exact coverage: SOFR from the NY Fed, euro short-term rate from the ECB under series=estr, and the US Treasury par yield curve under series=ust. It closes by scoping itself ('Interest and yield rates only'), which lets an agent separate it from eu_fx without opening the schema.

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?

It opens with an explicit trigger ('Use when an agent needs an official interest-rate benchmark with its date and source') and gives a paired exclusion plus the alternative tool: 'for euro exchange rates use eu_fx'. That is when-to-use, when-not-to-use, and the named substitute in two sentences.

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