Skip to main content
Glama

Form4API — SEC Insider Trading

Data ingestion health

health_ingestion
Read-onlyIdempotent

Ingestion-death detector — Form 4 freshness, parse-queue health, price-feed freshness. Returns live (uncached) ingestion health: Form 4 processing freshness (stale after 90 minutes during the weekday 06:00-22:00 US Eastern EDGAR activity window, counted from the later of the last filing and the 06:00 opening; outside it, 14 hours or the time since the window last closed plus 90 minutes, whichever is longer, so a normal weekend never reads as stale), parse-queue health (stale when >50 jobs are pending AND the oldest has waited >45 minutes), and daily price-feed freshness (degraded, never stale, when price bars are >5 days behind). Overall status is "healthy", "degraded" (price feed only), or "stale" (Form 4 or queue). Returns HTTP 503 when stale, 200 otherwise — safe to point an external uptime monitor at directly. No API key or plan required.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observed

TDQS

A4/5.0
Behavior5/5

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

The description goes far beyond the readOnly/idempotent annotations, disclosing exact staleness thresholds, the weekend-adjusted freshness rule, the >50 pending AND >45-minute wait queue condition, and the distinction between 'degraded' (price feed only) and 'stale'. It also discloses an unusual side effect—HTTP 503 vs 200—that an agent cannot infer from annotations or an absent output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core verdict ('Ingestion-death detector') is front-loaded, but the bulk is a single run-on sentence with deeply nested parentheticals covering window arithmetic and threshold logic, which is hard to parse on first read. Every clause is substantive, yet the structure could be split into separate sentences for statuses and HTTP behavior.

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 no output schema, the description must explain return values, and it does: it enumerates the three status values, their triggering conditions, and the HTTP 503/200 mapping. An agent has everything needed to call a zero-parameter tool and interpret its response.

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?

The tool takes zero parameters, so the schema carries no semantic burden and the baseline is 4. The description adds no parameter meaning because none exists, but it also introduces no misleading input expectations.

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?

The description states a specific verb and resource ('Returns live (uncached) ingestion health') with concrete scope: Form 4 freshness, parse-queue health, and price-feed freshness. The 'live (uncached)' qualifier implicitly separates it from history-style siblings like get_status_history, but no sibling (e.g., get_data_quality) is named, so the differentiation is inferential rather than explicit.

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?

Usage context is implied rather than stated: 'safe to point an external uptime monitor at directly' and 'No API key or plan required' suggest monitoring/auth-free polling, which is helpful. However, there is no explicit when-to-use versus when-not, and no named alternative (get_data_quality, get_status_history) for an agent choosing between them.

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.