Skip to main content
Glama
Omise MCP Server

Omise MCP Server

by nitishomise

retrieve_token

Fetch token details by ID to inspect Omise payment token data for payment workflows.

Instructions

Retrieve token information by ID

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": {
      "token_id": "<token_id>"
    },
    "name": "retrieve_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
token_idYesToken ID to retrieve

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/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 behavioral burden, and it discloses nothing: not whether retrieval requires authentication or elevated permissions, whether token material is returned in cleartext, whether missing IDs error or return empty, or whether the call has any side effects. For a security-sensitive credential-like resource, this is a substantial gap.

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 with the lookup key front-loaded and zero filler. It is efficient, though the brevity reflects under-specification rather than disciplined editing.

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?

The tool is structurally simple — one required string param, no nesting, no output schema — so a one-line description is defensible. But with no annotations and no statement of return shape or error behavior, an agent still lacks enough to invoke it confidently in ambiguous cases.

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?

The single parameter is fully described in the schema (100% coverage), so the schema does the heavy lifting; the description's "by ID" merely confirms the lookup key. No format, prefix, or source guidance for the token_id is added beyond what the schema already states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Retrieve token information by ID" pairs a specific verb with the resource named in the tool name, so the basic intent is discernible. However, it adds almost nothing beyond the tool name and never says what a 'token' is or what 'information' comprises, leaving it indistinguishable from the many sibling retrieve_* tools on substance.

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 versus siblings such as create_token or the other retrieve_* tools, and no prerequisites or exclusions are stated. The agent must infer that this is the read counterpart to create_token purely from naming conventions.

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