Skip to main content
Glama

Include or exclude an account

toggle_account

Include/exclude one uniquely named saved account without deleting its data.

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

Input Schema

NameRequiredDescriptionDefault
onYes
nameYes
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 non-readOnly, non-destructive, non-idempotent and closed-world, and the description's 'without deleting its data' usefully confirms data preservation. It says nothing, however, about what including/excluding does downstream (allocation/holdings calculations, dashboard visibility), about the approval flow implied by dashboardId, or about revision/conflict behavior, leaving real gaps for a 5-parameter mutation tool.

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?

A single short sentence, front-loaded with the inclusive/exclusive action and the non-destructive guarantee. No filler or redundant restatement of the title.

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 mutation tool with five parameters, low schema coverage and no output schema, the description is too thin: it omits the meaning of expectedRevision/idempotencyKey, the effect of the toggle, and what the caller gets back or what happens on a revision mismatch or ambiguous 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 coverage is only 20% (only dashboardId is documented), so the description must compensate and largely does not. 'Uniquely named' weakly clarifies the name parameter, but the boolean `on` (which direction means include), `expectedRevision` (a concurrency guard callers must understand) and `idempotencyKey` are never explained in either place.

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 pair (include/exclude) and resource (one uniquely named saved account) and adds a scope constraint ('uniquely named') plus a differentiating clause ('without deleting its data'). It is clear what the tool does, though it does not name sibling toggles like toggle_asset or toggle_favourite to disambiguate targets.

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?

Usage is only implied: the tool is for flipping an account's inclusion state rather than removing it. There is no explicit when-to-use versus when-not-to-use guidance, and no mention of the alternatives (e.g. delete) that a caller should pick instead when data removal is actually wanted.

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.