Skip to main content
Glama

Show a card

show_card

Show or collapse a named card in the selected dashboard; switches to the card’s tab. With card=assets, sector and/or category open the Value per asset pie on that market sector, that category, or a category inside a sector, as a click on its wedge would; null for both returns the pie to the whole portfolio. A name the pie does not draw is refused with the valid names. Completes only after UI acknowledgement.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "card": "<card>"
    },
    "name": "show_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
cardYes
expandNo
sectorNocard=assets only: the market sector to open the Value per asset pie on, as the pie names it (e.g. Technology); switches the card to Pie and the Market sector circle on.
sectionNo
categoryNocard=assets only: the investing category to open, inside `sector` when both are sent.
collapseNo
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.6/5.0
Behavior4/5

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

Annotations declare a non-read-only, non-destructive, non-idempotent UI mutation, and the description adds real behavior beyond that: 'Completes only after UI acknowledgement' tells the agent the call blocks on the UI, and 'A name the pie does not draw is refused with the valid names' discloses the error mode. It does not state that dashboard control/approval may be needed, which is a notable omission given the acquire_dashboard_control sibling.

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-loaded with the core action, then the assets special case, then the completion/error semantics. The assets sentence is dense and clause-heavy, but nearly every sentence carries distinct information, so little is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter UI-mutating tool with no output schema, the definition covers the headline behavior and the trickiest parameter pair but omits meaning for 'section', the expand/collapse interaction, and revision/idempotency parameters. Adequate to call the common case, incomplete for the full schema.

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 coverage is low (33%), and the description compensates well for sector and category — explaining they act 'as a click on its wedge would' and that null/null returns the pie to the whole portfolio, which the schema does not say. But it leaves several parameters unexplained, notably 'section' (entirely undocumented in both places) plus expand, collapse, idempotencyKey and expectedRevision.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Show or collapse a named card in the selected dashboard; switches to the card's tab'), which is far more informative than the title alone. It does not, however, distinguish itself from sibling show_* tools (show_simulation, show_taxes, show_trades), so an agent must infer that those handle their own card types.

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 card=assets paragraph gives genuine conditional guidance (sector, category, both, or neither) and describes the refusal case. What is missing is routing guidance versus the sibling show_* tools and any guidance on when to use expand vs collapse vs a plain show, leaving the core selection decision implied.

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.