Skip to main content
Glama

Receive Payment

payment_receive

Receives pending Nano (XNO) funds tied to a payment request and updates request status; optionally binds a send hash when multiple receivables are pending.

Instructions

Receive pending funds associated with a payment request. Updates the request status.

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": {
      "id": "<id>"
    },
    "name": "payment_receive"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPayment request ID
sendHashNoOptional Nano send block hash to bind this receive when multiple receivables are pending

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.2.1

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and idempotentHint=false, and the description is consistent with that by describing a state mutation ('Updates the request status'). It adds nothing about the non-idempotent risk (retry behavior), what happens when no funds are pending, or whether the receive is irreversible — meaningful gaps for a funds-moving operation.

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?

Two short sentences, front-loaded with the core action and followed by the side effect; nothing is padded. The second sentence ('Updates the request status') is slightly vague but still earns its place as a mutation signal.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a non-idempotent, funds-moving mutation with no output schema and no annotations covering error or retry semantics, so the description should carry more. It omits failure modes (no pending funds, multiple receivables requiring sendHash) that an agent needs before invoking 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 description coverage is 100%, so both parameters (id, sendHash) are already documented in the schema, establishing the baseline of 3. The description adds no extra meaning about how sendHash disambiguates among multiple pending receivables, leaving that entirely to the schema text.

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?

States a concrete verb and resource: 'Receive pending funds associated with a payment request', plus a side effect ('Updates the request status'). It is clear what the tool does, but it does not distinguish itself from siblings such as wallet_receive or block_receive, which the agent must infer by name alone.

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?

The description names the object (a payment request) but offers no explicit when-to-use rule, no exclusion against the sibling receive tools (wallet_receive, block_receive), and no prerequisite such as having a pending receivable. The agent must guess which receive variant applies.

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