Skip to main content
Glama

Portfolio Overlap Between Institutions

CompareInstitutionPortfolios
Read-only

Compare two institutions' 13F portfolios on their latest common report date to reveal shared and unique holdings, Jaccard similarity, and dollar-weighted overlap.

Instructions

Compare two institutions' 13F portfolios on their latest common report date. Returns Jaccard and dollar-weighted overlap, portfolio totals, and shared or unique positions. Published values normally use report-date closing prices, may fall back to filer values, and can be zero when unavailable. Resolve filer names with SearchInstitutions. For mutual-fund or ETF NPORT portfolios, use GetFundProfile.

Input Schema

NameRequiredDescriptionDefault
maxResultsNoMaximum number of stocks to return (default: 30, clamped to 1-500)
reportDateNoQuarter-end 13F report date in YYYY-MM-DD format (defaults to the latest common quarter; an off-quarter date snaps to the nearest common report on or before it)
institutionName1YesFirst institution name or CIK (a unique partial resolves; ambiguous partials return candidate CIKs)
institutionName2YesSecond institution name or CIK (a unique partial resolves; ambiguous partials return candidate CIKs)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations provide readOnlyHint=true, but the description adds substantial behavioral context: it lists the exact overlap metrics returned, notes that prices normally use report-date closing values but may fall back to filer values and can be zero when unavailable. This data-quality caveat is valuable beyond the annotation, though it doesn't cover auth or rate limits.

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?

Four efficiently front-loaded sentences: purpose, return values, data caveat, and alternatives. Each sentence adds useful information, though the data-quality sentence could be slightly tighter without losing meaning.

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 comparison tool with no output schema, the description adequately explains return values, data caveats, and alternative tools. It does not mention the maxResults limit or pagination behavior, but the schema covers maxResults, and no output schema exists to require additional explanation.

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 100%, so the schema already documents all four parameters thoroughly. The description adds the name-resolution tip and clarifies the 'common report date' concept, which gives some extra meaning, but the baseline of 3 is appropriate since the schema carries the primary documentation burden.

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?

States a specific verb (Compare), resource (institutions' 13F portfolios), and scope (latest common report date). It also names the return contents and differentiates from sibling tools like GetFundProfile and SearchInstitutions. An agent can immediately tell what this tool does.

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?

Explicitly names alternatives for specific cases: 'Resolve filer names with SearchInstitutions' and 'For mutual-fund or ETF NPORT portfolios, use GetFundProfile.' These are clear when-to-use and when-not-to-use directives that prevent mis-invocation.

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