Skip to main content
Glama

Nyfed Soma Holdings

nyfed_soma_holdings
Read-onlyIdempotent

System Open Market Account (SOMA) portfolio, the Fed's own securities holdings from QE/reinvestment. view=summary (default) gives total by asset bucket (bills, notesbonds, mbs, agencies, tips) over time, the series to read for "SOMA runoff this month". view=treasury/agency with as_of_date gives the full CUSIP-level holdings snapshot for that date (holding_type narrows to bills/notesbonds/frn/tips for treasury, or agency_debts/mbs/cmbs for agency). Pass cusip alone to look up one security's full holdings history regardless of view. Publishes on a ~1-week lag (as_of_date defaults to the latest available, not today).

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "view": "summary"
    },
    "name": "nyfed_soma_holdings"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNoDefault summary.
cusipNoA single security's CUSIP, overrides view and searches both Treasury and Agency holdings.
limitNoMax rows to return. Default 20, max 200.
as_of_dateNoYYYY-MM-DD. Defaults to the latest published SOMA as-of date.
holding_typeNoFor view=treasury: all|bills|notesbonds|frn|tips. For view=agency: all|agency_debts|mbs|cmbs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / cusip / description
      Previous value: -"A single security's CUSIP — overrides view and searches both Treasury and Agency holdings."New value: +"A single security's CUSIP, overrides view and searches both Treasury and Agency holdings."
  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 readOnly/idempotent/non-destructive, so the bar is lower, and the description still adds genuinely non-obvious behavior: a ~1-week publication lag and the fact that as_of_date defaults to the latest published date rather than today. That default-dating caveat is the kind of detail that prevents an agent from misreporting stale data as current. It does not describe pagination or response envelope shape, keeping it below a 5.

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?

A single dense paragraph that front-loads the definition of SOMA before any usage detail, with every sentence carrying a distinct fact (modes, narrowing, override, lag). It is tight but slightly overloaded, packing the full syntax reference into prose rather than separating it, which costs a point.

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 five optional parameters, no output schema, and no required fields, the description supplies everything needed to call it correctly: mode selection, default date behavior, the lag, the cusip shortcut, and the shape of the returned data per view. Nothing material is left to inference.

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 baseline is 3, and the description earns above that by explaining parameter interactions the schema only hints at: cusip overrides view and searches both Treasury and Agency holdings to return a security's holdings history, and holding_type values are scoped per view. This is added meaning about how parameters combine, not repetition.

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 names a specific resource (System Open Market Account holdings, the Fed's own QE/reinvestment securities) and spells out the retrieval modes: aggregate by asset bucket, CUSIP-level snapshot per date, or single-CUSIP history. It even anchors the summary view to a concrete analyst question ('SOMA runoff this month'). An agent knows exactly what data this returns and how it differs from other nyfed_* datasets.

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?

It gives clear conditional guidance: use view=summary for totals over time, view=treasury/agency with as_of_date for a snapshot, holding_type to narrow, and cusip alone to bypass view. What's missing is any explicit when-not or reference to alternative tools for different Fed datasets, so it stops short of full routing 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.