Skip to main content
Glama
UQPAY MCP Server

UQPAY MCP Server

Official
by uqpay

payment_attempt_retrieve

Retrieve a payment attempt by ID to inspect its status and details, optionally on behalf of a sub-account.

Instructions

Retrieve a payment attempt by ID.

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_attempt_retrieve"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPayment attempt ID
on_behalf_ofNoSub-account ID to act on behalf of. Pass the short account ID (e.g. "CB4488338944") to operate on a sub-account; omit to operate on the master account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and does not meet it. 'Retrieve' implies a non-mutating read, but nothing is said about what happens when the ID is unknown, what fields come back, or whether the on_behalf_of scoping changes the result set. For a read tool this is low risk, but the gap is real.

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?

A single front-loaded sentence with no filler, appropriate for a simple lookup. It is efficient but so terse that it borders on under-specification rather than tight writing.

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?

The tool is simple (2 params, no nesting, no output schema, fully documented schema), so a short description is defensible. Still, it omits the meaning of a payment attempt and the sub-account scoping behavior, leaving an agent to infer both.

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%, and the schema already explains both id and on_behalf_of including the short-account-ID example, so the baseline applies. The description's 'by ID' merely echoes the required parameter without adding format or constraint detail.

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 specific verb (Retrieve) and resource (payment attempt) plus the lookup key (ID), which cleanly separates it from the list sibling payment_attempt_list. It does not, however, explicitly name that sibling or explain the distinction.

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

Usage Guidelines3/5

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

'By ID' implies this is the direct-lookup path when an identifier is known, but there is no explicit statement of when to use this versus payment_attempt_list or the related retrieve tools such as payment_intent_retrieve. Usage is inferable rather than stated.

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

Deploy Server

Other Tools