Skip to main content
Glama

Prepare or complete a €1 agent action review purchase

purchase_agent_action_review
Idempotent

Get an unsigned Solana transaction for one risk review. Choose asset SOL to pay the €1 equivalent without token account setup, or EURC to pay 1 EURC. Provide your public payer address and approved total SOL budget. After your wallet signs and sends it, call this tool with the same request ID and review and the finalized transaction_signature to receive the report.

Input Schema

NameRequiredDescriptionDefault
assetNoChoose EURC or native SOL quoted at the SOL/EUR spot rate.EURC
payerNoPublic Solana signer holding the chosen asset and paying the network fee.
reviewYes
request_idYesPrivate, unique per purchase. Generate 32 random bytes and encode as unpadded base64url.
max_total_lamportsNoMaximum total debit in SOL, including the network fee. This includes the payment if using SOL, or possible account creation if using EURC.
transaction_signatureNoFinalized Solana transaction signature for the exact draft.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false, openWorldHint=true), and the description adds real context beyond them: the tool hands back an unsigned transaction for local signing, a network fee applies, and max_total_lamports may also cover EURC account creation. It does not disclose what happens on a failed or replayed signature, or whether drafts expire, which keeps it at 4.

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 tight sentences, front-loaded with what the tool returns, then the asset choice, then the completion step, with no filler. The middle sentence packs payer, budget and asset rationale together, which is dense but still readable.

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 payment tool with a nested review object (up to 8 actions, 1500-char context) and no output schema, the description omits what the prepare response actually contains, whether the unsigned transaction expires, what happens if the review payload differs between the two calls, and how failures surface. The core flow is covered, but these gaps matter for correct invocation and retry behaviour.

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

Parameters4/5

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

Schema coverage is 83%, so structural docs already carry most of the load, but the description adds genuine meaning: which parameters belong to the prepare phase (payer plus max_total_lamports) versus the complete phase (transaction_signature), and the SOL-vs-EURC tradeoff behind the asset enum. The phrasing 'approved total SOL budget' mirrors the schema's fee-inclusive definition rather than restating it verbatim.

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?

The description states a concrete two-phase verb+resource pair clearly: fetch an unsigned Solana transaction for one risk review, then resubmit with a finalized signature to receive the report. The pricing model (€1, settled in SOL or 1 EURC) is explicit. It does not distinguish itself from siblings such as get_agent_action_review_checkout or read_agent_action_review, so it falls short of a 5.

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 gives a clear when-to-call sequence: call once to obtain the unsigned transaction, then call again with the same request_id, review and transaction_signature after the wallet signs and sends. It also gives a decision rule for the asset parameter (SOL avoids token account setup, EURC pays 1 EURC flat). It offers no guidance on when to use a sibling instead, so no 5.

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