Skip to main content
Glama

ifthenpay Payments MCP

creditcard_create_payment

Creates a credit/debit card payment session and returns a payment URL. The customer is redirected to a hosted checkout page to complete payment with their card.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYesPayment amount in EUR (e.g. 10.50).
languageNoLanguage for the checkout page (e.g. "pt", "en"). Defaults to "pt".
order_idYesUnique order identifier in your system (max 15 characters).
ccard_keyYesifthenpay Credit Card key.
error_urlYesURL to redirect the customer if the payment fails.
cancel_urlYesURL to redirect the customer if they cancel the payment.
success_urlYesURL to redirect the customer after a successful payment.

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It discloses the basic flow (creating a session and redirecting to a hosted checkout) but lacks details on idempotency, authentication, rate limits, or side effects beyond mutation.

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

Conciseness5/5

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

The description is two sentences long, front-loaded with the main action, and contains no extraneous words. Every word adds value.

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?

Given the 7 parameters and no output schema or annotations, the description is adequate but could include more, such as the structure of the response (e.g., that it returns a payment URL) or how to handle the URL. The sibling tools are similar, so additional detail would aid differentiation.

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 coverage is 100% with each parameter already described. The description does not add meaningful context beyond the schema, though it groups the redirect URLs implicitly. Baseline 3 is appropriate since the schema covers the parameters.

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

Purpose5/5

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

The description clearly states the tool creates a credit/debit card payment session and returns a payment URL. The name and description distinguish it from sibling tools like mbway_request_payment or multibanco_create_reference, as it's specifically for credit/debit cards.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description does not explicitly state when to use this tool versus alternatives, nor does it provide any exclusions or prerequisites. The purpose is implied by the tool's name and description, but no direct guidance is given.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.9/5.0
Disambiguation5/5

Each tool targets a distinct payment method or action (e.g., cofidis_create_payment vs mbway_request_payment), and the two MB WAY tools are clearly complementary (request vs check status). No ambiguity between tools.

Naming Consistency5/5

All tool names follow a consistent `method_action` pattern in snake_case (e.g., creditcard_create_payment, mbway_check_status, payments_list). Actions like `create_payment`, `create_reference`, and `request_payment` are appropriate for their respective methods.

Tool Count5/5

9 tools is well-scoped for a payment gateway MCP server, covering multiple payment methods and a list endpoint. Each tool serves a clear purpose without redundancy.

Completeness4/5

Covers creation for all payment methods and includes a status check for MB WAY. However, dedicated status/retrieve tools for other payment methods are missing; they rely on the payments_list endpoint. Missing cancellation or refund tools, which are common in payment systems.