Skip to main content
Glama

US stock and SEC data

get_stock_data
Read-onlyIdempotent

Use this when a research agent needs the legacy SEC fundamentals snapshot (kind="fundamentals") or the stock_filings alias (kind="filings", now the same as get_stocks_data kind="intuitive"). Prefer get_stocks_data for computed growth and signals. Pass symbol or omit to default to AAPL. Returns JSON in the data field with source attribution. Read-only; the only side effect is the payment you choose to make. Kinds and prices:

  • kind="filings": 10 sats or $0.01 USDC. Use this when an agent needs a company's latest fiscal-quarter snapshot with already-computed margins and growth, plus recent 10-K, 10-Q and 8-K links and the latest parsed Form 4 insider trade. Pass symbol or omit to default to AAPL. SEC EDGAR only. Informational only, not investment advice. MCP: get_stocks_data(kind="intuitive", symbol="NVDA").

  • kind="fundamentals": 30 sats or $0.025 USDC. Use this when a research or screening agent needs a company's reported financials: revenue, net income, EPS, shares, cash and debt from SEC EDGAR for one US ticker (omit symbol to default to AAPL), plus the ticker-to-CIK map. Not endorsed by the SEC. MCP: get_stock_data(kind="fundamentals", symbol="NVDA") Payment: Pay by calling without a credential, paying the Lightning invoice or the USDC amount, then retrying with l402_credential=':' or x402_payment. One payment buys one response. Details: https://api.bittuitive.ai/pay. Informational only; not financial, investment, legal or tax advice; provided as-is, with no warranty; verify before acting. https://api.bittuitive.ai/disclaimer.

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": {
      "kind": "<kind>"
    },
    "name": "get_stock_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesProduct to fetch. Every kind, its price and when to use it are listed in the tool description.
symbolNoUS ticker, e.g. NVDA or AAPL. Optional; defaults to AAPL for SEC filings and fundamentals.
credit_tokenNoPrepaid token (btf_..., from buy_credits). Pays this call from your prepaid sats or USDC balance with no invoice; a failed call is refunded. Balance is non-refundable.
x402_paymentNox402 payment (USDC on Base): base64 PaymentPayload signed for accepts[0] of the payment_required result. Alternative to l402_credential; also accepted in params._meta['x402/payment'].
l402_credentialNoL402 credential '<macaroon>:<preimage_hex>' from a paid invoice (or an active subscription). Omit it on the first call to receive the Lightning invoice and macaroon.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "fundamentals",
      -  "filings"
      -]New value: +[
      +  "filings",
      +  "fundamentals"
      +]
    • changedInput schema / properties / symbol / description
      Previous value: -"US ticker, e.g. NVDA or AAPL. Required."New value: +"US ticker, e.g. NVDA or AAPL. Optional; defaults to AAPL for SEC filings and fundamentals."
  2. Changed2 schema fields changed
    • changedInput schema / properties / kind / description
      Previous value: -"Which product to fetch; see the price of each in the tool description."New value: +"Product to fetch. Every kind, its price and when to use it are listed in the tool description."
    • changedInput schema / properties / symbol / description
      Previous value: -"US ticker, e.g. NVDA. Required for every kind except movers."New value: +"US ticker, e.g. NVDA or AAPL. Required."
  3. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/destructiveHint=false, and the description harmonizes with them ('Read-only; the only side effect is the payment') while disclosing behavior annotations cannot express: the per-kind price, the 'one payment buys one response' rule, the pay-then-retry credential flow, and the SEC EDGAR source plus 'not endorsed by the SEC' caveat. It stops short of describing what a failed or unpaid first call returns, which the schema only obliquely covers.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The per-kind pricing block is well organized, but the 'Pass symbol or omit to default to AAPL' instruction appears three times and the 'informational only, not investment advice' disclaimer appears twice, bloating an already long description. The valuable routing sentence is front-loaded, so the repetition costs brevity rather than comprehension.

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?

For a paid, open-world data-fetch tool with no output schema, the description covers pricing, payment paths, parameter defaults, data provenance, and return shape ('JSON in the `data` field with source attribution'), which is nearly everything an agent needs. The only gap is the unresolved guidance on whether filings' computed growth makes get_stocks_data redundant.

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 baseline is 3, but the description actively carries the semantics for the required `kind` enum by attaching a price and a use case to each value, which the schema itself defers to ('listed in the tool description'). The symbol default is repeated but adds nothing beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The definition names the exact resources: a legacy SEC fundamentals snapshot (kind="fundamentals") and the stock_filings alias (kind="filings"), and explicitly routes computed growth/signals to the sibling get_stocks_data. A minor internal tension exists because kind="filings" is later said to include 'already-computed margins and growth', which partially undercuts the earlier 'prefer get_stocks_data for computed growth', but the overall purpose is still unambiguous.

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?

Each kind gets an explicit 'use this when...' condition (recent fiscal-quarter snapshot with filings links and Form 4 for filings; reported financials revenue/net income/EPS for fundamentals), and a named alternative (get_stocks_data) with the condition that selects it. The agent does not have to infer which kind or which sibling to pick.

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