Skip to main content
Glama

Prepare an approved mission step

prepare_mission_step

Recheck an approved listing's current x402 challenge against expected payout, rail, price and remaining atomic budget. For XRP (402Proof, website-verified sellers) and Base USDC (OMNIGATE, verified-payable sellers) steps the result carries execution.available with an executionToken when tracked execution is offered. Caller must inspect fees and sign; this tool never pays.

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": {
      "snapshot": "<snapshot>",
      "remainingAtomic": "<remainingAtomic>",
      "approved": "<approved>"
    },
    "name": "prepare_mission_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
approvedYesConfirm the caller reviewed and approved the plan. Not wallet authorization.
snapshotYes
remainingAtomicYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / snapshot / additionalProperties
      Removed value: -false
    • removedInput schema / properties / snapshot / properties / present
      Removed value: -{
      -  "type": "boolean"
      -}
    • removedInput schema / properties / snapshot / properties / resource
      Removed value: -{
      -  "format": "uri",
      -  "type": "string"
      -}
  2. Changed2 schema fields changed
    • addedInput schema / properties / snapshot / properties / present
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / snapshot / properties / resource
      Added value: +{
      +  "format": "uri",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations, the description discloses that the tool rechecks an external x402 challenge, never pays, and may return an executionToken when tracked execution is offered. It also warns the caller to inspect fees and sign, clarifying that the tool is not a wallet authorization step. It does not discuss failure modes or idempotency, but the supplied annotations already cover read/write and open-world hints.

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?

Three sentences, front-loaded with the action and checks; the network-specific sentence is dense but necessary, and the closing responsibility statement is important. No filler, though the middle sentence could be split for readability.

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?

For a complex prepayment validation step with a nested snapshot and no output schema, the description covers the main purpose and one key output field (executionToken), but it omits the full return shape, failure behavior, and idempotency implications. That leaves the agent with gaps when interpreting results or deciding retry behavior.

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 schema coverage at 33%, the description only partially compensates: it maps the approved listing snapshot to payout/rail/price checks and calls out remaining atomic budget, but it does not define the snapshot fields (id, asset, payTo, network) or clarify remainingAtomic's format. The schema and field names remain the primary source for parameter meaning.

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?

The description names a specific verb and resource ('Recheck an approved listing's current x402 challenge') and enumerates the checks: payout, rail, price, and remaining atomic budget. It also clarifies that this tool never pays, which distinguishes it from submit_mission_payment without relying on schema inspection.

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

Usage Guidelines4/5

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

It establishes the context—after approval, before signing—and states a firm boundary that the caller must inspect fees and sign. It does not explicitly name when to use a sibling like submit_mission_payment or give exclusion cases beyond never paying.

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