Skip to main content
Glama

initiate_payment

Initiate a payment through WariMCP and receive a checkout URL to share with your customer.

Instructions

Initiate a payment through any configured WariMCP provider. Returns a checkout URL for the customer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYesAmount in whole currency units (e.g. 5000 for 5000 XOF)
currencyNoISO currency code: XOF, XAF, CDF, GNFXOF
providerNoPayment provider: cinetpay, wave, mockcinetpay
returnUrlNoRedirect URL after payment
callbackUrlNoYour webhook URL for payment notifications
descriptionNoPayment description shown to customerPayment
customerNameYesFull customer name
customerEmailNoCustomer email
customerPhoneYesPhone in international format: +2250707070707
idempotencyKeyYesUnique key to prevent duplicate payments
Behavior2/5

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

No annotations are provided, so the description carries the full transparency burden. It discloses that a checkout URL is returned, but does not mention side effects, idempotency behavior, authentication requirements, or the asynchronous nature of the payment.

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 extremely concise, consisting of two short sentences that directly state the action and the return value. No unnecessary words or repetition are present.

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 (10 parameters, no output schema, no annotations, and multiple related sibling tools), the description is too minimal. It does not explain operational context, payment lifecycle, or edge cases, making it insufficient for an agent to fully understand the tool's role.

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 schema already covers all parameters with descriptions (100% coverage), so the baseline is 3. The description adds no parameter-specific detail beyond what the schema provides, and its mention of 'any configured WariMCP provider' only restates the provider capability.

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 clearly states the tool initiates a payment and returns a checkout URL, using a specific verb and resource. However, it does not explicitly differentiate this from sibling tools like generate_payment_link or initiate_payout, relying mostly on the tool name and schema for distinction.

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?

The description provides no guidance on when to use this tool versus alternatives, nor does it mention exclusions or context. It simply states the action without explaining when it should be preferred over other payment-related tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Bigabou007-dev/warimcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server