Skip to main content
Glama
thesma-dev

Thesma MCP Server

Official
by thesma-dev

get_insider_trades

Search SEC Form 4 insider trading filings for purchases, sales, grants, and option exercises. Filter by ticker, transaction type, minimum value, and date range.

Instructions

Get insider trading transactions (Form 4) — purchases, sales, grants, and option exercises. Use ticker to scope to one company, or omit to search across all companies. Filter by transaction type, minimum value, and date range. By default, rows are aggregated transaction events (same-day 10b5-1 tranches collapsed on person/date/type/security/ownership). Pass flat=True for the per-slice Form 4 rows. Args: ticker: Stock ticker (e.g. 'AAPL'), 10-digit CIK ('0000320193'), stripped CIK ('320193'), or historical ticker ('FB' resolves to META). Omit to search all companies.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flatNo
typeNo
limitNo
tickerNo
to_dateNo
from_dateNo
min_valueNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description discloses key behavioral traits: default aggregation ('rows are aggregated transaction events... same-day 10b5-1 tranches collapsed'), the flat=True option for per-slice rows, and ticker resolution ('historical ticker resolves to META'). This adds value beyond the schema, though it does not mention rate limits, auth, or other side effects.

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 description is reasonably concise and front-loaded with the core purpose. The 'Args:' block is slightly redundant because it duplicates ticker details already covered in the prose, but the overall structure is clear and not overly verbose.

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?

Considering 7 parameters, no annotations, and the presence of an output schema, the description covers the essential use cases: ticker scoping, filtering options, and default aggregation behavior. The lack of detail on 'limit' and transaction type values is a minor gap, but the description remains sufficiently complete for effective tool selection and invocation.

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 0%, so the description must compensate. It thoroughly explains ticker (including CIK, stripped CIK, historical ticker), explains flat=True, and mentions filtering by type, min_value, and date range. However, it omits the 'limit' parameter and does not specify allowed values or formats for 'type', 'min_value', or date range, leaving important gaps.

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 description opens with 'Get insider trading transactions (Form 4)' and lists transaction types (purchases, sales, grants, option exercises), clearly defining the tool's scope. This distinguishes it from sibling tools like get_executive_compensation or search_filings by focusing specifically on Form 4 insider trades.

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?

The description advises 'Use ticker to scope to one company, or omit to search across all companies' and mentions filtering by transaction type, minimum value, and date range, providing clear contextual guidance. However, it does not explicitly name alternative tools or state when not to use this tool, so it stops short of a full 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/thesma-dev/thesma-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server