Skip to main content
Glama

get_institution_holdings

Read-onlyIdempotent

Get current stock holdings of an institutional investor (hedge fund, mutual fund, pension fund) from their latest SEC 13F filing. Returns top positions with share counts, values, and quarter-over-quarter changes. Every answer states its grain: ENTITY (a CIK that belongs to a manager family is answered for the whole family by default -- pass entity='filer' for that one filer's own 13F) and SECURITY (the default portfolio merges an issuer's share classes into one row, e.g. GOOG+GOOGL, and lists the per-class breakdown; pass ticker to get only that security). Shares and value are the 13F-reported totals over all legs; option legs are flagged. structuredContent carries exact shares/values and the grain fields.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number
limitNoResults per page
entityNofamily (default): consolidate every 13F filer in the manager family; filer: only the requested CIK's own filing.family
tickerNoOnly this security (e.g. 'GOOG'). Returns the security grain: GOOG is Class C only, not the Alphabet issuer total.
institutionYesInstitution CIK number (e.g. '1067983'), slug (e.g. 'berkshire-hathaway'), or name (e.g. 'Berkshire Hathaway') — names are resolved automatically.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowsYes
viewYessnapshot = one quarter's holdings; history = one position across quarters (family + ticker), one row per quarter, newest first
familyYesThe manager family, when the answer is at family grain and ko.io named it
pagingYesPaging state reconciled from ko.io meta.total_count and meta.softwall
quartersYesDistinct quarter-ends present in rows, newest first
requestedYesThe institution identifier the caller passed
plan_limitYesThe Free/keyless plan limits ko.io applied to this answer (null for paid callers)
entity_grainYesfiler = one 13F filer's own filing; family = consolidated across a manager family's filers
quarter_dateYesThe snapshot's quarter; null for a history (each row carries its own quarter_date)
resolved_cikYesThe CIK ko.io answered for (the family's canonical CIK at family grain)
requested_cikYesThe CIK/slug the request was made for
ticker_filterYes
position_basisYesWhat shares_held/holding_value count, when ko.io stated it (e.g. 13f_reported_all_legs)
security_grainYessecurity = one row per security/share class; issuer = share classes of one issuer merged; mixed = portfolio with some merged rows

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / entity
      Added value: +{
      +  "default": "family",
      +  "description": "family (default): consolidate every 13F filer in the manager family; filer: only the requested CIK's own filing.",
      +  "enum": [
      +    "family",
      +    "filer"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / ticker
      Added value: +{
      +  "description": "Only this security (e.g. 'GOOG'). Returns the security grain: GOOG is Class C only, not the Alphabet issuer total.",
      +  "maxLength": 20,
      +  "type": "string"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "entity_grain": {
      +      "description": "filer = one 13F filer's own filing; family = consolidated across a manager family's filers",
      +      "enum": [
      +        "filer",
      +        "family",
      +        "unknown"
      +      ],
      +      "type": "string"
      +    },
      +    "family": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "canonical_cik": {
      +              "$ref": "#/properties/family/anyOf/0/properties/slug"
      +            },
      +            "name": {
      +              "$ref": "#/properties/family/anyOf/0/properties/slug"
      +            },
      +            "slug": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "slug",
      +            "name",
      +            "canonical_cik"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "The manager family, when the answer is at family grain and ko.io named it"
      +    },
      +    "paging": {
      +      "additionalProperties": false,
      +      "description": "Paging state reconciled from ko.io meta.total_count and meta.softwall",
      +      "properties": {
      +        "continuation": {
      +          "description": "SIGNIN_REQUIRED = page>1 needs a (free) ko.io API key",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "has_more": {
      +          "description": "null = a full page came back and more MAY exist",
      +          "type": [
      +            "boolean",
      +            "null"
      +          ]
      +        },
      +        "next_page": {
      +          "anyOf": [
      +            {
      +              "$ref": "#/properties/rows/items/properties/reported_by_members/anyOf/0"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Next page THIS caller can open; null when there is none (or sign-in is required)"
      +        },
      +        "page": {
      +          "type": "integer"
      +        },
      +        "per_page": {
      +          "type": "integer"
      +        },
      +        "plan_row_cap": {
      +          "anyOf": [
      +            {
      +              "$ref": "#/properties/rows/items/properties/reported_by_members/anyOf/0"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Row cap the caller's plan applied to this page, if any"
      +        },
      +        "returned": {
      +          "type": "integer"
      +        },
      +        "total_count": {
      +          "anyOf": [
      +            {
      +              "$ref": "#/properties/rows/items/properties/reported_by_members/anyOf/0"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Total rows matching the request, when ko.io reported it"
      +        },
      +        "truncated_by_plan": {
      +          "description": "True when the plan's row cap withheld rows from this page",
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "page",
      +        "per_page",
      +        "returned",
      +        "total_count",
      +        "has_more",
      +        "next_page",
      +        "continuation",
      +        "plan_row_cap",
      +        "truncated_by_plan"
      +      ],
      +      "type": "object"
      +    },
      +    "plan_limit": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "continuation": {
      +              "$ref": "#/properties/family/anyOf/0/properties/slug"
      +            },
      +            "date_basis": {
      +              "$ref": "#/properties/family/anyOf/0/properties/slug"
      +            },
      +            "effective_period": {
      +              "$ref": "#/properties/family/anyOf/0/properties/slug"
      +            },
      +            "policy_version": {
      +              "$ref": "#/properties/family/anyOf/0/properties/slug"
      +            },
      +            "row_cap": {
      +              "$ref": "#/properties/rows/items/properties/reported_by_members"
      +            },
      +            "truncated": {
      +              "type": [
      +                "boolean",
      +                "null"
      +              ]
      +            },
      +            "window_end": {
      +              "$ref": "#/properties/family/anyOf/0/properties/slug"
      +            },
      +            "window_start": {
      +              "$ref": "#/properties/family/anyOf/0/properties/slug"
      +            }
      +          },
      +          "required": [
      +            "policy_version",
      +            "window_start",
      +            "window_end",
      +            "effective_period",
      +            "date_basis",
      +            "row_cap",
      +            "truncated",
      +            "continuation"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "The Free/keyless plan limits ko.io applied to this answer (null for paid callers)"
      +    },
      +    "position_basis": {
      +      "description": "What shares_held/holding_value count, when ko.io stated it (e.g. 13f_reported_all_legs)",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "quarter_date": {
      +      "description": "The snapshot's quarter; null for a history (each row carries its own quarter_date)",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "quarters": {
      +      "description": "Distinct quarter-ends present in rows, newest first",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "requested": {
      +      "description": "The institution identifier the caller passed",
      +      "type": "string"
      +    },
      +    "requested_cik": {
      +      "description": "The CIK/slug the request was made for",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "resolved_cik": {
      +      "description": "The CIK ko.io answered for (the family's canonical CIK at family grain)",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "rows": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "action": {
      +            "$ref": "#/properties/family/anyOf/0/properties/slug"
      +          },
      +          "call_shares": {
      +            "$ref": "#/properties/rows/items/properties/shares_held"
      +          },
      +          "cik": {
      +            "$ref": "#/properties/family/anyOf/0/properties/slug"
      +          },
      +          "equity_shares": {
      +            "$ref": "#/properties/rows/items/properties/shares_held"
      +          },
      +          "has_option_legs": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "holding_value": {
      +            "$ref": "#/properties/rows/items/properties/shares_held"
      +          },
      +          "issuer": {
      +            "$ref": "#/properties/family/anyOf/0/properties/slug"
      +          },
      +          "portfolio_weight_pct": {
      +            "$ref": "#/properties/rows/items/properties/shares_held"
      +          },
      +          "put_shares": {
      +            "$ref": "#/properties/rows/items/properties/shares_held"
      +          },
      +          "quarter_date": {
      +            "$ref": "#/properties/family/anyOf/0/properties/slug"
      +          },
      +          "reported_by_members": {
      +            "anyOf": [
      +              {
      +                "type": "integer"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "security_grain": {
      +            "enum": [
      +              "security",
      +              "issuer"
      +            ],
      +            "type": "string"
      +          },
      +          "share_change": {
      +            "$ref": "#/properties/rows/items/properties/shares_held"
      +          },
      +          "share_classes": {
      +            "description": "Per-class breakdown of an issuer-grain row; empty at security grain",
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "holding_value": {
      +                  "$ref": "#/properties/rows/items/properties/shares_held"
      +                },
      +                "shares_held": {
      +                  "$ref": "#/properties/rows/items/properties/shares_held"
      +                },
      +                "ticker": {
      +                  "$ref": "#/properties/family/anyOf/0/properties/slug"
      +                }
      +              },
      +              "required": [
      +                "ticker",
      +                "shares_held",
      +                "holding_value"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "shares_held": {
      +            "anyOf": [
      +              {
      +                "pattern": "^-?\\d+(\\.\\d+)?([eE][-+]?\\d+)?$",
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Exact decimal string as served by ko.io (not rounded); null = unknown"
      +          },
      +          "ticker": {
      +            "$ref": "#/properties/family/anyOf/0/properties/slug"
      +          },
      +          "tickers": {
      +            "description": "Share-class tickers summed into this row (one entry at security grain)",
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "cik",
      +          "ticker",
      +          "issuer",
      +          "quarter_date",
      +          "shares_held",
      +          "holding_value",
      +          "portfolio_weight_pct",
      +          "action",
      +          "share_change",
      +          "security_grain",
      +          "tickers",
      +          "share_classes",
      +          "equity_shares",
      +          "call_shares",
      +          "put_shares",
      +          "has_option_legs",
      +          "reported_by_members"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "security_grain": {
      +      "description": "security = one row per security/share class; issuer = share classes of one issuer merged; mixed = portfolio with some merged rows",
      +      "enum": [
      +        "security",
      +        "issuer",
      +        "mixed"
      +      ],
      +      "type": "string"
      +    },
      +    "ticker_filter": {
      +      "$ref": "#/properties/family/anyOf/0/properties/slug"
      +    },
      +    "view": {
      +      "description": "snapshot = one quarter's holdings; history = one position across quarters (family + ticker), one row per quarter, newest first",
      +      "enum": [
      +        "snapshot",
      +        "history"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "requested",
      +    "requested_cik",
      +    "resolved_cik",
      +    "entity_grain",
      +    "family",
      +    "security_grain",
      +    "ticker_filter",
      +    "position_basis",
      +    "view",
      +    "quarters",
      +    "quarter_date",
      +    "rows",
      +    "paging",
      +    "plan_limit"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already mark this as read-only, idempotent, and non-destructive, so the bar for additional disclosure is lower. The description goes well beyond that by explaining the default entity-family consolidation, the security-level share-class merging (GOOG+GOOGL), the behavior of the `ticker` parameter, option-leg flagging, and that structuredContent carries exact values. This is rich, non-obvious behavioral context that an agent needs.

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?

The description is dense but every sentence earns its place. It front-loads the core purpose, then explains the two key grain behaviors and the structuredContent guarantee. No filler or repetition of schema details; the structure makes the complex grain semantics easy to follow.

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 output schema exists, return values do not need to be re-explained. The description covers the important contextual aspects: default entity behavior, security grain behavior, share-class merging, option-leg handling, and structuredContent exactness. Pagination is already in the schema. Nothing essential is missing for an agent to call this tool correctly.

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%, so the baseline is 3, but the description adds substantial meaning beyond the schema. It explains the entity grain options ('family' vs 'filer'), how `ticker` changes the grain to a specific share class, that share classes are merged by default, and that shares/value are 13F-reported totals over all legs. This materially helps an agent choose correct parameter values.

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 a specific verb and resource: 'Get current stock holdings of an institutional investor ... from their latest SEC 13F filing.' It clearly defines what is returned (top positions, share counts, values, quarter-over-quarter changes) and distinguishes this from other stock-holder tools by focusing on institutional 13F filings. The grain discussion further clarifies the tool's exact scope.

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?

The description gives clear context about when to use the tool — when you need institutional investor holdings from 13F filings — but it does not explicitly name alternatives or state when not to use it. The grain and parameter guidance is useful for invoking the tool correctly, but there is no explicit comparison to sibling tools such as get_stock_holders.

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.