Skip to main content
Glama

Portfolio overview

get_core
Read-onlyIdempotent

Read the whole portfolio as one small digest (at most 16 000 characters, about 4 000 tokens) instead of the enormous get_context union: asOf, the value/cash/day-change/P-L totals with the per-account split, time-weighted and money-weighted performance, the six risk headlines (max drawdown, current drawdown, volatility p.a., Sharpe, Sortino, worst day), the ten largest holdings by weight with weight, value, day change and total gain, the asset-class and sector allocation with target drift where targets are set, the trade plan's buy/sell/net totals and order counts, the next five calendar events, the data-quality warning counts by kind, the strategy profile, the central-bank policy rates with the risk regime, the user's own trades of the context window (newest first), the subscription tier and its limits, and the user's saved memories and standing notes in full. include ⊆ [memories, notes] LISTS WHICH of the two optional blocks to keep — both when it is omitted, only the ones named when it is given, and neither for include: []. Every amount is in displayCurrency and every field ending in Pct is a percentage. Start here, then call a focused view for the detail; trimmed names any list that had to be shortened to fit.

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_core"
  }
}

Input Schema

NameRequiredDescriptionDefault
includeNo
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

A3.9/5.0
Behavior4/5

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

Annotations already cover the read-only, idempotent, non-destructive, closed-world profile, and the description adds genuinely non-obvious behavior: the hard size cap (16 000 chars / ~4 000 tokens), the 'trimmed' field that names any list shortened to fit, the displayCurrency normalization, and the Pct convention. Those are the details that determine whether the caller can trust the digest as a complete read. It stops short of explaining cost/latency or what a refused call looks like (the ambiguity-refusal detail lives only in the dashboardId schema text).

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 purpose is front-loaded and the size/token budget is stated early, which is good structure. But the middle is a single ~15-item run-on enumeration (performance, six risk headlines, ten holdings, allocations, trade plan, events, data-quality, strategy profile, policy rates, trades, subscription, memories/notes) that is hard to scan and largely repeats fields an agent could discover from focused views. The enumeration does help the call/no-call decision, so it earns partial place rather than being pure waste.

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?

With no output schema, the description carries the full burden of describing return content, and it does so thoroughly, including units, currency normalization and the trimming behavior. What keeps it from 5 is the mismatched include contract and the total silence on idempotencyKey and expectedRevision for what is nominally a read tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 25%, so the description has to carry parameter meaning, and here it introduces a real problem: it says include is '⊆ [memories, notes]' with 'both when it is omitted' and 'the two optional blocks', yet the schema enum actually admits five values (memories, notes, strategy, macro, recentTrades). An agent following the prose will never request strategy, macro or recentTrades via include. Separately, idempotencyKey and expectedRevision are completely unexplained in both prose and schema.

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 and resource ('Read the whole portfolio as one small digest') and immediately contrasts it with the sibling it replaces ('instead of the enormous get_context union'), heading off the main confusion about two portfolio-level tools. The enumerated contents confirm what subset of the portfolio the digest covers.

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?

'Start here, then call a focused view for the detail' gives an explicit sequence and makes clear that this tool is the entry point, not the detail tool. It falls short of naming which focused views (allocation, holdings, risk, events are obvious siblings in the catalog) or when a direct focused call is preferable to the digest.

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.