Skip to main content
Glama
Omise MCP Server

Omise MCP Server

by nitishomise

capture_charge

Captures an authorized payment charge, optionally for a lower amount, to finalize funds transfer after authorization.

Instructions

Capture 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": "capture_charge"
  }
}

Input Schema

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

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?

With no annotations, the description carries the full burden of behavioral disclosure. It says this captures an authorized charge, but it does not disclose whether the operation is irreversible, how partial captures behave, whether repeated calls are idempotent, or what permissions or authorization state are required. For a financial mutation tool, these are significant omissions.

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?

The description is a single front-loaded sentence with no filler. It is efficient, though its brevity leaves important operational context unstated.

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 payment mutation tool with no annotations and no output schema, the description is too thin. It omits what happens after capture, how the response should be interpreted, and critical behavioral details such as partial capture semantics and reversibility.

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 the schema already documents charge_id and amount, including the constraint that amount must be less than or equal to the authorized amount. The description adds no parameter meaning beyond the schema, so the baseline score of 3 is appropriate.

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 states a specific verb and resource: "Capture an authorized charge." The word "authorized" narrows the operation to post-authorization capture, which helps distinguish it from create_charge. However, it does not explicitly differentiate the tool from siblings such as reverse_charge or expire_charge.

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?

The description gives almost no when-to-use guidance. It implies that a charge must already be authorized, but it does not state prerequisites, exclusions, or alternatives. It never explains when an agent should choose capture_charge over create_charge, reverse_charge, or expire_charge.

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