Skip to main content
Glama
parseen254

daraja-mcp

by parseen254

business_to_pochi

Make payments to Pochi la Biashara numbers via M-Pesa. Specify the recipient phone number and amount in KES to initiate the transaction.

Instructions

Pay a Pochi la Biashara number.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYesAmount in KES, whole numbers only.
remarksNoPayment
resultUrlNo
shortCodeNo
phoneNumberYesPochi la Biashara number receiving the payment.
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It doesn't mention whether payment is immediate, requires confirmation, triggers callbacks, or has any side effects. This is a significant gap for a payment tool.

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 a single, well-structured sentence with zero wasted words. It is front-loaded with the verb and target, making it immediately scannable. However, it is short to the point of being under-specified, but that is a completeness issue, not a conciseness issue.

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?

The tool has 5 parameters, no annotations, and no output schema, so the description must carry substantial context. It only provides a minimal statement of purpose, omitting crucial details about expected outcomes, callback behavior, or error scenarios. It is far from complete for a payment operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema covers only 2 of 5 parameters (amount and phoneNumber) with descriptions. The tool description adds no additional meaning, leaving remarks, resultUrl, and shortCode entirely undocumented. It fails to compensate for the low 40% schema coverage.

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 action (Pay) and the target resource (a Pochi la Biashara number), which aligns with the tool name. It distinguishes from siblings like b2c_payment or stk_push by targeting Pochi la Biashara specifically, though it doesn't explicitly contrast with them.

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?

No guidance is provided on when to use this tool versus alternatives like stk_push, b2c_payment, or c2b_simulate. The description merely states the action without any context, exclusions, or preconditions.

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/parseen254/daraja-mcp'

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