Skip to main content
Glama
Omise MCP Server

Omise MCP Server

by nitishomise

list_refunds

Retrieve Omise refunds with optional date range, charge ID, reason, and pagination filters to review or reconcile payment refunds.

Instructions

List all refunds with optional filtering

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_refunds"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoEnd date for filtering (ISO 8601 format)
fromNoStart date for filtering (ISO 8601 format)
limitNoNumber of refunds to retrieve (default: 20, max: 100)
orderNoOrder of resultschronological
chargeNoFilter by charge ID
offsetNoNumber of refunds to skip (default: 0)
reasonNoFilter by refund reason

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries full behavioral burden and discloses almost nothing: it does not say the operation is read-only, how pagination behaves (limit/offset exist in schema but defaults and max are not restated or explained), what the response shape is, or whether filters combine. Only the word "List" implies a non-mutating read.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and waste-free, but it is too thin for a 7-parameter tool with no annotations — brevity here edges into under-specification rather than crispness.

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?

Given 7 optional parameters, an enum-based sort order, and no annotations or output schema, the description should explain return semantics and pagination behavior. It instead leaves the agent to infer all of that from the schema, which is a real gap.

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 date ranges, limit, offset, order, charge, and reason. The description adds only that filtering is optional, which is marginal beyond what the schema provides; baseline 3 applies.

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 ("List all refunds" with optional filtering), which is unambiguous. It does not differentiate from siblings such as create_refund, but the resource-level phrasing is clear enough for selection.

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?

"with optional filtering" hints at scope but gives no explicit guidance on when to use this versus create_refund or other list tools, and no prerequisites or exclusion cases are stated.

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