Skip to main content
Glama

Submit a caller-signed Mission payment

submit_mission_payment
Destructive

Submit a caller-signed Mission payment for a prepared step and record confirmed settlement once. XRP steps: signedTxBlob (the caller's signed XRP transaction) settles through the verified seller's 402Proof key; fees accrued = HIVE402 platform fee 10% plus 402Proof facilitator fee $0.0100, kept separate. Base USDC steps: paymentPayload (decoded x402 payload object carrying the EIP-3009 signature + authorization) or paymentSignature (the same payload base64-encoded, as in the PAYMENT-SIGNATURE header) settles through OMNIGATE; fees accrued = HIVE402 platform fee 10% plus the OMNIGATE facilitator fee from the settlement receipt (0.005 USDC when charged, 0 when waived), kept separate. Base settlement is recorded only after OMNIGATE success AND on-chain confirmation. Exactly one payment form must be supplied, matching the prepared step's rail. Never signs or holds funds; does not execute seller task inputs.

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": {
      "executionToken": "<executionToken>",
      "feeApproved": "<feeApproved>"
    },
    "name": "submit_mission_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
feeApprovedYes
signedTxBlobNoXRP steps only: the caller-signed XRP transaction blob (hex).
executionTokenYes
paymentPayloadNoBase steps only: the decoded x402 payment payload object (alternative to paymentSignature).
paymentSignatureNoBase steps only: base64-encoded x402 payment payload (the PAYMENT-SIGNATURE value) carrying the caller's EIP-3009 signature and authorization.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / paymentPayload
      Added value: +{
      +  "description": "Base steps only: the decoded x402 payment payload object (alternative to paymentSignature).",
      +  "type": "object"
      +}
    • addedInput schema / properties / paymentSignature
      Added value: +{
      +  "description": "Base steps only: base64-encoded x402 payment payload (the PAYMENT-SIGNATURE value) carrying the caller's EIP-3009 signature and authorization.",
      +  "maxLength": 100000,
      +  "type": "string"
      +}
    • addedInput schema / properties / signedTxBlob / description
      Added value: +"XRP steps only: the caller-signed XRP transaction blob (hex)."
    • changedInput schema / required
      Previous value: -[
      -  "executionToken",
      -  "signedTxBlob",
      -  "feeApproved"
      -]New value: +[
      +  "executionToken",
      +  "feeApproved"
      +]
  2. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
  3. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations it discloses the fee model (10% HIVE402 platform fee plus a per-rail facilitator fee, 'kept separate'), the settlement gate ('only after OMNIGATE success AND on-chain confirmation'), and the trust boundary ('Never signs or holds funds'). Those are exactly the facts an agent needs before triggering a destructive, open-world payment. Minor tension exists between 'record confirmed settlement once' and idempotentHint=false, but it reads as a settlement-recording statement rather than a retry-safety claim.

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?

Front-loaded with the action and the exactly-one constraint, then organized by rail, which mirrors the parameter structure. The 'fees accrued = ... kept separate' formula is repeated near-verbatim for both rails, adding length that a single shared clause could have covered.

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 destructive payment-submission tool with no output schema, it covers the rails, fee composition, settlement confirmation gating, and mutual exclusivity of payment forms. It does not explain executionToken's provenance or whether feeApproved is a consent flag, leaving those to the schema.

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?

With 60% schema coverage, the description carries real weight: it explains that paymentPayload is the decoded x402 object carrying the EIP-3009 signature and that paymentSignature is the same payload base64-encoded (PAYMENT-SIGNATURE header), and it maps signedTxBlob to XRP steps only. executionToken and the meaning of feeApproved are left to the schema's pattern and const, which is a modest gap.

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 first sentence states a specific verb and resource ('Submit a caller-signed Mission payment for a prepared step') plus the side effect ('record confirmed settlement once'), and it names the two settlement rails (XRP via the seller's 402Proof key, Base USDC via OMNIGATE). An agent can distinguish this from prepare_mission_step or start_purchase without opening the 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?

It gives the deciding rule explicitly: 'Exactly one payment form must be supplied, matching the prepared step's rail,' with rail-by-rail routing (signedTxBlob for XRP, paymentPayload/paymentSignature for Base). It implies a prepared step is a prerequisite but never states the ordering or what to do if the step is not prepared, so it falls short of full when/when-not coverage.

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