Skip to main content
Glama

Ghana Payments (Paystack — MTN MoMo)

Server Details

Ghana payments for AI agents — MTN MoMo via Paystack. Never holds funds.

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.
Tool DescriptionsA

Average 4.2/5 across 6 of 6 tools scored.

Server CoherenceA
Disambiguation5/5

Each tool has a distinct purpose: payment creation, payment query, subscription creation, subscription query, cancellation, and refund. No overlap in functionality.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case (e.g., create_payment_link, query_subscription). No deviations.

Tool Count5/5

6 tools is an appropriate scope for a payments server covering core operations: create, query, refund payments; create, query, cancel subscriptions. Not too few or too many.

Completeness4/5

Covers the essential lifecycle for payments and subscriptions. Minor gaps like listing all subscriptions or updating subscription amounts are absent but not critical for the server's stated purpose.

Available Tools

6 tools
cancel_subscriptionA
DestructiveIdempotent
Inspect

Cancel (disable) a subscription so it will not renew. Pass the subscription_code (SUB_...) from query_subscription; email_token is resolved automatically if omitted.

ParametersJSON Schema
NameRequiredDescriptionDefault
email_tokenNoOptional email_token from query_subscription; auto-resolved when omitted.
subscription_codeYesThe subscription_code (SUB_...) returned by query_subscription
Behavior3/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false. The description adds that cancellation prevents renewal and that email_token is auto-resolved. However, it does not disclose potential side effects (e.g., impact on billing, reversibility) or success/failure behavior. Overall adequate but not comprehensive.

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 consists of two concise sentences with no redundant words. It is front-loaded with the core purpose and includes essential parameter guidance efficiently.

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 tool with two parameters, high schema coverage, and no output schema, the description covers purpose and parameter usage sufficiently. However, it lacks an explanation of the return value or expected outcome after cancellation, which would enhance completeness.

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%, so the description adds limited value. It reiterates the source of subscription_code and the optionality of email_token, which is already in the schema. No additional constraints or usage hints are provided beyond the schema.

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 verb 'Cancel' and resource 'subscription', and specifies the effect 'so it will not renew'. It also mentions the required parameter 'subscription_code' from 'query_subscription', distinguishing this tool from siblings like 'create_subscription_link' or 'query_subscription'.

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?

The description tells the agent to pass the 'subscription_code' from 'query_subscription' and notes that 'email_token' is optional and auto-resolved. This provides clear context for usage, though it does not explicitly state when to use this tool versus alternatives or when not to use it.

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

query_payment_statusA
Read-only
Inspect

Check whether a Ghana payment (created by create_payment_link) has been paid. Queries Paystack directly — pull-based, no webhook needed. paid=true when status is PAID.

ParametersJSON Schema
NameRequiredDescriptionDefault
referenceYesThe reference returned by create_payment_link
Behavior3/5

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

Annotations provide readOnlyHint and openWorldHint. Description adds that it queries Paystack directly (pull-based) and that 'paid=true when status is PAID'. It does not disclose error behavior or response structure beyond the paid boolean hint. Given annotation coverage, additional behavioral context is minimal.

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 concise sentences with no filler. Purpose is front-loaded. Every sentence adds value.

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 simple single-parameter tool with annotations, the description covers the core purpose, mechanism, and output interpretation. It lacks details on errors or invalid references, but is largely complete given the tool's simplicity.

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% and the parameter 'reference' is well-described in the schema as 'The reference returned by create_payment_link'. The description adds no new detail about the parameter beyond tying it to the creation tool.

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 explicitly states the tool checks whether a Ghana payment (created by create_payment_link) has been paid, using a direct pull-based query to Paystack. It clearly distinguishes from the sibling create_payment_link by focusing on status checking.

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?

The description indicates when to use the tool (to check payment status) and highlights the pull-based mechanism with no need for webhooks. It does not explicitly state when not to use it, but the single sibling (create_payment_link) is clearly different in purpose.

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

query_subscriptionA
Read-only
Inspect

Check a subscription created by create_subscription_link, using the reference returned at creation. active=true when the subscription is ACTIVE; NOT_SUBSCRIBED_YET means the buyer has not completed checkout. The result includes subscription_code and email_token — keep them to cancel later.

ParametersJSON Schema
NameRequiredDescriptionDefault
referenceYesThe reference returned by create_subscription_link
Behavior4/5

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

The description aligns with annotations (readOnlyHint=true) and adds value by disclosing possible status values (ACTIVE, NOT_SUBSCRIBED_YET) and explaining that the result includes subscription_code and email_token for future use, which annotations do not cover.

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, front-loaded with purpose, then elaborates on return values. Every sentence is necessary and efficient.

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 simple tool with one parameter and no output schema, the description covers purpose, usage, key return fields, and hints at next steps. Minor omissions like error handling are acceptable given the tool's simplicity.

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% for the single parameter 'reference', and the description simply restates the schema's description without adding new semantic detail. Baseline score of 3 is appropriate.

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 verb 'Check' and the resource 'subscription', and specifies the unique context of using the reference from create_subscription_link, effectively distinguishing it from sibling tools like query_payment_status.

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?

The description provides contextual guidance on interpreting the 'active' field and mentions keeping subscription_code and email_token for cancellation. However, it lacks explicit when-not-to-use instructions or comparisons with alternatives.

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

refund_paymentA
Destructive
Inspect

Refund a paid payment (created by create_payment_link). Full refund by default; pass amount for a partial refund where supported. Refunds respect the same owner policy guardrails (x-agentpay-max-amount) as payments — the amount is checked before anything is sent to the gateway.

ParametersJSON Schema
NameRequiredDescriptionDefault
amountNoOptional partial-refund amount in the local currency major unit. Omit for a full refund.
referenceYesThe reference of the paid payment (same id used by query_payment_status)
Behavior4/5

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

Annotations already indicate destructiveHint=true, and the description adds valuable context: it specifies the guardrails check before gateway processing. No contradictions with annotations. However, it does not disclose potential failure modes or side effects beyond the guardrails.

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?

Two sentences, front-loaded with purpose, every sentence adds value. No unnecessary words.

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?

No output schema exists, and the description does not mention what the tool returns (e.g., success indication, refund object, error handling). The agent lacks information about expected response or side effects beyond the guardrails check.

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

Parameters4/5

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

Input schema has 100% coverage, but the description clarifies the amount parameter with 'Full refund by default; pass amount for a partial refund where supported' and links the reference to query_payment_status. This adds meaning beyond the schema's property descriptions.

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 it refunds a paid payment created by create_payment_link, distinguishing it from sibling tools (create_payment_link, query_payment_status). The verb 'refund' and resource 'paid payment' are specific, and the scope is well-defined.

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?

The description explains default behavior (full refund), optional partial refund, and mentions guardrails (x-agentpay-max-amount). It provides context for when to use partial refunds, but lacks explicit exclusion criteria (e.g., 'do not use if payment is unpaid') or a direct statement of alternatives.

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

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.

Resources