Skip to main content
Glama
Omise MCP Server

Omise MCP Server

by nitishomise

create_link

Generates a payment link to collect payments with a set amount, currency, and title, with options for expiration, branding, taxes, and custom fields.

Instructions

Create a new payment link

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": {
      "amount": "<amount>",
      "currency": "<currency>",
      "title": "<title>"
    },
    "name": "create_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
usedNoNumber of times the link has been used
titleYesLink title
amountYesPayment amount in the smallest currency unit
tax_idNoTax ID for the payment
chargesNoAssociated charges
brandingNoPayment page branding
currencyYesCurrency code (THB, USD, JPY, etc.)
fee_rateNoFee rate as a percentage (0-100)
metadataNoAdditional metadata for the link
multipleNoAllow multiple payments for the same link
tax_rateNoTax rate as a percentage (0-100)
expires_atNoLink expiration date (ISO 8601 format)
descriptionNoLink description
payment_uriNoPayment URI for the link
custom_fieldsNoCustom fields for the payment form
tax_inclusiveNoWhether tax is included in the amount

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?

With no annotations, the description carries the full behavioral burden, but it only states that a link is created. It does not disclose permissions, side effects, idempotency, whether the link is immediately active, or what the response contains.

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 description is a single front-loaded sentence with no filler. However, for a 16-parameter creation tool, it is arguably undersized rather than optimally structured.

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 the tool's complexity, no annotations, no output schema, and many optional fields, the description is far too sparse. The schema covers inputs well, but the definition says nothing about return values or important creation behavior.

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 all 16 parameters in detail. The description adds no parameter meaning beyond the schema, which is acceptable but not helpful.

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 gives a clear verb and resource: "Create a new payment link." It makes the action obvious, though it does not explicitly distinguish this tool from retrieval or listing siblings such as retrieve_link or list_links.

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, nor any prerequisites, constraints, or follow-up actions. The agent must infer usage entirely from the tool name and schema.

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