Skip to main content
Glama

SEC EDGAR: filings, insider trades, 13F

SEC 13F Holdings & Changes API: funds, ETFs, 13D/13G, Form 144

get_sec_ownership
Read-onlyIdempotent

Who owns a stock and who is about to sell it, from official SEC filings: what a fund such as Berkshire Hathaway holds (13F, with changes vs the previous quarter), what a mutual fund or ETF such as VOO or ARKK holds (N-PORT), which managers and funds hold a ticker, who filed a 5%+ stake (13D activist, 13G passive), and which insiders filed to sell (Form 144).

mode picks the data: holdings13f, holdingsNport, stakes13dg or planned144. For insider buys and sells (Form 4) use search_sec_insider_trades.

Inputs: mode decides which fields apply. holdings13f takes filer (a fund manager's name or CIK) or ticker/cusip (who holds that stock); holdingsNport takes fund (a fund or ETF ticker); stakes13dg and planned144 take ticker or issuerCik, or neither for the whole market, with dates or lookbackDays. quarter (e.g. 2026Q2) picks the report; minValueUsd is in US dollars.

Read-only, no side effects. Charged per row returned, at the price below; a call that fails or runs out of time (55 s) is free. If one source does not answer, the rest still comes back and warnings names the gap. Limit: 60 calls a minute per key (10 on a new free key); past it the call is refused (rate_limited, free): retry after about 10 seconds.

Price: $0.0018 per ownership-row.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_sec_ownership"
  }
}

Input Schema

NameRequiredDescriptionDefault
fundNoholdingsNport only: the fund's ticker (any share class)
modeNoholdings13f = Form 13F holdings of one fund manager (`filer`), with changes vs the previous quarterholdings13f
cusipNoholdings13f/holdingsNport only: the 9-character CUSIP of one share class, e.g. "037833100" (Apple common stock)
filerNoholdings13f only: the fund manager's name or SEC CIK, e.g. "Berkshire Hathaway" or "1067983"
dateToNostakes13dg / planned144: latest filing date, YYYY-MM-DD, e.g. "2026-10-31"
tickerNoThe company the shares are in, as a current US ticker, e.g. "AAPL"
quarterNoholdings13f/holdingsNport only: the quarter of the holdings, as "2026Q2" or the quarter end "2026-06-30"
dateFromNostakes13dg / planned144: earliest filing date, YYYY-MM-DD, e.g. "2026-10-01"
issuerCikNoInstead of `ticker`: the company's SEC CIK as digits, e.g. "320193" for Apple
maxResultsNoMaximum rows (one charged event each), e.g. 200
stakeFormsNostakes13dg only: which forms, e.g. ["13D"] for new activist stakes only
minValueUsdNoMinimum value in US dollars, e.g. 1000000
lookbackDaysNostakes13dg / planned144, used when `dateFrom` is empty: filings from this many days back until today, e.g. 30

Output Schema

