Skip to main content
Glama

get_fed_rates

Read-onlyIdempotent

Get daily U.S. policy and money-market interest rates as a markdown table: Effective Fed Funds Rate, SOFR, Prime Rate, and benchmark Treasury yields (3M, 2Y, 10Y, 30Y) per date, newest first. Use for monetary-policy questions like 'Where is the Fed funds rate now?' or 'How has SOFR moved this quarter?', or to compare policy rates against long-end yields for inversion analysis. Covers up to 10 years of daily history. For the full Treasury curve across all maturities, use get_treasury_yields instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoNumber of days of history (default 30)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowsYes
unitYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "rows": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "date": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "fed_funds_rate": {
      +            "anyOf": [
      +              {
      +                "pattern": "^-?\\d+(\\.\\d+)?([eE][-+]?\\d+)?$",
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Exact decimal string as served by ko.io (not rounded); null = unknown"
      +          },
      +          "prime_rate": {
      +            "$ref": "#/properties/rows/items/properties/fed_funds_rate"
      +          },
      +          "sofr": {
      +            "$ref": "#/properties/rows/items/properties/fed_funds_rate"
      +          },
      +          "treasury_10y": {
      +            "$ref": "#/properties/rows/items/properties/fed_funds_rate"
      +          },
      +          "treasury_2y": {
      +            "$ref": "#/properties/rows/items/properties/fed_funds_rate"
      +          },
      +          "treasury_30y": {
      +            "$ref": "#/properties/rows/items/properties/fed_funds_rate"
      +          },
      +          "treasury_3m": {
      +            "$ref": "#/properties/rows/items/properties/fed_funds_rate"
      +          }
      +        },
      +        "required": [
      +          "date",
      +          "fed_funds_rate",
      +          "sofr",
      +          "prime_rate",
      +          "treasury_3m",
      +          "treasury_2y",
      +          "treasury_10y",
      +          "treasury_30y"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "unit": {
      +      "const": "percent",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "unit",
      +    "rows"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds valuable context: it returns a markdown table, covers up to 10 years of daily history, and lists the specific data series. It does not contradict the annotations and enriches the behavioral understanding beyond the structured hints.

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 description is three sentences: the first defines the output, the second gives use cases, and the third distinguishes from the sibling. Every sentence serves a purpose, and the most critical information (what it returns) is front-loaded. It is slightly longer than minimal but remains efficient and well-organized.

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?

With an output schema present, the description need not detail return values. It covers the data series included, the time range, the use cases, and the sibling distinction. All necessary information for an agent to correctly invoke this tool—including the single parameter's meaning via schema—is present. Nothing critical is missing.

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 the parameter 'days' is described in the schema as 'Number of days of history (default 30)' with a maximum of 3650. The tool description mentions 'Covers up to 10 years of daily history,' which aligns with the max but adds little beyond what the schema already states. There is no added syntax or formatting guidance, so it stays at the baseline for high schema coverage.

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 opens with a precise verb and resource: 'Get daily U.S. policy and money-market interest rates' and enumerates exactly which rates are included (Effective Fed Funds, SOFR, Prime, Treasury yields). It also differentiates from the sibling get_treasury_yields by explicitly stating it covers only selected maturities and directs the agent to the sibling for the full curve. This leaves no ambiguity about the tool's scope.

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?

The description explicitly states when to use the tool: for monetary-policy questions like 'Where is the Fed funds rate now?' or for inversion analysis comparing policy rates to long-end yields. It also names the alternative tool get_treasury_yields and the condition under which to use it ('For the full Treasury curve across all maturities'). This is clear and actionable guidance.

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.