Skip to main content
Glama
Omise MCP Server

Omise MCP Server

by nitishomise

update_charge

Modify a pending charge's metadata or description to correct payment details before completion.

Instructions

Update charge information (only for pending charges)

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": "update_charge"
  }
}

Input Schema

NameRequiredDescriptionDefault
metadataNoNew metadata for the charge
charge_idYesCharge ID to update
descriptionNoNew description for the charge

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden; it does disclose the important eligibility restriction that only pending charges can be updated. It omits other mutation-critical behavior: required permissions, whether the update is idempotent, and what happens when the charge is not pending (error vs. silent no-op).

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 eligibility constraint front-loaded and no filler. It is efficient, though borderline under-specified for a mutation tool rather than genuinely concise.

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 mutation tool with a nested metadata object, no annotations, and no output schema, key questions remain unanswered: whether metadata replaces or merges with existing values, what is returned, and how failures on non-pending charges surface. The description leaves too much of that burden unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and each parameter has its own schema description, so the baseline would be 3. The description slightly exceeds that by tying the operation's validity to charge_id eligibility (pending charges only), which the schema does not express.

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 and resource ('Update charge information') and adds a scoping constraint that narrows the domain to pending charges. It does not distinguish itself from siblings like capture_charge or expire_charge, but the operation itself 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?

The parenthetical 'only for pending charges' gives a genuine when-not condition, which is more than most definitions offer. However, it names no alternative for non-pending charges (e.g., capture or reverse), leaving the agent to infer routing from sibling names alone.

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