NameRequiredDescriptionDefault
rowsYes
toolNo
countYes
messageNo
warningsNo
balance_usdNo
charged_usdNo
duration_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / filer / examples
      Added value: +[
      +  "Berkshire Hathaway"
      +]
    • addedInput schema / properties / mode / examples
      Added value: +[
      +  "holdings13f"
      +]
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "balance_usd": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "charged_usd": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "count": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "duration_seconds": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "message": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "rows": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "accession_number": {
      +            "description": "SEC accession number of the filing the row comes from.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "aggregate_market_value_usd": {
      +            "description": "form144: aggregate market value of the shares to be sold, in US dollars, as filed.",
      +            "type": [
      +              "null",
      +              "number"
      +            ]
      +          },
      +          "amendment_no": {
      +            "description": "stake: amendment number on the cover page (null for an original filing).",
      +            "type": [
      +              "null",
      +              "number"
      +            ]
      +          },
      +          "approx_sale_date": {
      +            "description": "form144: approximate date of sale (YYYY-MM-DD; the earliest if several).",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "asset_category": {
      +            "description": "fund_holding: the N-PORT asset category, e.g. EC (common equity), EP (preferred), DBT (debt), STIV (short-term investment vehicle), DE/DIR/DCR (derivatives).",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "broker_names": {
      +            "description": "form144: broker(s) or market maker(s) handling the sale.",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "change": {
      +            "description": "holding: new, increased, decreased, unchanged or closed (sold out) vs the previous quarter; null when unknown.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "country": {
      +            "description": "fund_holding: the investment's country (ISO 3166 alpha-2) as filed.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "currency": {
      +            "description": "fund_holding: the currency the security is denominated in (ISO 4217); value_usd is always in US dollars.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "cusip": {
      +            "description": "13F rows: 9-character CUSIP of the security.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "cusips": {
      +            "description": "stake: the issuer CUSIP(s) on the cover page.",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "event_date": {
      +            "description": "stake: date of the event that required the filing (YYYY-MM-DD).",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "exchanges": {
      +            "description": "form144: exchange(s) where the shares are to be sold.",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "filer_cik": {
      +            "description": "SEC CIK (10 digits) of the 13F manager, of the fund's registrant (trust), of the 13D/13G filer, or of the person filing the Form 144.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "filer_name": {
      +            "description": "holding/holder: the 13F manager. fund_holding/fund_holder: the fund (series) name. stake: the first reporting person on the filing.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "filing_date": {
      +            "description": "Date the SEC received the filing (YYYY-MM-DD).",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "filing_url": {
      +            "description": "EDGAR index page of the filing.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "form": {
      +            "description": "Form as filed: 13F-HR or 13F-HR/A; 13D, 13D/A, 13G or 13G/A (Schedule); 144 or 144/A.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "fund_net_assets_usd": {
      +            "description": "N-PORT rows: the fund's net assets in US dollars at period_of_report.",
      +            "type": [
      +              "null",
      +              "number"
      +            ]
      +          },
      +          "isin": {
      +            "description": "fund_holding: the security's ISIN when the fund reported one, e.g. US0378331005.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "issuer_cik": {
      +            "description": "stake/form144: SEC CIK (10 digits) of the issuer.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "issuer_lei": {
      +            "description": "fund_holding: the issuer's LEI when the fund reported one.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "issuer_name": {
      +            "description": "Company whose securities are held, owned or to be sold, as written in the filing (13F names are often abbreviated).",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "notice_date": {
      +            "description": "form144: date of the notice (YYYY-MM-DD).",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "payoff_profile": {
      +            "description": "N-PORT rows: Long, Short or N/A as filed.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "percent_of_class": {
      +            "description": "stake: percent of the class beneficially owned, the highest among the reporting persons (group members usually report the same aggregate).",
      +            "type": [
      +              "null",
      +              "number"
      +            ]
      +          },
      +          "period_of_report": {
      +            "description": "13F rows: the quarter end the holdings are reported for (YYYY-MM-DD). N-PORT rows: the date the fund's holdings are reported as of (a fund's fiscal quarter end, YYYY-MM-DD).",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "plan_adoption_dates": {
      +            "description": "form144: adoption dates of the Rule 10b5-1 trading plan, if the sale is under one (YYYY-MM-DD).",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "portfolio_pct": {
      +            "description": "holding: value as a percentage of the filing's total reported value. fund_holding/fund_holder: value as a percentage of the fund's net assets, as filed (closed positions 0).",
      +            "type": [
      +              "null",
      +              "number"
      +            ]
      +          },
      +          "previous_period": {
      +            "description": "holding: the previous quarter end the change is measured against.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "previous_shares": {
      +            "description": "holding: shares at the previous quarter end (0 = not held then, null = no 13F for that quarter).",
      +            "type": [
      +              "null",
      +              "number"
      +            ]
      +          },
      +          "previous_value_usd": {
      +            "description": "holding: value at the previous quarter end, in US dollars.",
      +            "type": [
      +              "null",
      +              "number"
      +            ]
      +          },
      +          "put_call": {
      +            "description": "13F rows: PUT or CALL for option positions (value = the underlying), null for shares and bonds.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "record_type": {
      +            "description": "holding = a position in one 13F filer's portfolio; holder = one 13F filer holding the asked stock (SEC Form 13F data set); fund_holding = a position in one mutual fund's or ETF's portfolio (Form N-PORT); fund_holder = one fund holding the asked stock (SEC Form N-PORT data set); stake = one Schedule 13D/13G filing; form144 = one Form 144 notice.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "registrant_name": {
      +            "description": "N-PORT rows: the registered investment company (trust) the fund belongs to, e.g. VANGUARD INDEX FUNDS.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "relationships": {
      +            "description": "form144: relationship to the issuer as filed, e.g. Director, Officer, 10% Securityholder.",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "reporting_persons": {
      +            "description": "stake: every reporting person on the cover pages: name, cik (null if none), percent_of_class, shares, person_type (SEC codes like IA, IN, PN, CO).",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "retrieved_at": {
      +            "description": "UTC time the row was produced.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "schema_version": {
      +            "description": "Output schema version.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "security_class": {
      +            "description": "stake/form144: class of securities as filed, e.g. Common Stock.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "seller_name": {
      +            "description": "form144: the person for whose account the securities are to be sold, as filed.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "series_id": {
      +            "description": "N-PORT rows: the fund's SEC series ID, e.g. S000002839 (Vanguard 500 Index Fund).",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "share_type": {
      +            "description": "13F and N-PORT rows: SH (shares) or PRN (principal amount); N-PORT also NC (contracts) or OU (other units).",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "shares": {
      +            "description": "13F rows: shares (or principal amount when share_type is PRN) held at quarter end, summed over the filing's lines; 0 for a closed position. stake: shares beneficially owned by the reporting person with the highest percent.",
      +            "type": [
      +              "null",
      +              "number"
      +            ]
      +          },
      +          "shares_change": {
      +            "description": "holding: shares minus previous_shares.",
      +            "type": [
      +              "null",
      +              "number"
      +            ]
      +          },
      +          "shares_change_pct": {
      +            "description": "holding: shares_change as a percentage of previous_shares (null when not held before).",
      +            "type": [
      +              "null",
      +              "number"
      +            ]
      +          },
      +          "shares_outstanding": {
      +            "description": "form144: shares of the class outstanding, as filed.",
      +            "type": [
      +              "null",
      +              "number"
      +            ]
      +          },
      +          "shares_to_be_sold": {
      +            "description": "form144: number of shares (units) to be sold, summed over the notice's lines.",
      +            "type": [
      +              "null",
      +              "number"
      +            ]
      +          },
      +          "source": {
      +            "description": "edgar-13f (the filing's information table), sec-13f-data-set (SEC Form 13F data set), edgar-nport (the fund's N-PORT-P XML), sec-nport-data-set (SEC Form N-PORT data set) or edgar-xml (the filing's XML).",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "source_url": {
      +            "description": "The exact SEC file the row was read from.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "stake_type": {
      +            "description": "stake: activist (Schedule 13D: may seek to influence control) or passive (Schedule 13G).",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "ticker": {
      +            "description": "Ticker of this security from the SEC's ticker list: the issuer by CIK or name, the share class by CUSIP or the class in title_of_class (GOOG for Alphabet class C). Null when unknown, or when the issuer has several share classes and the class can't be told (see ticker_candidates).",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "ticker_candidates": {
      +            "description": "When ticker is null because the issuer has several listed share classes: the issuer's tickers, main first (e.g. [\"BRK-B\", \"BRK-A\"]). Empty otherwise. Ticker filters match these too.",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "title_of_class": {
      +            "description": "13F rows: class of the security as filed, e.g. COM, CL A, CAP STK CL C.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "value_usd": {
      +            "description": "13F rows: market value in US dollars at quarter end as reported (filings before 2023-01-03 reported $1,000s and are multiplied by 1,000).",
      +            "type": [
      +              "null",
      +              "number"
      +            ]
      +          }
      +        },
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "type": "array"
      +    },
      +    "tool": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "warnings": {
      +      "items": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "rows",
      +    "count"
      +  ],
      +  "type": "object"
      +}
  3. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world, so the description is not obligated to cover safety. It still adds genuinely useful operational detail: per-row pricing of $0.0018, free on failure or 55-second timeout, partial results with a `warnings` field, a 60/min rate limit (10 on a new free key), and the `rate_limited` refusal with a ~10 second retry hint.

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?

Three tight blocks — value proposition, mode/input mapping, operational constraints and price — with the routing information up front. The first sentence is long and clause-heavy, but each clause names a distinct capability rather than padding.

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?

For a 13-parameter, four-mode tool with zero required fields, the definition covers the routing logic, per-mode inputs, cost model, timeout/partial-failure behavior, and rate limits. Since an output schema exists, the absence of return-value prose is appropriate.

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 adds cross-parameter meaning the schema cannot express: which fields belong to which mode, that stakes13dg/planned144 accept ticker or issuerCik or neither, that `lookbackDays` substitutes for `dateFrom`, and that `minValueUsd` and `quarter` are dollar- and quarter-shaped.

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 gives a concrete framing (ownership plus imminent selling) and then enumerates the exact datasets: 13F holdings with quarter-over-quarter changes, N-PORT fund/ETF holdings, 13D/13G stake filings, and Form 144 sale notices. It explicitly separates itself from the sibling search_sec_insider_trades, which covers Form 4 insider buys/sells.

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?

It tells the agent that `mode` is the routing decision, lists the four legal values, and names the alternative tool for the adjacent Form 4 use case. It also states the per-mode fallback behavior (ticker/issuerCik or neither for whole market), which is usage guidance, not just schema restatement.

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.