Skip to main content
Glama

Prepare an action for the user to confirm

prepare_action

Prepare (NOT perform) an action on the user's own Dispatch account. This server never signs or sends anything.

With session_token (from verify_login) it stores a single-use action (valid 15 min) and returns confirm_link (https://dispatch.cash/mcp-confirm#): the user opens it, reviews the exact spec and signs it in THEIR OWN wallet; only then the page asks Dispatch to do it, through the same API the app uses. Kinds:

  • subscribe: start/switch to strategy_id (from list_strategies), optional amount_eth deposit (max 1 ETH);

  • deposit: add amount_eth to the user's own Dispatch smart account;

  • set_ticket: ETH spent per copied buy (ticket_eth, max 0.25);

  • pause / resume: stop or restart new copied buys (open positions stay);

  • unsubscribe: stop, sell open positions, send everything back to the user's own wallet;

  • withdraw: amount_eth or 'all' (free cash) back to the user's own wallet. Money can only go to the account owner; a different recipient is refused. Without session_token, kinds follow/withdraw/sell return a plain dispatch.cash/app link with steps (no confirm page).

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": {
      "kind": "<kind>"
    },
    "name": "prepare_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
tokenNo
recipientNo
amount_ethNo
ticket_ethNo
strategy_idNo
session_tokenNo
wallet_addressNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations it discloses that the stored action is single-use and valid 15 minutes, that the user signs in their own wallet, that Dispatch executes only through the same API the app uses, and that a non-owner recipient is refused. Those are non-obvious behavioral constraints (timeouts, authorization limits, no server-side signing) that no structured field communicates.

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?

Front-loaded with the key no-signing constraint, then a well-structured bullet list per kind. The confirm-link middle sentence is a long run-on that packs confirm_link format, user flow, and execution path together, which slightly hurts scannability but wastes no words.

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

Completeness4/5

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

For an eight-parameter, non-idempotent action-preparation tool with no output schema, the description covers the critical flow, timing, caps, and recipient restriction. It is not fully complete because the follow/sell-with-session-token case and two parameters remain unexplained, and no return shape beyond confirm_link is stated.

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

Parameters3/5

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

With 0% schema description coverage the description must carry all eight parameters, and it covers roughly half: session_token provenance, strategy_id provenance, amount_eth (max 1 ETH deposit, or 'all' for withdraw), ticket_eth (max 0.25), and recipient refusal. It leaves token, wallet_address, and the semantics of follow/sell when a session_token IS supplied entirely undefined.

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

Purpose5/5

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

Opens with a specific verb+resource plus an explicit negation: "Prepare (NOT perform) an action on the user's own Dispatch account. This server never signs or sends anything." That single line separates it from any execute/send-style sibling before a schema is opened.

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

Usage Guidelines5/5

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

Gives explicit when-branches: with session_token the tool stores a confirmable action; without it only follow/withdraw/sell return a plain app link. It also names where the two key inputs come from (verify_login for session_token, list_strategies for strategy_id) and what each kind does, which is exactly the routing an agent needs.

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.

Resources