Skip to main content
Glama

Axiv Pay

Create an Axiv Pay payment link

create_payment_link

Create a payment link that a customer pays from their own wallet, with no site or backend on your side. amount is what the recipient receives, as a decimal string such as "25.00". The customer picks a stablecoin they hold and pays the route cost on top. Returns url to share. A single-use link closes after one payment; set reusable to accept more. Creating a link moves no funds. Calling again creates another link. Available only while GET https://api.pay.axiv.cc/v1/capabilities reports paymentLinks true. Check that first. While it is false the payment API answers PAYMENT_LINKS_UNAVAILABLE and nothing is created. Requires your own Axiv Pay API token in the Authorization: Bearer header of the MCP HTTP request, never as a tool argument.

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": {
      "destinationChainId": "<destinationChainId>",
      "destinationAsset": "<destinationAsset>",
      "amount": "<amount>"
    },
    "name": "create_payment_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoOptional. What the payment is for, shown to the customer. Up to 80 characters.
amountYesAmount the recipient receives, as a decimal string such as "25.00". No atomic units.
reusableNoOptional. true accepts more than one payment with this link. Default false.
recipientNoOptional. Wallet that receives the payment. Defaults to the wallet of the account that owns the token. 0x followed by 40 hex characters. Not the zero address.
destinationAssetYesAsset the recipient receives, for example "USDC".
merchantReferenceNoOptional order or invoice reference, up to 100 characters from A-Z a-z 0-9 . _ : -.
destinationChainIdYesChain the recipient receives on, as a decimal string, for example "42161".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Adds real behavior beyond the annotations: link creation moves no funds, repeated calls create additional links (reinforcing idempotentHint=false with a concrete consequence), single-use links close after one payment, and the customer pays route cost on top of the amount. It also discloses the auth model precisely — an Axiv Pay token in the Authorization: Bearer header of the MCP HTTP request, never as a tool argument — which no annotation conveys.

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 purpose, then prerequisites, semantics, and auth in a logical order with one idea per sentence. Slight redundancy: the amount-as-decimal-string phrasing duplicates the schema's own description, and the auth sentence is long, but nothing is filler.

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?

Covers what an agent most needs for a 7-parameter, open-world, credential-requiring mutation: gating, failure mode, fund-safety, idempotency, and the return value ("url to share"), which matters since there is no output schema. It leaves open how to discover valid destinationChainId/destinationAsset values and whether a route check should precede creation.

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, but the description adds meaning the schema does not: amount is net to the recipient and the payer covers the route cost on top, which prevents an agent from pre-grossing up the amount. It also documents the behavior of the reusable flag (single-use closes after one payment).

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 ("Create a payment link") and immediately defines the artifact's defining trait: the customer pays from their own wallet with no site or backend on the caller's side. That framing distinguishes it from a direct-charge tool like create_payment without needing to name it.

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?

Gives a hard precondition (only while the capabilities endpoint reports paymentLinks true, and to check that first) plus an explicit when-not with the resulting error PAYMENT_LINKS_UNAVAILABLE. Also clarifies single-use vs reusable intent. It stops short of routing the caller to a sibling when payment links are unavailable or when create_payment would be the better fit.

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