Skip to main content
Glama

submit_payment

Complete a purchase. Provide the same spec plus paymentSignature: the base64 PAYMENT-SIGNATURE header you produced by signing one of the payment requirements with your XRPL wallet (the x402-xrpl package does this). Settlement happens on-ledger before any order is created. Returns your orderId, orderKey and the transaction receipt.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesNo
greetingNo
knowledgeNo
contactNameNo
agentPurposeYes
businessNameYes
contactEmailYes
hoursOfCoverNo
transferNumberNo
paymentSignatureYesbase64 PAYMENT-SIGNATURE header

TDQS

A3.9/5.0
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses that settlement happens on-ledger before order creation and returns specific fields. However, it omits details on failures, reversion, or authentication beyond the signature requirement.

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 sentences, front-loaded with purpose, no wasted words. Efficiently communicates key actions and returns.

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

Completeness2/5

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

Given 10 parameters and no output schema, the description is insufficient. It explains the payment flow but does not cover all input fields or provide a complete picture of inputs and outputs.

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 only 10% (only paymentSignature described). The description fails to explain the 9 other parameters (e.g., notes, greeting, contactName) beyond referencing the 'same spec' from a previous step, leaving most parameters ambiguous.

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 explicitly states 'Complete a purchase', with a specific verb and resource. It clearly distinguishes this from siblings like create_purchase_challenge and get_catalog by indicating this is the final payment step.

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?

The description implies sequential usage after create_purchase_challenge with 'Provide the same spec plus paymentSignature', but does not explicitly state when not to use or mention alternative tools.

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.

TDQS

A4.3/5.0
Disambiguation5/5

Each tool has a distinct role: browsing catalog, initiating purchase with challenge, submitting payment, and checking order status. No overlap.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern (create, get, submit) with clear nouns (purchase_challenge, catalog, order_status, payment).

Tool Count5/5

With 4 tools, the set is minimal and focused, exactly covering the purchase workflow without excess or insufficiency.

Completeness5/5

The tools cover the full purchase lifecycle: viewing catalog, creating a challenge, submitting payment, and tracking order status. No missing steps.

Resources