Skip to main content
Glama

Axiv Pay

Register the hash of a funding transaction the wallet sent

submit_funding_transaction
Idempotent

Step 4 of a payment. After your wallet sent the transaction from get_funding_step, register its transaction hash with the payment. This tool accepts a transaction hash only. It does not accept signatures. Registering a hash authorizes nothing and moves nothing, and it is not a deposit confirmation: the payment status changes only after the chain confirms it. Submitting the same hash again is safe. Next: get_funding_step while nextAction is REQUEST_FUNDING_INSTRUCTIONS, then get_payment_status until PAID. Requires your own Axiv Pay API token in the Authorization: Bearer header of the MCP HTTP request, never as a tool argument. This tool does not sign or send any blockchain transaction. Axiv Pay holds no keys. Your own wallet signs the step returned by get_funding_step.

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": {
      "paymentId": "<paymentId>",
      "stepId": "<stepId>",
      "txHash": "<txHash>"
    },
    "name": "submit_funding_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepIdYesstep.stepId returned by get_funding_step (a UUID).
txHashYesHash of the transaction your wallet sent for this step. 0x followed by 64 hex characters.
paymentIdYesAxiv Pay payment ID returned by create_payment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false; the description reinforces these and adds real context: submitting the same hash is safe, a registered hash authorizes nothing and is not a deposit confirmation, and the status only changes after chain confirmation. It also discloses the auth requirement (own Axiv Pay API token in the Authorization header, never a tool argument) and that the service holds no keys. Minor deduction because it never says whether registration is permanent or can be superseded by a different hash for the same stepId.

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 step identity and action, then sequencing, then safety constraints. The 'does not sign or send' / 'Axiv Pay holds no keys' / 'your own wallet signs' passages partly restate 'authorizes nothing and moves nothing', so there is some redundancy, but it is defensible for a security-sensitive step and stays readable.

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 3-parameter, fully-described-schema mutation tool with no output schema, the description covers the workflow position, the exact follow-up calls, idempotency, the auth mechanism, and what the tool does not do. Nothing an agent needs to call it correctly is 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 coverage is 100%, so the baseline is 3. The description adds value by clarifying that txHash is the only data accepted and that no signature field exists, which prevents an agent from trying to pass a signed payload. It does not elaborate on the stepId/paymentId pairing, which the schema already covers.

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 and resource: register a transaction hash with a payment, positioned explicitly as 'Step 4 of a payment'. It clearly distinguishes itself from get_funding_step (which produces the transaction to sign) and get_payment_status (which reports the outcome), so an agent can identify its role 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit sequencing: call after the wallet has sent the transaction from get_funding_step, then repeat get_funding_step while nextAction is REQUEST_FUNDING_INSTRUCTIONS, then poll get_payment_status until PAID. It also states an exclusion ('accepts a transaction hash only, not signatures'), which is precisely the kind of when-not guidance that prevents misinvocation.

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