Skip to main content
Glama

Expand trade details

expand_trades

Expand or collapse a named Trades/Taxes detail in the selected dashboard. Per-asset details require symbol.

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": {
      "target": "<target>"
    },
    "name": "expand_trades"
  }
}

Input Schema

NameRequiredDescriptionDefault
onNo
symbolNo
targetYes
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

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, which tells the agent this mutates UI state harmlessly and is not repeat-safe. The description adds nothing beyond that: it never mentions that the action requires prior approval, how dashboardId ambiguity is handled, or what expectedRevision conflicts do — all of which matter for a non-idempotent action tool.

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?

Two tight sentences with the primary action front-loaded and the parameter caveat second — no padding or redundancy. It is efficient, though the brevity comes at the cost of the missing detail noted elsewhere.

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

Completeness2/5

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

For a 6-parameter, non-idempotent UI action tool with no output schema and 17% schema coverage, two sentences are not enough. An agent cannot determine from the description alone what the target values mean, whether dashboardId must be resolved first, or how to handle revision conflicts.

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?

With only 17% schema description coverage across 6 parameters, the description carries a heavy burden and only partly meets it by tying symbol to per-asset details. The on toggle, idempotencyKey, and expectedRevision are left entirely undefined, and the target enum values are not translated into plain language.

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?

The description gives a specific verb pair (expand/collapse) and a specific resource (a named Trades/Taxes detail in the selected dashboard), so the agent knows this toggles a UI detail view rather than reading or fetching trade data. It does not differentiate itself from siblings like show_trades or recent_trades, and the opaque target enum values (lots_row, recs_why, weights) are never explained.

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?

"Per-asset details require symbol" is a genuine conditional-use rule that tells the agent when an extra parameter is mandatory. Beyond that, there is no guidance on when to expand vs. collapse (the on flag is never mentioned), no mention of the approval step, and no routing to alternative tools for simply viewing trade data.

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.