Skip to main content
Glama

Minimum-tax sell plan

sell_plan
Read-onlyIdempotent

Run the existing minimum-tax sell optimizer to raise amount in the dashboard display currency, optionally limited to symbol. Illustrative orientation; does not place trades.

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": {
      "amount": "<amount>"
    },
    "name": "sell_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesAmount to raise in the dashboard display currency; returned currency identifies the denomination.
symbolNo
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

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true, so the safety profile is covered; the description reinforces it with 'does not place trades'. It adds little else — no word on what the plan output looks like, how the optimizer treats existing lots, or what happens when the amount cannot be raised tax-efficiently.

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 short sentences with the primary action and the non-execution caveat front-loaded; nothing is padded. Slightly more could be said about the returned plan without hurting brevity, but the current text is efficient.

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?

With no output schema, the description should indicate what a 'sell plan' contains, and it does not. It does cover the read-only nature and the currency scoping, but leaves the dashboard targeting, revision, and idempotency parameters unexplained for a tool that gates on a live dashboard.

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 description coverage is only 40%, and the description explains just two of five parameters (amount in display currency, optional symbol). dashboardId, idempotencyKey, and expectedRevision carry no meaning from the description, and the phrase 'existing ... optimizer' ambiguously suggests a pre-saved plan rather than an on-demand computation.

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 names a specific verb and resource: 'Run the existing minimum-tax sell optimizer' to raise a given amount, optionally restricted to one symbol. That is clearly distinguishable from a generic trade plan, though it does not explicitly contrast itself with siblings such as get_trade_plan.

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 clause 'Illustrative orientation; does not place trades' tells the agent this is a planning-only call, which is useful context. However, there is no explicit statement of when to prefer this over a sibling planning tool, nor any prerequisite about dashboard control or approval beyond what the schema says.

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.