Skip to main content
Glama

Include or exclude an asset

toggle_asset

Include/exclude identified hand-added positions without deleting them. All exact symbol lots can be changed together; partial-name ambiguity fails closed.

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": {
      "on": "<on>"
    },
    "name": "toggle_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
onYes
nameNo
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.4/5.0
Behavior4/5

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

Beyond the annotations, the description discloses that toggling does not delete positions, that all exact symbol lots can be changed together, and that partial-name ambiguity fails closed. These are meaningful behavioral traits for a non-read-only mutation, though approval and revision requirements are left to the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two dense sentences with the core operation front-loaded and no filler. The second sentence adds selector and ambiguity behavior efficiently.

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 seven-parameter mutation tool with low schema coverage and no output schema, the description is too thin. It covers the core toggle and ambiguity behavior but omits important operational context such as idempotency, expectedRevision, and how dashboard approval relates to toggling.

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 14% schema description coverage across seven parameters, the description must carry most parameter meaning. It hints at symbol and name selection behavior through 'exact symbol lots' and 'partial-name ambiguity,' but never explains id, on, idempotencyKey, or 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?

The description states a specific verb and resource: include/exclude identified hand-added positions, explicitly without deleting them. This distinguishes it from deletion and asset-creation siblings, though it does not name any sibling tool directly.

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 description implies the tool is for toggling inclusion of existing hand-added positions rather than adding or deleting assets. It does not explicitly say when to choose this over alternatives such as edit_asset or add_manual_asset, so usage guidance remains 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.