Skip to main content
Glama
moolrehq

moolre-mcp

Official
by moolrehq

generate_payment_link

Create a hosted payment page URL to collect payments from customers. Specify amount, currency, and account number to generate a link for one-time or reusable use.

Instructions

Create a hosted Moolre Web POS payment page URL for collecting payments.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYesEmail of the business.
amountYesAmount to be paid.
headersNoHTTP headers to include
callbackNoCallback URL for payment notifications.
currencyYesCurrency of your account/wallet.
metadataNoOptional metadata to be returned in callbacks.
redirectNoRedirect URL after successful payment.
reusableYesDetermines if the link can be used for repeat payments. 0=No, 1=Yes.
externalrefYesUnique ID to identify the payment.
accountnumberYesYour Moolre Account Number.
expiration_timeNoLink expiry time in minutes. Minimum 1 minute.
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It only states that the tool creates a URL, but fails to mention if it modifies state, requires specific authorization, has rate limits, or what the response format is. The creation action implies mutation, but no safety details are given.

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. It conveys the essential purpose without any unnecessary words or redundancy. Every part of the sentence adds value.

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 (11 parameters, 6 required, no output schema), the description is too minimal. It does not explain the output (presumably a URL), expected inputs format, error conditions, or prerequisites like having a Moolre account. This leaves significant gaps for an agent to use the tool correctly.

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 baseline is 3. The description does not add any further meaning beyond what the schema already provides for each parameter. It does not explain parameter interactions or constraints, but the schema itself is sufficiently descriptive.

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 'Create', the resource 'hosted Moolre Web POS payment page URL', and the purpose 'collecting payments'. It uniquely identifies the tool's function among many sibling tools focused on different areas like SMS, transfers, and account management.

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 such as initiate_payment or create_payment_id. The description lacks context for when not to use it, prerequisites, or comparison with siblings.

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/moolrehq/mcp_php'

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