Skip to main content
Glama
Omise MCP Server

Omise MCP Server

by nitishomise

list_events

Retrieve Omise events with optional filters for event type, date range, resource key, livemode, limit, offset, and order to audit payment activity.

Instructions

List all events 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_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoEnd date for filtering (ISO 8601 format)
keyNoFilter by resource key (e.g., charge ID, customer ID)
fromNoStart date for filtering (ISO 8601 format)
typeNoFilter by event type
limitNoNumber of events to retrieve (default: 20, max: 100)
orderNoOrder of resultschronological
offsetNoNumber of events to skip (default: 0)
livemodeNoFilter by live mode (true for production, false for test)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the disclosure burden, but 'List' at least truthfully signals a read-only, non-destructive operation. Beyond that it says nothing about pagination semantics (default page size, maximum, how offset interacts with order), what an event record contains, or whether results are bounded — all of which the schema only partially covers.

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 filler or repetition. It is efficiently written, though the brevity borders on under-specification rather than being merely compact.

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?

For an eight-parameter, read-only listing tool with full schema coverage and no output schema, the definition is technically sufficient to call the tool. It is nonetheless thin: it never describes the returned event objects or pagination behavior, so an agent assembling results must rely entirely on the schema's parameter docs.

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 every one of the eight parameters carries its own description, including enum values and defaults, so the schema does the heavy lifting. The phrase 'optional filtering' adds the useful confirmation that all filters are optional, but it contributes no syntax or format detail beyond the schema.

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?

"List all events with optional filtering" gives a clear verb plus resource and states the scope (all events, filtering optional). It does not distinguish this tool from other list_* siblings, but the resource noun 'events' is unambiguous enough to separate it from list_charges, list_customers, and the rest.

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 description states no when-to-use conditions, no prerequisites, and no alternatives. It only implies that filtering is available; an agent must infer from the parameter names (key, type, from/to) which filters to apply and when this tool is preferable to fetching the underlying resource.

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