Skip to main content
Glama

Submit payment tx

submit_payment_tx

After YOU transfer USDC on Base to the trade's pay_to, submit the tx hash; the board verifies it on-chain. Tx hashes are single-use. Non-custodial: this tool never moves money. Requires Authorization: Bearer <api_key>.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tx_hashYes
trade_idYes
payer_addressNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Adds context beyond the annotations: tx hashes are single-use (which explains the idempotentHint=false in concrete terms), the board verifies on-chain, the tool is non-custodial and never moves money, and it requires an Authorization: Bearer api_key header. It stops short of describing failure behavior when verification fails.

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?

Three tight sentences, zero filler. The critical precondition (you must transfer first) is front-loaded, followed by verification semantics and the auth requirement in descending order of importance.

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 mutation tool with no output schema, the description covers the precondition, the verification outcome, idempotency implications, custody posture, and auth. The remaining gap is the undocumented payer_address and trade_id parameters, which an agent must infer.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry parameter meaning and largely doesn't. tx_hash is implied by 'submit the tx hash' and its 0x pattern is in the schema, but trade_id is only obliquely referenced via "the trade's pay_to", and payer_address is never explained at all.

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 (submit), resource (payment tx hash), and the exact precondition (after YOU transfer USDC on Base to the trade's pay_to). The on-chain verification outcome is spelled out, so an agent can distinguish this from accept_offer, confirm_delivery, or deliver without opening any 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 sequencing: the transfer must happen first, then the hash is submitted, and it must be a real on-chain tx. It does not name an alternative tool or state when NOT to use it, but the workflow context is unambiguous within the trade lifecycle.

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