Skip to main content
Glama
Omise MCP Server

Omise MCP Server

by nitishomise

list_schedule_occurrences

Retrieve a schedule's execution history and filter occurrences by date range, status, order, limit, and offset for auditing or troubleshooting recurring payments.

Instructions

List all occurrences (execution history) for a schedule

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": {
      "schedule_id": "<schedule_id>"
    },
    "name": "list_schedule_occurrences"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoEnd date for filtering (ISO 8601 format)
fromNoStart date for filtering (ISO 8601 format)
limitNoNumber of occurrences to retrieve (default: 20, max: 100)
orderNoOrder of resultschronological
offsetNoNumber of occurrences to skip (default: 0)
statusNoFilter by occurrence status
schedule_idYesSchedule ID to list occurrences for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/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, and it discloses almost no behavior: not whether the call is read-only, how results are ordered or paginated by default, how far back history is retained, or what each occurrence record contains. The parenthetical 'execution history' is the only genuine behavioral signal.

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 waste-free sentence with the core concept front-loaded. It is efficient, though the terseness leaves room the definition could have used for scope or behavior information.

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 a 7-parameter list tool with no output schema, the description should convey what an occurrence record looks like beyond 'execution history' (status, timestamps, ordering) and note the default pagination. Given that annotations are absent and no output schema exists, these omissions leave the definition adequate but thin.

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 from/to, limit, order, offset, status, and schedule_id are already fully documented in the schema. The description adds no meaning beyond that, which is the baseline expectation when the schema does the heavy lifting.

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?

States a specific verb and resource ('List all occurrences') and scopes it to a schedule, plus parenthetically clarifies that occurrences mean execution history. It is clearly distinct from list_schedules in phrasing, though it never names a sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the phrase 'for a schedule' tells an agent it needs a schedule_id, and 'execution history' hints at run-record lookups. There is no when-to-use/when-not-to-use guidance and no mention of alternatives such as list_schedules or retrieve_schedule.

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