Skip to main content
Glama

Create Payment Request

payment_create

Create a tracked Nano (XNO) payment request, generating a QR code and request ID for tracking.

Instructions

Create a tracked Nano payment request. Generates a QR code and returns a request ID for tracking.

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": {
      "walletName": "<walletName>",
      "amountXno": "<amountXno>",
      "reason": "<reason>"
    },
    "name": "payment_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYesDescription or reason for the payment request
amountXnoYesRequested amount in XNO (e.g. "0.1")
walletNameYesOWS wallet name to receive funds
accountIndexNoAccount index (OWS only supports 0)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.2.1

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the description's job is to add context, and it does deliver two concrete side effects: QR generation and a tracking request ID. It does not say whether requests expire, whether calling twice with the same inputs creates duplicates (relevant given idempotentHint=false), or what permissions the wallet requires.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with zero filler, and the creation action plus the two observable side effects are front-loaded. Nothing could be removed without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 usefully states that a QR code and request ID come back, which is the minimum an agent needs to chain into payment_status. However, for a non-idempotent mutation on a wallet it omits duplicate-call behavior, expiry, and preconditions, leaving real gaps.

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 description coverage is 100%, so every parameter including accountIndex and its default is already documented in the schema. The description adds no syntax, unit or constraint detail beyond that, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Create a tracked Nano payment request" gives a specific verb and resource, and "tracked" plus the returned request ID separates it from payment_receive and payment_status without opening the schema. It stops short of explicitly naming which sibling to prefer, but the resource is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no named alternative, even though payment_receive, payment_status and payment_refund sit adjacent. An agent must infer the requesting scenario entirely from the tool name.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.