treasury_yield_curve
utilpeek: Get US Treasury yields: the daily par yield curve for a date. For SOFR, FX and oil too use get_macro_snapshot. Returns the official US Treasury daily par yield curve for a date (default: the latest): yields in percent from 1 Mo to 30 Yr (null where none was published); a date without a ...
This record as markdown: /tools/dev-tanod-tanod/treasury-yield-curve.md
What treasury_yield_curve does on Tanod
AI agents call treasury_yield_curve to retrieve information from Tanod without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
date | object | — | Curve date YYYY-MM-DD (1990-01-02 to today). Default: the latest published curve. A date with no curve (weekend, holiday, not yet published) returns the nearest |
Parameters from the server's own tool schema.
Why treasury_yield_curve is rated Low
Even though treasury_yield_curve only reads data, uncontrolled read access leaks sensitive information and racks up API costs: an agent caught in a retry loop can make thousands of calls a minute without anyone noticing.
Attacks that exploit this kind of access
The rule that runs treasury_yield_curve safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Tanod, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For treasury_yield_curve, this is the rule to start with:
treasury_yield_curve is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Tanod, apply this rule, and every treasury_yield_curve call is checked against it from then on.
Questions about treasury_yield_curve
utilpeek: Get US Treasury yields: the daily par yield curve for a date. For SOFR, FX and oil too use get_macro_snapshot. Returns the official US Treasury daily par yield curve for a date (default: the latest): yields in percent from 1 Mo to 30 Yr (null where none was published); a date without a curve returns the nearest earlier one (adjusted: true). Informational only, not investment advice. Data: U.S. Treasury (public domain); eligible for refresh after 6 hours; a copy fetched within 24 hours may be stale: true with its published date; no Treasury endorsement implied. A bad, pre-1990 or future date is a 422 (not charged); an upstream outage is a 503 (not charged). Typically under 0.1 s from cache; up to about 25 s when the Treasury feed is fetched (it is slow). Price: USD 0.002. Free: 10 utilpeek calls per IP per UTC day. Docs: https://tanod.dev/learn/treasury-yield-curve-api.html. It is categorised as a Read tool in the Tanod MCP Server, which means it retrieves data without modifying state.
treasury_yield_curve accepts 1 parameter: date. The full parameter table on this page comes from the server's own tool schema.
Register the Tanod MCP server in PolicyLayer and add a rule for treasury_yield_curve: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Tanod. Nothing to install.
treasury_yield_curve is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the treasury_yield_curve rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for treasury_yield_curve. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
treasury_yield_curve is provided by the Tanod MCP server (https://tanod.dev/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Tanod, and thousands of servers like it.
This server
Across the catalogue