Skip to main content
Glama
Omise MCP Server

Omise MCP Server

by nitishomise

list_charges

Retrieve payment charges with optional filters for date range, status, customer, card, and pagination to review transaction history.

Instructions

List all charges 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_charges"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoEnd date for filtering (ISO 8601 format)
cardNoFilter by card ID
fromNoStart date for filtering (ISO 8601 format)
limitNoNumber of charges to retrieve (default: 20, max: 100)
orderNoOrder of resultschronological
offsetNoNumber of charges to skip (default: 0)
statusNoFilter by charge status
customerNoFilter by customer ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/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 behavioral burden. It implies a read-only retrieval, but does not disclose pagination behavior, whether results are capped, or what the response looks like — and the phrase 'list all charges' sits in tension with the schema's default limit of 20.

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 front-loaded sentence with no wasted words. It is efficient, though the brevity edges toward under-specification rather than polished economy.

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?

The tool has eight parameters, no annotations, and no output schema, yet the description is one short clause. An agent gets no explanation of how paging, defaults, or the 'list all' framing interact, which is a meaningful gap for a filtered-list tool of this size.

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%, with each of the eight parameters documented including formats, defaults, and enums. The description adds essentially nothing beyond that, so the baseline score of 3 applies; 'optional' does correctly signal that all filters may be omitted.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a clear verb and resource (list charges), so an agent knows the basic operation. However, 'with optional filtering' is a vague restatement of the schema rather than a precise statement of scope, and nothing distinguishes this from sibling list tools beyond the resource name.

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 such as list_refunds or list_disputes, and no mention of paging strategy or when filters are recommended. Usage is only implicitly inferable from the word 'filtering'.

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