Skip to main content
Glama

Form4API — SEC Insider Trading

Find companies and insiders

search
Read-onlyIdempotent

Resolve free-text input — a company name, ticker fragment, or a person's name — to a ticker or CIK. This is usually the right FIRST call when a user names a company or insider you don't already have an identifier for; feed the resulting ticker into get_company_overview/get_transactions or the CIK into get_insider_profile/get_insider_transactions. Returns two independently-ranked lists: companies (only ones with a resolved public ticker, ranked exact ticker match, then ticker-prefix, then name-prefix, then name-contains) and insiders (matched by splitting the query on whitespace so every token must match the name, e.g. "tim cook" matches SEC-style "Cook Timothy D"; ranked by total filing count, most active first). Each insider's ticker is a ticker associated with that insider (may be null). q must be 2-64 characters after trimming (400 QUERY_TOO_SHORT/QUERY_TOO_LONG). limit applies independently to each list, default 8, max 20. Free plan, no caching.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "q": "<q>"
    },
    "name": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch text — a company name/ticker fragment and/or a person's name, in any order (e.g. "tim cook" matches insider "Cook Timothy D"). Trimmed before validation; must be 2-64 characters after trimming.
limitNoMaximum number of results per section (companies, insiders), applied independently to each. Defaults to 8, clamped to 1-20.

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 declare readOnly/openWorld/idempotent/non-destructive, and the description goes well beyond them: it discloses the two independently-ranked result lists, the exact ranking keys for each, the whitespace-token matching rule with a worked example, nullability of insider `ticker`, and the 400 QUERY_TOO_SHORT/QUERY_TOO_LONG failure modes. The "free plan, no caching" note adds operational context the 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.

Conciseness5/5

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

Front-loaded with purpose and the first-call recommendation, then result shape, then parameter constraints — no filler and no repetition. The ranking detail is long but justified because there is no output schema to explain the ordering.

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 carries the return-value burden and does it: list names, per-list ranking, nullability, and per-list `limit` semantics are all spelled out. Combined with error codes and the downstream-tool handoff, an agent has everything needed to call and interpret this correctly.

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 schema already documents `q` and `limit` fully; the description still adds the silently-clamped 1-20 range behavior and the specific error codes produced by length violations. It edges above the baseline-3 case by tying parameter constraints to observable failure modes rather than restating the field text.

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 outcome — resolve free-text input to a ticker or CIK — and explicitly frames itself as the identifier-lookup step that feeds get_company_overview/get_transactions and get_insider_profile/get_insider_transactions. An agent can tell what this returns and how it differs from the retrieval siblings without opening any schema.

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?

Gives explicit trigger conditions ("usually the right FIRST call when a user names a company or insider you don't already have an identifier for") and names the downstream tools to use with each output type. It does not carve out when to prefer the sibling search_insiders instead, which is the one plausible ambiguity left for an agent choosing between the two search entry points.

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.