Skip to main content
Glama

KeyVex

get_sec_fails_to_deliver

Read-only

Returns SEC Fails-to-Deliver (FTD) rows — daily settlement failures by ticker / CUSIP / date. Each row is one ticker on one settlement date where a clearing-member's short sale FAILED to deliver shares. Signal value: persistent FTDs are a contrarian short-squeeze leading indicator. When the daily FTD quantity spikes on a ticker, it often means naked short pressure overwhelming locate supply or settlement / locate mechanism breaking down. The Reg SHO Threshold Securities list (FTDs > 0.5% of issued shares for 5+ consecutive days) is a derived view; this tool exposes the underlying daily data. Source: SEC bi-monthly cnsfails<a|b>.zip files at sec.gov/files/data/fails-deliver-data/. Published ~1 week after each half-month settlement period. Coverage: every U.S.-listed security with a recorded settlement failure during the period. Killer query patterns: - Daily FTD history for a ticker: ticker='GME' + sort_by='settlement_date' - Largest FTDs this month: min_value=1000000 + sort_by='fail_value' - Squeeze setup candidates: min_quantity=100000 + recent dates - Look-up by CUSIP: cusip='B6S7WD106' (foreign issuers, complex names) Derived field: fail_value = quantity_fails × price (dollar magnitude of the failure on that day). Reference price comes from the SEC's posted value at settlement. Note: FTDs are bi-monthly batch-published, not real-time. SEC releases each half-month batch (cnsfailsa = days 1-15, b = 16-end) roughly 2-4 weeks AFTER that half-month period closes, so the most recent settlement date can be 2-4 weeks behind today (e.g. in mid-June the latest published batch is first-half-May, with settlement dates through ~May 15). That apparent lag is the SEC publish cadence, not a KeyVex freshness gap.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoDirect doc lookup ({YYYY-MM-DD}-{cusip}). Fastest path.
cusipNoExact CUSIP (preferred for foreign issuers / class shares).
limitNoMax records. Default 50, max 500.
sinceNoInclusive lower bound on settlement_date (YYYY-MM-DD).
untilNoInclusive upper bound on settlement_date (YYYY-MM-DD).
tickerNoTicker symbol (uppercased automatically).
sort_byNoSort key. Default: settlement_date.
min_valueNoInclusive lower bound on fail_value (dollars). E.g., 1000000 surfaces only $1M+ failures.
sort_orderNoDefault: desc.
min_quantityNoInclusive lower bound on quantity_fails (shares). E.g., 100000 surfaces only large failures.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint/openWorldHint/destructiveHint=false), the description discloses non-obvious behavioral facts an agent would otherwise get wrong: bi-monthly batch publication, the cnsfails<YYYYMM>a/b split, the 2-4 week publish lag, and an explicit warning that apparent staleness is SEC cadence rather than a freshness bug. It also defines the derived fail_value field and its reference price.

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?

Well front-loaded: purpose, then row semantics, then signal value, source, coverage, query patterns, then caveats. It is long and the 'Signal value' interpretation (naked short pressure, locate mechanism breakdown) is arguably padding for a retrieval tool, but the structure is clean and each remaining sentence carries usable information.

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?

For a 10-parameter, zero-required, no-output-schema tool, the description covers source, publication cadence, coverage universe, row grain, derived fields, and concrete query recipes. An agent has everything needed to select filters, sort correctly, and interpret freshness without a return-value 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 baseline is 3, but the description adds real meaning the schema lacks: it defines fail_value = quantity_fails × price and its reference-price source, and gives worked examples for min_value and min_quantity thresholds plus when to prefer cusip over ticker. It stops short of documenting id/since/until/limit/sort_order beyond what the schema already says.

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 verb+resource ('Returns SEC Fails-to-Deliver (FTD) rows — daily settlement failures by ticker / CUSIP / date') and immediately scopes what one row means (one ticker on one settlement date). It is clearly distinguishable from the many sibling datasets (insider filings, institutional holdings, etc.) because it pins the exact SEC dataset and grain.

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 provides explicit 'Killer query patterns' with concrete parameter combinations for each intent (daily history, largest FTDs this month, squeeze candidates, CUSIP lookup), which is strong when-to-use guidance. It does not, however, name an alternative tool (e.g. unified_search) or state when this tool should be avoided, 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.

Resources