Skip to main content
Glama
Tunzaa

Tunzaa MCP Server

Official
by Tunzaa

initiate_payment

Initiate mobile money payments (M-Pesa) through Tunzaa to implement payment flows in your code. Provide customer phone number, amount, and reference to start transactions.

Instructions

Initiate a payment request (M-Pesa, etc.) via Tunzaa. Call this to inspect the response structure needed to implement mobile money flows in your local code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
customer_msisdnYesCustomer phone number in local format (e.g., 0744550667). Essential for Mobile Money push.
amountYesTransaction amount as a string to avoid precision issues (e.g., '5000').
referenceYesUnique order reference from your system. Used to match callbacks.
addressNoOptional override for API base URL.
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 burden. It mentions the tool is for initiating payments and inspecting response structures, but it doesn't disclose critical behavioral traits like whether this is a live transaction or demo, authentication requirements, rate limits, error handling, or what happens after initiation (e.g., callback triggering). For a payment tool with zero annotation coverage, this is a significant 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?

The description is appropriately sized with two sentences. The first sentence states the purpose clearly, and the second provides usage context. There's no wasted text, and it's front-loaded with the core function. However, the second sentence could be more direct about tool usage rather than focusing on code implementation.

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 complexity of a payment initiation tool with no annotations and no output schema, the description is incomplete. It lacks details on behavioral aspects (e.g., transaction effects, security), doesn't explain the response structure mentioned, and provides minimal guidance on usage. For a tool that likely involves financial transactions, this is inadequate despite the good schema coverage.

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 the schema already documents all 4 parameters thoroughly. The description doesn't add any parameter-specific semantics beyond what's in the schema (e.g., it doesn't explain format details for 'customer_msisdn' or 'reference' beyond the schema's descriptions). With high schema coverage, the baseline score of 3 is appropriate as the description doesn't compensate with extra insights.

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's purpose: 'Initiate a payment request (M-Pesa, etc.) via Tunzaa.' It specifies the action (initiate) and resource (payment request) with platform context (Tunzaa). However, it doesn't explicitly differentiate from sibling tools like 'get_payment_status' or 'handle_callback' beyond the 'initiate' verb.

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 provides implied usage guidance: 'Call this to inspect the response structure needed to implement mobile money flows in your local code.' This suggests it's for development/testing purposes, but it doesn't explicitly state when to use this vs. alternatives like 'get_payment_status' or provide clear exclusions. The context is somewhat clear but lacks explicit alternatives.

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/Tunzaa/tunzaa_mcp'

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