Skip to main content
Glama
stagproject

SEC EDGAR Filings MCP

purchase_filing

Purchase and deliver a full SEC filing with alpha signals, causality events, and financial metrics. Requires a two-step on-chain USDC payment via Polygon.

Instructions

Purchase and deliver one full SEC filing row from fi_listings_portfolio (MPP v1.0 x402). [COST: xpay per-call + on-chain USDC data price (see FINANCE_FILING_PRICE_USD)] Full JSON includes alpha_signals with evidence_verified causality_events and financial_metrics from SEC CompanyFacts. Do NOT return agent_bundle or internal pipeline fields.

[AGENTIC WORKFLOW — mandatory 2-step 402 flow]: STEP 1: Call with document_id and network only; leave tx_hash EMPTY. STEP 2: Broadcast the exact transaction_payload on-chain (polygon USDC default). STEP 3: Call again with the same document_id, network, and confirmed tx_hash (66 chars).

[EXAMPLE ARGUMENTS - MINIMAL (Step 1 — payment info)]: {"document_id": "000000708426000023", "network": "polygon"}

"document_id": "000000708426000023", "network": "polygon", "tx_hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef" }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
document_idYesdocument_id from search_filings or get_filing_sample.
networkNoBlockchain network. Default polygon (USDC). Also supports base.polygon
tx_hashNoTransaction hash. LEAVE EMPTY on first call to receive 402 payment instructions.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations provided, the description fully discloses the tool's behavior: it requires an on-chain payment via 402 workflow, calls must be made in two phases, and the output includes alpha_signals and financial_metrics. It explicitly states what is not returned (agent_bundle or internal pipeline fields).

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 well-structured with clear sections: purpose, cost, output, workflow, examples. It is somewhat lengthy but every sentence adds value. Minor redundancy could be trimmed, but overall effective.

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?

Given the complexity of the 402 payment workflow, the description is highly complete: it explains the multi-step process, expected output, cost, parameter usage, and what not to include. Schema and output schema support completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds significant meaning: document_id origin (search_filings or get_filing_sample), network default and alternative, and crucial instruction to leave tx_hash empty on first call. Example arguments further clarify usage.

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 clearly states the tool purchases and delivers one full SEC filing row from fi_listings_portfolio. It distinguishes from siblings get_filing_sample and search_filings, which are for browsing/finding filings, by focusing on the purchase action.

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?

The description explicitly provides a mandatory 2-step 402 flow with step-by-step instructions, example arguments for minimal and maximal calls, and cost details. It clearly indicates when to use the tool (after finding a filing) and how to perform the payment workflow.

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/stagproject/sec-filings-mcp'

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