Skip to main content
Glama

Look up a Treasury security

get_treasury_security
Read-onlyIdempotent

Look up one Treasury security by CUSIP: its terms, price history, and analytics including duration, convexity, DV01 and key-rate durations, plus TIPS and floating-rate analytics where they apply, and the amount outstanding. Takes a CUSIP, not a description such as 'the current 10-year'.

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": {
      "cusip": "<cusip>"
    },
    "name": "get_treasury_security"
  }
}

Input Schema

NameRequiredDescriptionDefault
cusipYesNine-character Treasury CUSIP, e.g. "91282CJL6".
summarizeNoDefaults to true: the daily price and analytics series are left out and the latest values kept. False returns the full daily history, which for a long bond is thousands of rows.
outstanding_onNoDate for the amount outstanding. The month-end statement in force on it is used. Defaults to today.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / summarize / description
      Previous value: -"True drops the daily price and analytics series and keeps the latest values. Use it unless you need the full history — a 30-year bond carries thousands of rows."New value: +"Defaults to true: the daily price and analytics series are left out and the latest values kept. False returns the full daily history, which for a long bond is thousands of rows."
  2. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds useful disclosure about the shape of the payload (daily series versus latest values, amount outstanding tied to the month-end statement in force), but does not cover failure behavior for an unknown CUSIP or response size limits beyond the schema's note.

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?

Two sentences, front-loaded with the verb and identification key, then the returned content, then the input constraint. There is no filler and the most failure-relevant caveat comes last where it is easy to catch.

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 no output schema, the description correctly compensates by enumerating the return contents, which is exactly what an agent needs before calling. The main gap is error/not-found behavior and the practical size implications of the summarize flag, which are only partially addressed in the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the parameters are already documented and a 3 would be the floor. The description goes beyond the schema by clarifying that only a CUSIP is accepted and that descriptive references like "the current 10-year" are not valid, which is a failure mode the schema's "Nine-character Treasury CUSIP" string does not guard against.

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?

"Look up one Treasury security by CUSIP" names a specific verb, resource, and cardinality, then enumerates the payload (terms, price history, duration/convexity/DV01/key-rate durations, TIPS and FRN analytics, amount outstanding). That is far more than a restatement of the name. It stops short of explicitly contrasting itself with price_treasury_security or list_treasury_securities, so an agent must infer the boundary from the content list.

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

Usage Guidelines3/5

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

The definition gives a real input-side usage rule — "Takes a CUSIP, not a description such as 'the current 10-year'" — which prevents a common misuse. It never states when to prefer this over pricing or listing siblings, nor any exclusion such as non-Treasury issuers, so tool-selection guidance is only implied.

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.