Skip to main content
Glama

Form4API — SEC Insider Trading

Explain a signal

explain_signal
Read-onlyIdempotent

Explain why a signal fired: the insiders and trades counted, what was excluded, and the criteria (Business plan+). Use this when the question is WHY a named company's signal fired, or WHICH insiders and trades made up its cluster. It takes the ticker directly, so there is no need to call GET /v1/signals first; that endpoint is for finding which companies have signals. Reconstructs the full evidence behind one company's insider signal from GET /v1/signals: the detection criteria (5-day cluster window, 3-insider threshold, 90-day ratio window, 10b5-1 and derivative-row exclusion), the list of cluster buyers and sellers (each with their role and individual trades in the window), trades that were excluded from the cluster count and why (10b5-1 plan, derivative security, or superseded by amendment), and the raw buy/sell share totals behind the 90-day ratio. Use this to audit or debug a specific signal rather than to scan many companies (use GET /v1/signals for that). This is a LIVE reconstruction from current non-superseded data, computed on every request (no caching) — it can differ slightly from the originally stored signal if trades were amended afterward. Requires Business plan or higher (402 PLAN_REQUIRED on Free/Starter/Pro). Returns 404 COMPANY_NOT_FOUND if the ticker isn't tracked, 404 SIGNAL_NOT_FOUND if no signal exists for the given/most-recent date, or 400 INVALID_DATE if date isn't YYYY-MM-DD.

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": {
      "ticker": "<ticker>"
    },
    "name": "explain_signal"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoExact signal date to explain, format YYYY-MM-DD. Omit to explain the company's most recent signal. Returns 404 SIGNAL_NOT_FOUND if no signal exists for the given (or most recent) date.
tickerYesCompany ticker symbol, case-insensitive (e.g. "AAPL").

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 readOnly/idempotent annotations, it discloses that results are a live, uncached reconstruction computed per request that may differ from the stored signal after amendments — a critical behavioral caveat. It also states plan gating (402 PLAN_REQUIRED on Free/Starter/Pro) and maps three distinct error conditions (404 COMPANY_NOT_FOUND, 404 SIGNAL_NOT_FOUND, 400 INVALID_DATE) to their causes.

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 purpose is front-loaded and the substance (criteria, exclusions, live-computation caveat, errors) all earns its place. It is somewhat overlong and repeats the get_signals contrast twice ('that endpoint is for finding which companies have signals' and 'use GET /v1/signals for that'), which could be merged into one clause.

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?

There is no output schema, and the description carries that burden fully by enumerating the returned evidence: criteria thresholds, cluster buyers/sellers with roles and trades, excluded trades with reasons, and raw buy/sell totals. For a debugging/audit tool, nothing an agent needs in order to call it or interpret the result is missing.

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 both parameters are already documented in the input schema, and the description's note that it 'takes the ticker directly' is a usage point rather than new parameter meaning. The description does reinforce the optional-date default and its 404 behavior, but adds little beyond the schema's own text; the baseline of 3 applies.

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 opening sentence names a specific verb and resource ('Explain why a signal fired') and enumerates exactly what the output contains: insiders and trades counted, exclusions, and criteria. It further distinguishes itself from the sibling get_signals, so an agent can separate the two 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?

Explicit when-to-use is given ('WHY a named company's signal fired, or WHICH insiders and trades made up its cluster') along with the alternative and its own purpose ('use GET /v1/signals to scan many companies'). It even removes a precondition ('no need to call GET /v1/signals first'), which is rare and valuable 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.