Skip to main content
Glama
momo-xof-mcp

momo-xof-mcp

momo_initiate_payment

DestructiveIdempotent

Request a mobile money payment in the XOF zone and get a payment link plus transaction IDs for reconciliation. This only initiates; the customer must pay, and the outcome is confirmed asynchronously.

Instructions

Request a mobile money payment from a customer in the XOF zone. IMPORTANT: this REQUESTS a payment, it never confirms one. A successful call means the aggregator accepted the request and returned a payment link; the customer has not paid yet and no money has moved. The final outcome arrives asynchronously and must be checked separately. Returns a payment_url that the customer must open to complete the payment, plus the transaction identifiers needed to reconcile it. The caller must supply a unique reference for idempotency; it is never generated silently. Amounts are whole XOF: the franc has no decimals. A server-side ceiling rejects amounts above the configured maximum.

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": {
      "amount": "<amount>",
      "reference": "<reference>",
      "description": "<description>",
      "client_email": "<client_email>",
      "client_first_name": "<client_first_name>",
      "client_last_name": "<client_last_name>"
    },
    "name": "momo_initiate_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesAmount in whole XOF. The West African CFA franc has no decimal subunit, so this must be an integer — never a float. Rejected above the server's configured ceiling.
countryNoISO 3166-1 alpha-2 country code, needed only to interpret a national-format 'customer_phone'. Use momo_list_operators to see the supported countries.
referenceYesYour own unique reference for this payment, used for idempotency and reconciliation. Maximum 30 characters. It is returned unchanged by the aggregator. Never reuse one, and never let it be generated for you: you need it to match the payment back to your order.
descriptionYesShort label shown to the customer on the payment page.
client_emailYesCustomer email address. Required by the aggregator.
customer_phoneNoOptional customer mobile number. Give it in E.164 form (+22670123456), or in national form together with 'country'. It pre-fills the payment page. Omit it to let the customer enter their own number.
client_last_nameYesCustomer last name, 2 to 255 characters. Required.
client_first_nameYesCustomer first name, 2 to 255 characters. Required.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is covered; the description nonetheless adds substantive behavior: the aggregator only accepts the request, a payment link is returned, no funds have moved yet, and the outcome is asynchronous. It also discloses a server-side maximum-amount rejection and the fact that the idempotency reference is never auto-generated, which are exactly the operational facts an agent needs before firing a money-moving call.

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 critical caveat is front-loaded in the second sentence with an explicit 'IMPORTANT' marker, and the remaining sentences each carry distinct payload: outcome semantics, return shape, idempotency expectation, amount rules. There is minor restatement ('the customer has not paid yet and no money has moved') but the redundancy is deliberate emphasis on a high-risk operation, not filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-required-parameter, money-moving tool with an output schema present, the description covers the semantics of success, the asynchronous settlement model, idempotency expectations and the amount ceiling. It omits what a failed or rejected call looks like (e.g. duplicate reference, ceiling breach) and any authentication/credential prerequisites, which would matter for an agent handling errors.

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 every parameter is already documented with examples, formats and constraints. The description mostly restates the schema's key points (caller-supplied unique reference, whole-XOF integer amounts, server-side ceiling) rather than adding new semantics; the baseline of 3 applies when the schema does the heavy lifting.

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 first sentence states a specific verb and resource plus a scope qualifier ('Request a mobile money payment ... in the XOF zone'), and the following sentences sharpen exactly what class of operation this is ('REQUESTS a payment, it never confirms one'). That contrast lets an agent separate it from momo_check_payment_status without opening either schema.

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

Usage Guidelines4/5

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

It tells the agent what a successful call actually means and that 'the final outcome arrives asynchronously and must be checked separately', which is real routing guidance toward the status-check sibling even though that sibling is not named. It also sets preconditions the caller must satisfy (supply a unique reference, integer XOF amounts, stay under the ceiling). It stops short of explicit when-not-to-use exclusions or naming the alternative tool.

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