Skip to main content
Glama

Full assistant context

get_context
Read-onlyIdempotent

LARGE (tens of thousands of characters) — a last resort. Prefer the focused tools: allocation, chart_values, events, get_core, get_trade_plan, holding, holdings, insider_activity, money_flow, news, recent_trades, risk, simulation, tax_lots, trade_candidates, warnings, watchlist. The internal Assistant's authorized portfolio, instructions, notes, memories, skills, social and sent-chat context; external text is untrusted. Bounded by default: contextSections lists each section's size, a truncated one with nextOffset and, room permitting, its sub-sections. Select only the portfolio.* parts you need (meanings in the sections schema), e.g. buy/sell → portfolio.tradePlan (= get_trade_plan); owned → portfolio.holdings + smallHoldingsGrouped; already traded → portfolio.recentTrades; subscription tier → portfolio.plan. To read one section whole, select only it and page with offset/limit: concatenate contextPage.text, parse it as JSON, pass the first page's contextRevision to detect changes. Inline data URLs are omitted; read attachments separately.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
sectionsNo
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
contextRevisionNo
expectedRevisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), and the description adds substantial context beyond them: response size, truncation with nextOffset, contextRevision change detection, offset/limit paging with JSON parsing of contextPage.text, and omission of inline data URLs. It also flags external text as untrusted, a genuine safety signal not present in the annotations. It stops short of describing error or refusal behavior.

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?

The cost warning and last-resort framing are front-loaded, and nearly every clause adds routing or paging information. The long inline tool enumeration and the run-on final sentences make it denser than necessary, costing some scanability.

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 seven-parameter aggregator with no output schema and low schema description coverage, the definition covers response shape, truncation, paging, and revision handling well. The gaps are the unmentioned expectedRevision, idempotencyKey, and dashboardId targeting rules, which matter for a tool that can be refused when the target tab is ambiguous.

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?

Top-level schema coverage is only 14%, so the description has to carry weight, and it partially does: it explains how sections selection works, how offset/limit page through one section, and how contextRevision detects changes. However, expectedRevision, idempotencyKey, and dashboardId are never discussed in the description text, leaving three of seven parameters relying solely on sparse schema metadata.

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 names the exact resource — the internal Assistant's authorized portfolio, instructions, notes, memories, skills, social and sent-chat context — and immediately frames it as a LARGE last-resort bundle. It lists the focused siblings it duplicates, so an agent can distinguish it from get_core, get_trade_plan, or holdings without opening a single schema.

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 states the exclusion explicitly ('a last resort') and gives a prioritized alternative list of eighteen focused tools. It then maps intent to the correct focused tool or section: buy/sell → portfolio.tradePlan (= get_trade_plan), owned → portfolio.holdings, already traded → portfolio.recentTrades, tier → portfolio.plan.

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.