Skip to main content
Glama
Omise MCP Server

Omise MCP Server

by nitishomise

create_token

Generate a card token from card details to securely process Omise payments while avoiding exposure of sensitive card data.

Instructions

Create a card token for secure payment processing

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": {
      "card_number": "<card_number>",
      "card_name": "<card_name>",
      "expiration_month": "<expiration_month>",
      "expiration_year": "<expiration_year>"
    },
    "name": "create_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoCity for billing address
card_nameYesName on the card
card_numberYesCard number (without spaces or dashes)
postal_codeNoPostal code for billing address
security_codeNoCard security code (CVV/CVC)
expiration_yearYesExpiration year (4 digits)
expiration_monthYesExpiration month (1-12)

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 supplied, so the description carries the full disclosure burden and largely drops it. It never says this is a write operation with side effects, whether the resulting token is single-use or expiring, what permissions/auth are required, or how the sensitive PAN and CVV inputs are handled — all material for a payment-card tool.

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 filler. It is efficient, though its brevity is partly the source of the missing behavioral detail rather than a virtue of precision.

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?

With seven parameters, four required, no annotations, and no output schema, the definition should explain the token lifecycle and what the caller gets back. Instead it offers one clause, leaving an agent unable to predict the response shape or the tool's safety profile.

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 all seven fields (including patterns for card_number and security_code and ranges for expiration) are already documented in the schema. The description adds no meaning beyond that, which matches the baseline 3 for a fully documented 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?

The description gives a specific verb and resource ('Create a card token') that an agent can distinguish from sibling mutations like create_charge or create_customer. It stops short of naming any sibling or stating scope boundaries, so it lands at clear-but-undifferentiated rather than a full 5.

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 create_charge, create_source, or create_customer_card, and no stated prerequisites (e.g., that a token is typically created before a charge). The phrase 'for secure payment processing' hints at a role without defining it.

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