Skip to main content
Glama

Axiv Pay

Get the next transaction for the payer wallet to send

get_funding_step
Idempotent

Step 3 of a payment. Return the one transaction the payer wallet must send now, on the payment source chain, so it can send exactly that transaction. An APPROVAL step moves no funds. A BRIDGE_DEPOSIT step moves the payment amount. Send it only from the payer account, then call submit_funding_transaction. Only wallet transactions are offered. A payment that asks for an EIP-712 signature step returns an error and must not be signed. If the wallet result is unknown, do NOT sign again: look up the transaction hash and submit it. A "nothing to sign" result (outcome WAIT) is a normal wait, not a failure. A result marked simulated must not be signed with real funds. Repeat this tool while nextAction is REQUEST_FUNDING_INSTRUCTIONS. 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>"
    },
    "name": "get_funding_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
paymentIdYesAxiv Pay payment ID returned by create_payment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, the description discloses important behavior: APPROVAL moves no funds, BRIDGE_DEPOSIT moves the payment amount, only wallet transactions are offered, and an unknown result must not be signed again. It also states authentication requirements and clarifies that Axiv Pay holds no keys and that this tool does not sign or send blockchain transactions.

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?

The description is front-loaded with the core action and then layers safety and workflow conditions in a logical order. It is somewhat dense and repetitive about signing and custody, but most sentences carry operational guidance for a high-risk payment flow.

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 payment-step tool with no output schema and one required parameter, the description is complete enough to call correctly and handle abnormal results. It covers step types, authentication, retry behavior, error cases, and the boundary between this tool and the actual signing/sending step.

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

Parameters3/5

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

There is only one parameter, paymentId, and schema description coverage is 100%, so the schema already documents it adequately. The description adds workflow context but does not add parameter-level meaning beyond the schema baseline.

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 verb and resource: it returns the one transaction the payer wallet must send now for a payment, on the payment source chain. It distinguishes this from submit_funding_transaction and clarifies that the tool does not sign or send transactions 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 gives explicit when-to-use guidance: repeat while nextAction is REQUEST_FUNDING_INSTRUCTIONS, then call submit_funding_transaction. It also names alternatives and error conditions, including EIP-712 signature steps, unknown wallet results, WAIT outcomes, and simulated results.

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