Skip to main content
Glama

Holdings

holdings
Read-onlyIdempotent

Read the holdings table — the positions themselves — instead of the whole context. sort: weight (default), value, dayChange (today's money move), dayChangePct (today's move in percent), gainPct, gainAbs, loss (biggest losses first), name, symbol; order desc|asc overrides the sensible default for the key. limit is 1-50 (default 10) with offset/nextOffset paging. filter narrows by account label, assetClass (Equities, Bonds, Gold & commodities, Real estate, Crypto, Cash, Other), category, sector, region, currency, an explicit symbols list and minWeight (a PERCENT, so 5 means 5%). fields picks the row width: core (symbol, name, weightPct, value, dayChangePct, dayChangeAbs, totalGainPct, totalGainAbs, quantity, assetClass, sector, category, accounts), fundamentals (adds valuation, growth, fair value, analyst view), lots (adds open quantity, tax-free quantity and the next maturity) or all. Every field ending in Pct is a PERCENT (4.32 = 4.32%). total counts the filtered list, not the page. Positions under 0.1% of the portfolio have no row: smallHoldingsGrouped gives their count, value and combined weight; a filter by symbols, assetClass, category or sector also names the matching ones, with their category, under notListed — held, but without a row. 'Top 5 holdings' is one call: sort=weight, limit=5.

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": "holdings"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNo
limitNo
orderNo
fieldsNo
filterNo
offsetNo
dashboardIdNoWhich live dashboard (browser tab) runs it; from get_dashboard_state. Optional when one tab stands out: the tab the user last approved an action in, the only live tab, or the only tab on screen. Refused before any approval when the target is ambiguous or disconnected.
idempotencyKeyNo
expectedRevisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantial non-obvious behavior on top: positions under 0.1% have no row, smallHoldingsGrouped reports their aggregate, filter matches appear under notListed, and total counts the filtered list rather than the page. It also clarifies percent semantics for all Pct-suffixed fields, which prevents real misinterpretation of returned values.

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?

Front-loads the purpose before the option inventory, and every clause carries information — enum values, defaults, the percent caveat, the notListed behavior. The dense semicolon-separated listing is efficient but reads as a wall of text, which slightly hurts scannability for a long parameter inventory.

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 nine-parameter tool with a nested filter object and no output schema, the description covers both the inputs and the shape of what comes back (core/fundamentals/lots/all row widths, total semantics, grouped small holdings). Nothing an agent needs in order to call it correctly is missing.

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?

With only 11% schema description coverage, the description carries most of the load: it enumerates all nine sort keys, the default sort and the order override, the 1-50 limit range and default, every filter dimension including the assetClass enum values, the minWeight-is-a-percent caveat, and the contents of each fields mode. Only idempotencyKey and expectedRevision are left unexplained anywhere, which is the main remaining gap.

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?

Opens with a specific verb and resource ('Read the holdings table — the positions themselves') and immediately scopes it against the broader alternative ('instead of the whole context'), which maps to the get_context sibling. An agent can tell instantly which resource this returns and how it differs from a full-context read.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a concrete usage recipe ('Top 5 holdings' is one call: sort=weight, limit=5) and steers away from whole-context reads, plus explains paging via offset/nextOffset. It does not explicitly name or exclude the adjacent filter_holdings / filter_holdings_columns siblings, so the alternative-selection guidance is strong but not exhaustive.

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.