Skip to main content
Glama

Nyfed Primary Dealer Stats

nyfed_primary_dealer_stats
Read-onlyIdempotent

FR 2004 weekly primary dealer positioning/transaction survey (aggregate across all primary dealers). mode=list_series (default) browses the keyid catalog, pass keyid_filter (e.g. "treasury", "mbs", "agency") to find the codes you want. mode=latest returns the most recent weekly values for matching keyids. Data is reported for the current "series break" window automatically (definitions can change across windows; pass seriesbreak explicitly to pin one, see mode=list_series output for window ids).

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": {
      "mode": "list_series",
      "keyid_filter": "treasury"
    },
    "name": "nyfed_primary_dealer_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoDefault list_series.
limitNoDefault 50, max 200.
seriesbreakNoPin a specific series-break window id (e.g. "SBN2024"). Defaults to the current window.
keyid_filterNoSubstring to match against keyid or its description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open world), so the description gets credit for adding non-obvious domain behavior: results are aggregated across all dealers, data is automatically scoped to the current series-break window, and definitions can change between windows. The guidance to pin seriesbreak for reproducibility is exactly the kind of caveat annotations cannot express.

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 dataset identity is front-loaded, followed by mode behavior in the order an agent would use them (browse, then fetch). The parenthetical about series breaks is dense but earns its place by explaining an otherwise opaque parameter. Slightly overstuffed with nested asides, but no sentence is filler.

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?

For a four-parameter, all-optional read tool with no output schema, the description covers what the agent most needs: what the data is, how the two modes differ, and how series-break windows work. It does not describe the return shape or the limit parameter's effect on results, but those are minor for a simple catalog/latest lookup.

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%, so all four parameters are already documented, and the description largely restates them. It does add marginal value with concrete keyid_filter examples ("treasury", "mbs", "agency") and, most usefully, tells the agent where to discover valid seriesbreak ids (the mode=list_series output). That is a small increment over the schema, so a baseline 3 is appropriate rather than higher.

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 the exact dataset ("FR 2004 weekly primary dealer positioning/transaction survey, aggregate across all primary dealers") and then splits the tool's behavior into two named modes, so an agent knows precisely what resource is being retrieved and in what shape. It is clearly distinct from sibling NY Fed tools (reference rates, repo operations, SOMA holdings) without needing to enumerate them.

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 explicit mode selection guidance: list_series is the default catalog browse, latest returns recent weekly values, and keyid_filter is the mechanism to narrow the catalog. The seriesbreak guidance states when to pass it explicitly versus rely on the automatic current window. It stops short of stating when not to use this tool versus an alternative, but the mode-level routing is clear.

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.