Skip to main content
Glama
UQPAY MCP Server

UQPAY MCP Server

Official
by uqpay

simulator_issuing_reverse

Simulate a reversal on a previously authorized issuing transaction to test how your system handles voided or reversed card authorizations in the sandbox environment.

Instructions

SANDBOX ONLY. Simulate a reversal on a previously authorized transaction.

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": {
      "transaction_id": "<transaction_id>"
    },
    "name": "simulator_issuing_reverse"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.
transaction_idYesTransaction ID to reverse

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/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 it does disclose one critical trait: 'SANDBOX ONLY', which prevents accidental production use. It omits other behavioral facts an agent would want for a mutation with zero annotation coverage — whether the reversal is full or partial, whether it is idempotent, and whether it can fail on already-settled transactions.

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 sentences, with the safety-critical 'SANDBOX ONLY' warning front-loaded before the action statement. Nothing is wasted and nothing important is buried.

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 only two fully documented parameters and no output schema, the definition is close to sufficient, and the sandbox warning covers the biggest risk. It still leaves the agent guessing about the effect of a successful reversal (full void vs. partial refund) and about failure modes, which matters for a mutating simulator.

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 transaction_id and the on_behalf_of sub-account semantics in detail. The description adds no meaning beyond that, so the baseline 3 applies; it notably never hints that the reversal is for the transaction's full amount, which the absence of an amount parameter implies.

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?

The description gives a specific verb ('Simulate a reversal') against a specific resource ('a previously authorized transaction'), which is enough to distinguish it from simulator_issuing_authorize and the non-simulator transaction tools. It stops short of naming a sibling alternative, but the verb+object pairing 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 Guidelines3/5

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

It implies a usage condition by scoping the tool to 'a previously authorized transaction', which tells the agent an authorization must exist first. It does not say when to prefer this over the real reversal path or what to do if the transaction is not reversible, so guidance is implied 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