Skip to main content
Glama

Form4API — SEC Insider Trading

Insider leaderboard

get_insider_leaderboard
Read-onlyIdempotent

Ranked leaderboard of insiders by buy track-record (Business plan+). Returns the top insiders ranked by historical buy performance — same scored-buy methodology as GET /v1/insiders/{cik}/scorecard, applied across the whole corpus rather than one insider. Use this to discover which insiders have the best track record; use the per-insider scorecard once you have a specific CIK. Scores use absolute return (NOT market-adjusted) — a hit is a scored buy with a positive 3m (or 6m) return anchored at the filing-date close. Only discretionary open-market buys (P-code, not 10b5-1, not derivative) with a matured return are counted. Insiders with fewer than min_trades (floor 5) scored buys are excluded. Requires Business plan or higher (402 PLAN_REQUIRED on Free/Starter/Pro). Results are cached for 1 hour per unique parameter combination.

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": "get_insider_leaderboard"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of insiders to return. Defaults to 25, maximum 100.
orderNo"hit_rate" (% of scored buys with a positive return) or "avg_return" (mean scored return). Defaults to "hit_rate".
horizonNo"3m" or "6m" — the post-trade return horizon to score and rank by. Defaults to "3m".
min_tradesNoMinimum number of scored buys an insider must have to be ranked. Defaults to 5; values below 5 are silently raised to 5 (the scorecard sample-sufficiency floor).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover the read-only, idempotent, non-destructive profile, yet the description still adds non-obvious behavior: Business-plan gating with the specific 402 PLAN_REQUIRED error on lower tiers, a 1-hour cache per unique parameter combination, and the inclusion rules (P-code discretionary open-market buys only, no 10b5-1, no derivatives, matured return required, min_trades exclusion). This is materially more than the annotations provide.

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?

Front-loaded with what the tool returns and how it differs from the scorecard, then methodology, then gating and caching. Dense but nearly every clause carries information; the reference to the REST path GET /v1/insiders/{cik}/scorecard is slightly extraneous framing for a tool call.

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 adequately conveys what comes back (top insiders ranked by buy performance under a specified order/horizon) but does not enumerate response fields such as the insider identity, CIK, trade counts, or hit rate values. For a four-parameter, zero-required-parameter read tool, this is nearly complete, with only the return shape left implicit.

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; the description still adds cross-parameter meaning by defining what a "hit" is under horizon (positive 3m or 6m return anchored at the filing-date close) and restating the min_trades floor-of-5 exclusion rule, which explains why low-sample insiders silently vanish from results. Remaining gap is it doesn't clarify whether order=avg_return interacts with horizon selection beyond what the schema 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?

States a specific verb and resource ("ranked leaderboard of insiders by buy track-record") plus the exact ranking basis, and explicitly contrasts itself with the per-insider scorecard endpoint. An agent can distinguish this corpus-wide ranking tool from get_insider_scorecard without opening either schema.

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

Usage Guidelines5/5

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

Gives explicit routing: "Use this to discover which insiders have the best track record; use the per-insider scorecard once you have a specific CIK." That is a concrete when-to-use plus a named alternative with the condition that selects it.

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.