Skip to main content
Glama

Start swap review

action_start_review

Create a local swap review session on a supported protocol and return an internal review card so users can inspect and approve transaction intent before wallet signing.

Instructions

Create a local swap review session on a supported protocol. Returns an internal review card.

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": {
      "intent": "<intent>"
    },
    "name": "action_start_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
intentYes

Output Schema

NameRequiredDescriptionDefault
okYes
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.5

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false. The description adds real value with "local" — signalling that nothing is submitted on-chain — and "Returns an internal review card", but it says nothing about session lifetime, whether the session must later be executed or discarded, or what happens on repeated calls.

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

Conciseness5/5

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

Two short sentences, front-loaded with the action and followed by the return value; no filler or redundancy.

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?

An output schema exists, so return-value detail is not required, and annotations cover the safety profile. However, for a nested-intent tool with 0% schema description coverage that appears to be the entry point of a review lifecycle (status/execution siblings), the description should say more about the intent payload and the follow-up flow.

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?

Schema description coverage is 0% and the single parameter is a nested object with required sub-fields (type, from.symbol, from.amount, to.symbol, maxSlippageBps). The description adds no meaning for any of these — no units, no slippage semantics, no note on when the optional protocol slug is needed (the schema itself carries that one hint).

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?

States a specific verb ("Create") and resource ("local swap review session") with a scope qualifier ("on a supported protocol"), which is clearly distinct from the read/session siblings. It does not explicitly differentiate itself from action_create_proposal_review, so the sibling boundary is left implicit.

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 or when-not-to-use guidance is given, and no prerequisites are stated beyond the vague "on a supported protocol" (which implies checking read_list_supported_protocols but never says so). An agent cannot tell from this text whether to start a review here or go through action_create_proposal_review.

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