Skip to main content
Glama
UQPAY MCP Server

UQPAY MCP Server

Official
by uqpay

payment_balance_list

Retrieve a paginated list of payment balances for the master account or a specified sub-account, with page size and page number controls.

Instructions

List all payment balances.

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

Input Schema

NameRequiredDescriptionDefault
page_sizeNoResults per page (default: 20)
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.6/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 entire behavioral burden and it discloses almost nothing. It does not state that the operation is read-only, how pagination behaves, whether balances are live or period-end, or what the sub-account scoping via on_behalf_of actually changes about the result set.

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 short sentence with the resource front-loaded and no wasted wording. It is efficient, though its brevity borders on under-specification rather than deliberate conciseness.

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?

For a list tool with no annotations and no output schema, the description should at minimum convey what a balance record represents and how sub-account scoping affects the results. Neither is present, leaving an agent to rely entirely on parameter names.

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 all three parameters, including the on_behalf_of master/sub-account distinction, are documented in the schema itself. The description adds no meaning beyond that, so the baseline score of 3 applies.

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 all payment balances" gives a clear verb and resource, so the basic operation is identifiable. However, it does not distinguish this tool from its obvious sibling payment_balance_retrieve, nor from the adjacent issuing_balance_list and banking_balance_list tools, so an agent still has to guess which of the balance endpoints to call.

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 guidance on when to use this versus payment_balance_retrieve or the other *_balance_list siblings, and no conditions or exclusions are stated. The word "all" is the only hint that this is an unfiltered enumeration, which is an inference rather than guidance.

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