Skip to main content
Glama

BRAINIAC Global Financial Markets & Macro Intelligence

US Treasury yield curve

macro-intelligence_us-treasury-yield-curve
Read-onlyIdempotent

Latest official US Treasury daily par yield curve from the Treasury XML feed. Docs: https://www.brainiac.software/api/macro-intelligence/us-treasury-yield-curve Keywords: yield curve, treasury yields, 10Y-2Y, 10Y-3M, par yield, UST, Treasury XML, official curve, 2Y, 10Y, 30Y.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "macro-intelligence_us-treasury-yield-curve"
  }
}

Input Schema

NameRequiredDescriptionDefault
recordDateNorecordDate, string. Optional.

Output Schema

NameRequiredDescriptionDefault
dataNodata. Object.
statusNostatus. String.
sourcesNosources. Array.
progressNoprogress. Object.
nextCursorNonextCursor. Null.
limitationsNolimitations. Array.
missing_itemsNomissing_items. Array.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • removedOutput schema / properties / asOf
      Removed value: -{
      -  "description": "asOf. String.",
      -  "type": "string"
      -}
    • addedOutput schema / properties / data
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "data. Object.",
      +  "properties": {
      +    "asOf": {
      +      "description": "asOf. String.",
      +      "type": "string"
      +    },
      +    "recordDate": {
      +      "description": "recordDate. String.",
      +      "type": "string"
      +    },
      +    "sourceUrl": {
      +      "description": "sourceUrl. String.",
      +      "type": "string"
      +    },
      +    "spread10y2y": {
      +      "description": "spread10y2y. String.",
      +      "type": "string"
      +    },
      +    "spread10y3m": {
      +      "description": "spread10y3m. String.",
      +      "type": "string"
      +    },
      +    "tenors": {
      +      "description": "tenors. Array.",
      +      "items": {
      +        "additionalProperties": {},
      +        "description": "item. Object.",
      +        "properties": {
      +          "tenor": {
      +            "description": "tenor. String.",
      +            "type": "string"
      +          },
      +          "yieldPercent": {
      +            "description": "yieldPercent. String.",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / limitations
      Added value: +{
      +  "description": "limitations. Array.",
      +  "items": {
      +    "description": "Item. String.",
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / nextCursor
      Added value: +{
      +  "description": "nextCursor. Null.",
      +  "type": "null"
      +}
    • addedOutput schema / properties / progress
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "progress. Object.",
      +  "properties": {
      +    "processed": {
      +      "description": "processed. Number.",
      +      "type": "number"
      +    },
      +    "scannedRange": {
      +      "description": "scannedRange. Null.",
      +      "type": "null"
      +    },
      +    "total": {
      +      "description": "total. Null.",
      +      "type": "null"
      +    },
      +    "unit": {
      +      "description": "unit. String.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • removedOutput schema / properties / recordDate
      Removed value: -{
      -  "description": "recordDate. String.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / source
      Removed value: -{
      -  "description": "source. String.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / sourceUrl
      Removed value: -{
      -  "description": "sourceUrl. String.",
      -  "type": "string"
      -}
    • addedOutput schema / properties / sources
      Added value: +{
      +  "description": "sources. Array.",
      +  "items": {
      +    "description": "Item. String.",
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / properties / spread10y2y
      Removed value: -{
      -  "description": "spread10y2y. String.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / spread10y3m
      Removed value: -{
      -  "description": "spread10y3m. String.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / tenors
      Removed value: -{
      -  "description": "tenors. Array.",
      -  "items": {
      -    "additionalProperties": {},
      -    "description": "item. Object.",
      -    "properties": {
      -      "tenor": {
      -        "description": "tenor. String.",
      -        "type": "string"
      -      },
      -      "yieldPercent": {
      -        "description": "yieldPercent. String.",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
  2. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive behavior, so the safety profile is covered. The description adds genuine context beyond that: the data is the official Treasury par curve, delivered daily, sourced from the Treasury XML feed, which tells the agent about provenance and update cadence. It does not mention upstream availability, latency, or what happens when the feed lacks a date.

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

Conciseness3/5

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

The opening sentence is well front-loaded and informative, and the docs link is defensible. However, the trailing 'Keywords:' block is SEO filler that consumes tokens without helping an agent decide or invoke, and it dilutes an otherwise tight definition.

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?

With a single optional parameter, rich annotations, and an output schema that presumably describes the returned curve, the description supplies everything needed to call it correctly. Only the sibling-routing guidance and the default behavior for recordDate are 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 there is a single optional recordDate with a documented pattern, so the schema carries the load. The description adds nothing about what recordDate means (as-of date vs. publication date) or what the default is when omitted, which is the one place it could have added value.

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?

The first sentence names a specific resource and scope: the latest official US Treasury daily par yield curve sourced from the Treasury XML feed. That distinguishes it in substance from analytical siblings like yield-curve-analyze or treasury-debt, though it never names those siblings explicitly to make the routing unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus the sibling yield-curve-analyze or ny-fed-reference-rates tools, nor any statement about freshness expectations or when a historical/analyzed curve would be preferable. The keyword list is retrieval bait, not usage 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.

Resources