Skip to main content
Glama
Omise MCP Server

Omise MCP Server

by nitishomise

create_chain

Create multi-step Omise payment workflows with ordered charge, transfer, refund, schedule, or webhook actions, including conditions, retries, timeouts, and rollback steps for failure handling.

Instructions

Create a new payment chain

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": {
      "name": "<name>",
      "steps": "<steps>"
    },
    "name": "create_chain"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesChain name
stepsYesChain execution steps
timeoutNoOverall chain timeout in seconds
metadataNoAdditional metadata for the chain
descriptionNoChain description
rollback_stepsNoRollback steps for chain failure

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 provided, so the description carries the full behavioral burden. It only says a new chain is created; it does not disclose whether the chain is immediately active, what permissions are required, whether creation is idempotent, or what side effects occur beyond the schema's structural fields.

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?

The definition is a single front-loaded sentence with no wasted wording. However, for a tool with six parameters and nested execution semantics, it is arguably too terse to be optimally structured as an agent-facing description.

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?

This is a complex create operation with nested steps, rollback steps, conditions, timeouts, and retry behavior, and no annotations or output schema are available. The one-sentence description does not explain execution semantics, failure behavior, return values, or how the created chain relates to sibling tools, leaving important context gaps.

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 input schema already documents all six parameters, including nested step fields, conditions, retry behavior, and rollback steps. The description adds no parameter meaning beyond what the schema provides, so the baseline of 3 is appropriate.

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: "Create" a "new payment chain." It is clear what the tool does, but it does not distinguish this from related create tools such as create_charge or create_transfer, nor from list_chains or retrieve_chain.

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 create_chain versus creating individual charges, transfers, refunds, or schedules. It also does not mention prerequisites, expected use cases, or when not to use the tool.

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