Skip to main content
Glama
UQPAY MCP Server

UQPAY MCP Server

Official
by uqpay

payment_refund_list

Lists refunds with filters for time range, merchant order ID, payment intent ID, and sub-account, plus pagination. Use it to review and track refund records from UQPAY payment data.

Instructions

List refunds.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "payment_refund_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_timeNoFilter by end time (ISO 8601)
page_sizeNoResults per page (default: 20)
start_timeNoFilter by start time (ISO 8601)
page_numberNoPage number, 1-based (default: 1)
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.
merchant_order_idNoFilter by merchant order ID
payment_intent_idNoFilter by payment intent ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet it only says the tool lists. "List" weakly implies a read-only, non-destructive operation, but pagination behavior, default result ordering, and the scope implications of on_behalf_of (master vs. sub-account) are left undisclosed.

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

Conciseness3/5

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

Two words are technically concise and front-loaded, and nothing is wasted. But the brevity is under-specification rather than efficiency: a list tool with seven filtering and paging parameters warrants at least a sentence about ordering or pagination.

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?

The tool exposes seven optional parameters, pagination controls, and sub-account targeting, with no annotations and no output schema to fill the gaps. Given that complexity, the description is not complete enough for an agent to know what the result set looks like or how filtering interacts with paging.

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 all seven parameters, including time filters, paging, and on_behalf_of, are documented in the schema itself. The description adds no meaning beyond that, which is the baseline 3 when the schema does the work.

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

Purpose3/5

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

"List refunds" names a specific verb and resource, so the basic operation is unambiguous. However, it offers nothing to distinguish it from siblings like payment_refund_retrieve or payment_refund_create beyond the obvious singular/plural and verb difference, and it doesn't state scope (account-wide vs. filtered).

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 guidance at all: no mention of when to list rather than retrieve a single refund, no prerequisites, and no indication of how filters should be chosen. The agent must infer everything from the parameter names.

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