Skip to main content
Glama

fed_board_h15_rate_spread

Read-onlyIdempotent

Calculate a time series of one Federal Reserve Board H.15 rate minus another on aligned business dates. Returns both canonical series, component values, percentage-point and basis-point spreads, pagination, provenance, and exact hosted coverage. Use this for '10-year minus 2-year Treasury spread', 'prime minus fed funds', or 'compare 30-year and 5-year yields'. Treasury aliases such as '10y' and '2y' are accepted. Not a forecast or trading signal.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum aligned observations. Default 30.
offsetNoAligned observations to skip. Default 0.
end_dateNoISO date YYYY-MM-DD.
series_aYesExact H.15 series_name, descriptive name, or Treasury alias such as '10-year Treasury', '2y', or '3-month Treasury'.
series_bYesExact H.15 series_name, descriptive name, or Treasury alias such as '10-year Treasury', '2y', or '3-month Treasury'.
start_dateNoISO date YYYY-MM-DD.
response_formatNoHuman-readable markdown or machine-readable JSON. Default markdown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • addedInput schema / properties / end_date / pattern
      Added value: +"^\\d{4}-\\d{2}-\\d{2}$"
    • addedInput schema / properties / limit / maximum
      Added value: +260
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / offset / maximum
      Added value: +25000
    • addedInput schema / properties / offset / minimum
      Added value: +0
    • changedInput schema / properties / offset / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / series_a / maxLength
      Added value: +160
    • addedInput schema / properties / series_a / minLength
      Added value: +1
    • addedInput schema / properties / series_b / maxLength
      Added value: +160
    • addedInput schema / properties / series_b / minLength
      Added value: +1
    • addedInput schema / properties / start_date / pattern
      Added value: +"^\\d{4}-\\d{2}-\\d{2}$"
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, open-world, idempotent, and non-destructive behavior. The description adds useful behavioral context about aligning on business dates and what the response includes (both canonical series, component values, percentage-point and basis-point spreads, pagination, provenance, hosted coverage), though it omits auth, rate limits, or error behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four sentences, front-loaded with the core operation, followed by use cases, alias acceptance, and a scope disclaimer. Every sentence adds distinct value with no redundancy.

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?

No output schema exists, so the description carries the return-value burden and does so by enumerating returned data (both series, spreads, pagination, provenance, coverage). It still omits edge cases such as non-aligned dates or coverage-range limits and does not reference sibling alternatives.

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 fully documents all 7 parameters. The description only notes that Treasury aliases such as '10y' and '2y' are accepted, which duplicates the schema's own examples and adds no new parameter syntax or constraints.

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 operation: calculate a time series of one Federal Reserve Board H.15 rate minus another on aligned business dates. The term 'spread' and examples like '10-year minus 2-year Treasury spread' clearly distinguish it from sibling tools such as fed_board_h15_rate_history and fed_board_h15_yield_curve.

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?

Provides concrete use cases ('10-year minus 2-year Treasury spread', 'prime minus fed funds', 'compare 30-year and 5-year yields') and clarifies it is not a forecast or trading signal. However, it does not explicitly name alternative sibling tools or state when not to use it.

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.