Skip to main content
Glama

ui_act_card

Destructive

Send actions to the active card session to manage wallet connections, transaction reviews and signatures, settings changes, backups, and uploads, then read the results.

Instructions

Use the current card session.

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": {
      "cardId": "<cardId>",
      "permission": "<permission>",
      "revision": "<revision>",
      "input": "<input>"
    },
    "name": "ui_act_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes
cardIdYes
revisionYes
permissionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.5

TDQS

D1.3/5.0
Behavior1/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=true, so the description carries the burden of explaining what is destroyed, what auth/permission is required, and how revision/operationId guard against conflicts. It says none of this; the one sentence adds zero behavioral context beyond the annotations.

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

Conciseness2/5

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

The sentence is short and front-loaded, but its brevity is under-specification rather than conciseness. For a tool with a 40+ variant action union, one vague sentence earns no credit.

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

Completeness1/5

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

This is a destructive, open-world mutation tool with a very large discriminated-union schema, no output schema, and no annotations explaining the action set. The definition omits essentially everything an agent needs: the action vocabulary, the revision/operationId contract, and the destructive consequences of the write actions.

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

Parameters1/5

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

Schema description coverage is 0% and four parameters are required (cardId, permission, revision, input), with input being a deeply nested discriminated union of dozens of action variants. The description explains none of them — not what permission means, not how revision is used for optimistic concurrency, not which action variants exist.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Use the current card session" restates the tool name (ui_act_card) without naming a verb or outcome. It never states that this is a dispatch tool that submits one of many card actions (connect, disconnect, prepare_review, settings_*, etc.), so an agent cannot tell what it actually does or how it differs from ui_read_card or ui_submit_card.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance, no when-not-to-use, no mention of the sibling tools ui_read_card / ui_submit_card that obviously compete for the same card session. The agent is left to guess whether this reads, submits, or mutates a card.

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