Skip to main content
Glama

QuantFiPRO

Insider Trades

quantfipro_get_insider_trades
Read-onlyIdempotent

Form 4 open-market insider purchases (transaction_code='P') for a ticker over the lookback window. Excludes option exercises and stock grants. Sorted newest-first.

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": {
      "symbol": "<symbol>"
    },
    "name": "quantfipro_get_insider_trades"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax trade rows in the structured result (1-100, default 25). The text always shows the 10 most recent.
monthsNoLookback window in months (1-24, default 6; out-of-range is clamped, not rejected).
symbolYesStock ticker symbol, e.g. AAPL or BRK.B. Dot, dash, and space class separators are all accepted and normalized to the dash form.

Output Schema

NameRequiredDescriptionDefault
metaYesProvenance: where this data came from, how fresh it is, and when it was retrieved.
monthsYes
symbolYes
tradesYes
truncatedYes
matched_countYesEvery matched purchase in the requested window, including rows omitted by limit
total_buy_valueYesSum over every matched purchase, or null when the aggregate is incomplete
aggregate_truncatedYesTrue when total_buy_value is null because the scan cap was exceeded or a matched row lacks a dollar value

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the bar is lower. The description still adds real behavioral context beyond them: the transaction-code filter, what is deliberately excluded, and the newest-first sort order. It does not mention the text-vs-structured row discrepancy, but the schema parameter descriptions carry that detail.

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?

Three short sentences with no filler, and the most decision-relevant information (what is included and what is excluded) is front-loaded before the sort detail.

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?

An output schema exists, so return values need not be described, and the schema fully documents parameters. What remains is guidance on when to choose this versus the insider-cluster sibling, which is a small but real gap for a tool in a crowded family.

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 description coverage is 100%, so all three parameters (symbol, months, limit) are already documented with ranges, defaults, and normalization behavior. The description's only added meaning is that months defines a 'lookback window', which is a marginal restatement. Baseline 3 applies when the schema does the heavy lifting.

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 precise verb and resource: 'Form 4 open-market insider purchases (transaction_code='P') for a ticker over the lookback window.' The filtering logic and the exclusions (option exercises, stock grants) tell an agent exactly what class of data comes back, which is enough to separate it from a related tool like insider clusters without opening a schema.

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 is only implied: an agent can infer this is the tool for insider buying on a single ticker over a lookback period. There is no explicit when-to-use/when-not framing and no reference to the sibling insider-cluster tool that an agent might otherwise confuse it with, so routing still requires inference.

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