Skip to main content
Glama

Axiv Pay

Check a payment combination

check_payment_route
Read-onlyIdempotent

Answer "can a customer pay with this stablecoin on this chain while I receive that stablecoin on that chain?" from the live payment API. Returns check.quotable (an executable quote is available right now), and when quotable: youPay, sellerReceivesAtLeast, routeCostBps, axivFeeBps 0, payerNetworkFeeUsd, estimatedDurationMs, and verifiedLive (the route has already paid out with a real transfer). When not quotable, check.reason is NO_ROUTE or SAME_ASSET. amount is what the seller receives, as a decimal string; default 10. No token needed. Creates, reserves, and signs nothing. Call once per combination the user chose, not per keystroke: checks are rate limited per caller.

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>",
      "sourceAsset": "<sourceAsset>",
      "destinationChainId": "<destinationChainId>",
      "destinationAsset": "<destinationAsset>"
    },
    "name": "check_payment_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountNoOptional. Amount the seller receives, such as "25.00". Default 10.
sourceAssetYesStablecoin the customer pays with, such as "USDT".
sourceChainIdYesChain the customer pays on, as a decimal chain ID such as "8453".
destinationAssetYesStablecoin the seller receives, such as "USDC".
destinationChainIdYesChain the seller receives on, such as "42161".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (already declaring readOnly/idempotent/non-destructive), it discloses 'No token needed', states nothing is created or signed, warns about per-caller rate limiting, and enumerates exactly what comes back (check.quotable, routeCostBps, axivFeeBps 0, payerNetworkFeeUsd, estimatedDurationMs, verifiedLive) plus the NO_ROUTE/SAME_ASSET failure reasons. That is unusually rich behavioral context for a check tool.

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 central question is front-loaded and the sentences are dense with usable facts rather than filler. The long inline enumeration of return fields is efficient but would scan better broken out, which keeps it short of a 5.

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?

With no output schema, the description carries the return-value burden and does so fully — field meanings, the boolean gate, and the two failure reason codes. Combined with complete schema parameter coverage and explicit safety/rate-limit statements, an agent has everything needed to call and interpret it.

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?

Schema coverage is 100% and every parameter is already documented in the schema, including that amount is optional with a default of 10. The description's restatement ('amount is what the seller receives, as a decimal string; default 10') adds essentially nothing new, so baseline 3 applies.

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?

It frames a precise verb+resource question ('can a customer pay with this stablecoin on this chain while I receive that stablecoin on that chain?') sourced from the live payment API, then adds the key contrast: 'Creates, reserves, and signs nothing.' That implicitly separates it from the create_quote/create_payment siblings that actually execute.

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 concrete usage discipline — 'Call once per combination the user chose, not per keystroke: checks are rate limited per caller' — which tells the agent both scope and cost. It does not, however, explicitly say to follow up with create_quote when quotable is true, so the routing to the executing sibling is left implicit.

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