Skip to main content
Glama

request_flow_plan_payment

Get the x402 payment challenge for the flow planner ($0.02 per plan, USDC on Base or Solana). Free, no auth. Sign one accepts entry with your wallet, then call plan_flow_with_payment. MPP and credits are also accepted (see other_ways_to_pay).

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": {
      "goal": "<goal>"
    },
    "name": "request_flow_plan_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalYesWhat you want done, in plain words (3 to 600 characters)
maxStepsNoAt most this many steps (1 to 5)
networksNoOnly services payable on these networks, e.g. ["base","solana"]
budgetUsdNoWarn when one run of the flow would cost more than this

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses price ($0.02 per plan), accepted asset and chains (USDC on Base or Solana), and that the call is free and needs no auth, so the agent knows the cost appears later. It does not say whether the challenge expires or is single-use, which matters for a payment handshake.

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?

Four short sentences with zero waste: purpose and price first, then auth posture, then the required next step, then alternatives. Each sentence carries distinct information an agent needs to act.

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 a payment-challenge step with no output schema and no annotations, the description covers cost, auth, currency, and the follow-up call. The remaining gap is what the challenge object looks like or how long it is valid, which an agent must infer.

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 100%, so the parameters are already documented, giving a baseline of 3. The description only echoes the networks parameter implicitly via 'USDC on Base or Solana' and adds no syntax or constraint detail beyond the schema.

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?

States a specific verb and resource ('Get the x402 payment challenge for the flow planner') and makes its position in a two-step flow explicit by naming the follow-up tool, plan_flow_with_payment. An agent can distinguish it from that sibling without opening either schema.

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?

Gives clear context: call this first, sign the returned challenge with a wallet, then call plan_flow_with_payment. It also points to alternatives (MPP, credits, other_ways_to_pay) but routes to a reference label rather than naming the concrete sibling, so the when-not path is slightly vaguer than the when path.

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