Skip to main content
Glama

Disconnect wallet

session_open_wallet_disconnection_card

Open a confirmation card to disconnect the current wallet. Use it to let users review and approve ending their wallet session before disconnection.

Instructions

Open a confirmation card for the current wallet disconnection.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "session_open_wallet_disconnection_card"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
okYes
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.5

TDQS

A3.5/5.0
Behavior3/5

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

The annotations declare readOnlyHint=false and openWorldHint=false, so the key signal is already structured; the description usefully adds that this opens a *confirmation* card, implying the tool itself does not perform the disconnection. It does not say what happens if no wallet is connected, whether the card is the only path to disconnecting, or what state changes when the card opens.

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?

A single front-loaded sentence with no filler, and the object of the action (the confirmation card) comes before the scope qualifier. It is appropriately sized for a zero-parameter UI tool, though it is so terse that it leaves the routing gaps noted above.

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 zero parameters, an output schema covering return values, and annotations covering the safety profile, the description only needs to establish purpose and placement in a flow. It establishes purpose but not placement — an agent still cannot tell from this text alone whether disconnecting requires this card first and how it relates to the connection-card and card-submit siblings.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is no parameter semantics to document and the baseline of 4 applies. The description correctly introduces no parameter concepts that could conflict with the empty schema.

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 uses a specific verb and resource ('Open a confirmation card') scoped to 'the current wallet disconnection', which is far more informative than the tool name alone. It does not distinguish the tool from the sibling 'session_open_wallet_connection_card', which has an analogous opening-card role, so an agent must infer the split from the words 'disconnection' vs 'connection'.

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 implied rather than stated: an agent can infer the tool belongs at the start of a wallet-disconnection flow, before any confirmation is submitted. There is no explicit statement of when to prefer this over the connection card, the related get/wait disconnection tools, or the generic 'ui_act_card' path, and no prerequisites (e.g. an active connected wallet) are mentioned.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.