Skip to main content
Glama
Omise MCP Server

Omise MCP Server

by nitishomise

list_customer_cards

Retrieve and paginate all payment cards associated with a specific customer ID for card management and payment method review.

Instructions

List all cards for a customer

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": {
      "customer_id": "<customer_id>"
    },
    "name": "list_customer_cards"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of cards to return
offsetNoOffset for pagination
customer_idYesCustomer ID to list cards for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/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 burden of behavioral disclosure, yet it only implies a read operation. It says 'all cards' despite the schema defaulting limit to 20, so it does not disclose pagination behavior, whether results are ordered, or what happens for an unknown customer — all material for a listing tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and free of padding, but it is too terse for the job, and the word 'all' mildly conflicts with the implicit default page size of 20. Brevity here comes at the cost of necessary detail rather than from efficient wording.

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?

For a three-parameter, unannotated, no-output-schema listing tool, an agent gets no return-shape expectations, no pagination guidance, and no error or empty-result context. The definition is functionally callable because the schema is rich, but it is not complete enough to call confidently.

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 limit, offset, and customer_id are already fully documented with defaults and bounds. The description adds nothing beyond reiterating that the listing is scoped by customer, which matches the baseline for fully covered schemas.

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 names a specific verb and resource ('List ... cards') and scopes it to a single customer, so an agent can distinguish it from the singular retrieve_customer_card and from list_customers. It stops short of explicitly contrasting with those siblings, but the purpose is unambiguous.

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 when-to-use or when-not-to-use guidance, and no mention of when to prefer retrieve_customer_card or a customer-scoped listing over other list tools. The only contextual hint is the phrase 'for a customer', leaving the choice of tool entirely to inference.

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