Skip to main content
Glama

Axiv Pay

Quote an Axiv Pay payment

create_quote

Step 1 of a payment. Ask the live payment API for a quote to pay a recipient on a destination chain from a source chain. Returns the route, fee estimate, expected and minimum receive amounts, and expiresAt. A quote is not a payment and moves no funds. Send exactly one of sourceAsset or sourceTokenAddress, and exactly one of destinationAsset or destinationTokenAddress. The returned quote is checked against every term you sent: chains, amount, recipient, assets or tokens, payer, and allowed routes. Next: create_payment. 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": {
      "sourceChainId": "<sourceChainId>",
      "amountAtomic": "<amountAtomic>",
      "destinationChainId": "<destinationChainId>",
      "recipient": "<recipient>"
    },
    "name": "create_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
payerNoOptional. Account that will fund the payment on the source chain. If omitted here, create_payment needs it. 0x followed by 40 hex characters. Not the zero address.
recipientYesAccount that receives the payout on the destination chain. 0x followed by 40 hex characters. Not the zero address.
sourceAssetNoSource asset symbol, for example "USDC". Omit when sourceTokenAddress is set.
amountAtomicYesAmount the payer sends, in atomic units of the source asset, as a positive integer string with no decimal point. 10 USDC with 6 decimals is "10000000".
allowedRoutesNoOptional. Restrict the quote to these route names, for example ["ACROSS"].
sourceChainIdYesSource EVM chain ID as a decimal string, for example "8453".
destinationAssetNoDestination asset symbol. Omit when destinationTokenAddress is set.
destinationChainIdYesDestination EVM chain ID as a decimal string, for example "42161".
sourceTokenAddressNoSource token contract. Omit when sourceAsset is set. 0x followed by 40 hex characters. Not the zero address.
destinationTokenAddressNoDestination token contract. Omit when destinationAsset is set. 0x followed by 40 hex characters. Not the zero address.

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 auth requirements (own Axiv Pay API token in the Authorization: Bearer header of the MCP HTTP request, never as a tool argument), the negative guarantees (does not sign or send any blockchain transaction, holds no keys), and that the wallet signs the step returned by get_funding_step. It also explains server-side behaviour: the quote is validated against every term sent (chains, amount, recipient, assets/tokens, payer, allowed routes). The non-readOnly, non-destructive, non-idempotent annotations are consistent with a quote that is created and expires.

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 critical framing ("Step 1 of a payment") is front-loaded and each sentence carries information: sequencing, return fields, XOR constraints, auth, and the no-signing guarantee. Slightly redundant that "moves no funds" and "does not sign or send any blockchain transaction" overlap, but both serve distinct safety purposes.

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 10-parameter, open-world payment tool with no output schema, the description covers the return payload, the sequencing to create_payment, the exclusivity constraints on asset/token pairs, and the authentication model. An agent has everything needed to call it correctly and to interpret the response.

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 baseline is 3, but the description adds real meaning above the schema: the exactly-one-of constraint pairs (sourceAsset XOR sourceTokenAddress, destinationAsset XOR destinationTokenAddress) and the fact that all supplied terms including payer and allowedRoutes are enforced against the returned quote. It does not add format detail beyond the schema, which already handles that.

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?

"Step 1 of a payment. Ask the live payment API for a quote to pay a recipient on a destination chain from a source chain" names a specific verb (quote) and resource (cross-chain payment), and states the scope precisely. It also enumerates what comes back (route, fee estimate, expected and minimum receive amounts, expiresAt), so an agent can distinguish it from create_payment or check_payment_route 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?

Sequencing guidance is explicit: this is step 1 and "Next: create_payment," plus the clarifying "A quote is not a payment and moves no funds." That gives a clear operating context, but no exclusion is stated (e.g., when to skip quoting in favour of create_payment_link or get_funding_step), so it stops 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