Skip to main content
Glama

ui_read_card

Reads the active card session to fetch Sui transaction review details, enabling users to approve AI-requested actions in their own wallet without AI signing authority.

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>"
    },
    "name": "ui_read_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
cardIdYes
permissionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.5

TDQS

D1.9/5.0
Behavior2/5

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

Annotations already declare destructiveHint=false, openWorldHint=true and, notably, readOnlyHint=false, so the agent knows this is not a pure read despite the 'ui_read_' prefix. The description adds nothing beyond that — no statement of what is consumed, mutated, or returned, and no note on the open-world side effects the annotation warns about.

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?

A single short sentence, but its brevity comes from under-specification rather than efficiency. There is no front-loaded action statement and no structure to orient the agent.

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 tool with two required, undescribed parameters, no output schema, and an unusual annotation profile (non-read-only, open-world), the description supplies none of the missing context. An agent cannot infer from this text what a correct call looks like or what it will do.

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 both required parameters (cardId, permission) are undocumented in the schema, so the description carries the full burden. It says nothing about what cardId identifies or what values 'permission' accepts, leaving a required constrained string effectively opaque.

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 rather than stating a concrete action on a concrete resource. It never says what 'using' a card means (read its contents? activate it? bind it to a session?) nor how it differs from ui_act_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 Guidelines2/5

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

No when-to-use guidance, no preconditions, and no mention of the sibling card tools (ui_act_card, ui_submit_card) that an agent must choose between. The single word 'current' hints at an active-session precondition but is never made explicit.

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