Skip to main content
Glama

ui_submit_card

Submits input and permission for the current review card session, enabling AI clients to request Sui transaction approval while users sign in their own wallet.

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_submit_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes
cardIdYes
revisionYes
permissionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.5

TDQS

D1.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the agent knows this is a non-destructive but networked mutation. The description adds nothing beyond that: it never says what is submitted, what side effects or approvals (a required "permission" parameter suggests auth semantics) are involved, or what happens to the card session afterward.

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 single sentence is short but that brevity reflects under-specification rather than economy; there is no front-loaded statement of action, scope, or preconditions to build on.

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?

For a mutating, open-world tool with four fully required and fully undocumented parameters, a nested input object and no output schema, the description supplies essentially none of the information needed to invoke it correctly.

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% across four required parameters, including a nested free-form "input" object, a "permission" string and a "revision" integer. The description explains none of them, so an agent has no basis for constructing a valid "input" payload or understanding what "revision" guards against.

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 title without naming a specific action or explaining what submitting a card actually does. An agent cannot tell from this text whether submission triggers a transaction, applies a review decision, or simply advances UI state, and the relationship to siblings like ui_act_card and ui_read_card is left entirely unclear.

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?

There is no when-to-use or when-not-to-use guidance, and no alternative is named. The phrase "current card session" implies a session context but gives no condition that would select this tool over ui_act_card or ui_read_card.

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