Skip to main content
Glama
Omise MCP Server

Omise MCP Server

by nitishomise

expire_charge

Expire a pending charge by providing its charge ID, preventing further processing or capture.

Instructions

Expire a pending 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": "expire_charge"
  }
}

Input Schema

NameRequiredDescriptionDefault
charge_idYesCharge ID to expire

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 provided, so the description carries the full behavioral burden. It never states whether expiration is irreversible, what happens to the authorization hold, whether the charge becomes permanently uncapturable, or what permissions are required — all critical for a mutation tool.

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 five-word phrase with zero waste and the key qualifier ('pending') placed where it is read first. It is tight, though the terseness leaves it bordering on under-specification rather than elegance.

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 non-read-only financial mutation with no annotations and no output schema, the definition should say more about consequences and failure modes. The parameter is fully documented, but the behavioral contract an agent needs before invoking it is missing.

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 coverage is 100%, with charge_id already described as 'Charge ID to expire', so the schema does the heavy lifting. The description adds only the implicit constraint that the referenced charge must be pending, which is marginal but not nothing.

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?

Names a specific verb (expire) and resource (charge) plus a qualifying state ('pending'), so the agent knows exactly what object is acted on. It does not distinguish this from reverse_charge or capture_charge, leaving the agent to infer the difference from names alone.

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 single word 'pending' hints at a precondition, but there is no explicit when-to-use, when-not-to-use, or pointer to an alternative such as reverse_charge. Any guidance must be inferred, not read.

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