Skip to main content
Glama
Omise MCP Server

Omise MCP Server

by nitishomise

reverse_charge

Reverse an authorized charge to cancel or reduce a payment before capture. Specify charge ID and optional amount to reverse up to the authorized total.

Instructions

Reverse an authorized charge

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": {
      "charge_id": "<charge_id>"
    },
    "name": "reverse_charge"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountNoAmount to reverse (must be less than or equal to authorized amount)
charge_idYesCharge ID to reverse

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/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 disclosure burden for a financial mutation. It does not say whether a reversal is reversible, whether the full amount is voided by default, what permissions are needed, or what the response contains. Only the implicit "authorized" state requirement adds any behavioral signal.

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?

Four words, front-loaded with the action and resource, with no filler. Nothing is redundant or buried.

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 destructive financial operation with no annotations and no output schema, the definition is underspecified: partial-vs-full reversal semantics, irreversibility, and post-reversal charge state are all unstated. The schema covers parameter formats but not the consequences 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%, and the schema itself explains that amount must be less than or equal to the authorized amount, so the baseline is 3. The description adds nothing about how omitting amount behaves (full vs partial reversal), leaving the only genuinely ambiguous parameter case undocumented.

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 ("reverse") and resource ("charge"), qualified by the charge's state ("authorized"), so the agent knows the target object and precondition. It does not distinguish itself from nearby siblings such as create_refund or expire_charge, so an agent must guess whether reversal means refund or void.

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 explicit when-to-use guidance, no statement of when not to use it, and no named alternative. The word "authorized" hints at a precondition, but nothing tells the agent how this differs from create_refund or that an uncaptured charge is required.

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