Skip to main content
Glama

AAウォレット送金の事前承認

authorize_transfer

erc20-transfer 方式だけで、JPYC を送金する前に必ず呼ぶ。quote_checkout の選択した accept にある extra.payerAuthorization.message をウォレットで personal_sign し、その署名と reservation_id を渡す。サーバは EOA / ERC-1271 / ERC-6492 を検証して予約へ固定する。このツール自体は送金も approve も行わない。成功を確認してから accepted.amount ぴったりを transfer すること。eip3009 方式では呼ばない。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
signatureYespayerAuthorization.message の personal_sign 署名
reservation_idYesquote_checkout が返した reservation_id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden well: it discloses server-side verification of EOA/ERC-1271/ERC-6492 signatures and reservation fixation, and clarifies that the tool itself does not send or approve. It does not specify failure behavior or idempotency, but the key safety and side-effect context is present.

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?

The description is dense but front-loaded, starting with the method condition and the mandatory pre-transfer call. Every sentence carries operational information: signing procedure, server verification, non-transfer behavior, success condition, and eip3009 exclusion. There is no filler.

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

Completeness5/5

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

For a two-parameter signing/authorization tool without annotations or an output schema, the definition covers the critical prerequisites, the signature source, server verification behavior, the fact that funds are not moved, and the required follow-up transfer. Nothing essential for correct invocation appears to be missing.

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 description coverage is 100%, so the schema already documents both parameters. The description adds useful source context: the signature must be a personal_sign of extra.payerAuthorization.message from the selected accept in quote_checkout, and reservation_id comes from that quote. This meaningfully complements 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?

The description states a specific action: pre-authorize a JPYC transfer by signing a payerAuthorization message and passing the signature with a reservation_id. It distinguishes the tool from execution by explicitly saying it does not send funds or approve, and it names the quote_checkout source. An agent can tell this is a signature-submission step, not the transfer itself.

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?

It explicitly says to call only for the erc20-transfer method and never for eip3009, and that it must be called before sending JPYC. It also gives the post-call flow: after success, transfer exactly accepted.amount. Both the when-to-use and when-not-to-use conditions are stated.

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