Skip to main content
Glama
Omise MCP Server

Omise MCP Server

by nitishomise

retrieve_refund

Retrieves refund details by ID from Omise, enabling users to verify refund status and processing information for payment and customer support workflows.

Instructions

Retrieve refund information by ID

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": {
      "refund_id": "<refund_id>"
    },
    "name": "retrieve_refund"
  }
}

Input Schema

NameRequiredDescriptionDefault
refund_idYesRefund ID to retrieve

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 burden. 'Retrieve' weakly implies a read-only lookup, but the description says nothing about what happens when the ID is unknown (error vs empty), whether the result includes status/amount/currency fields, or any auth/rate-limit considerations — all of which matter for a single-record fetch.

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, front-loaded with the verb and resource, with no redundant wording. It is efficient but so terse that there is little structure to speak of; nothing is wasted, but little is delivered.

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?

The tool is simple — one required string parameter, no nested objects, no output schema — so the schema covers most of what an agent needs to construct the call. However, with no annotations and no output schema, the description should at least say what kind of record comes back or how failures surface, and it does neither.

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 single refund_id parameter is documented in the schema, so the description need not repeat it. It adds no extra meaning such as ID format (e.g. 're_...' prefix) or whether the ID must belong to the caller's account, leaving it at the baseline.

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 ('Retrieve') and resource ('refund information') qualified by an identifier, which maps cleanly onto the tool name and the naming pattern of the retrieve_* siblings. It does not explicitly contrast itself with create_refund or the other retrieve_* tools, but no ambiguity is introduced.

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 guidance on when to use this tool versus alternatives (e.g. create_refund, or a list-style lookup if one existed) and no stated prerequisites such as a refund needing to exist or a required API key/permission scope. The agent must infer all of this from the name alone.

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