Skip to main content
Glama

alopeyk_payment_route

Generate a wallet top-up payment URL for a user via Saman or Zarinpal gateway. No network request is made; returns a direct payment link.

Instructions

Build a wallet top-up payment route URL (no network call).

Persian purpose: ساخت مسیر پرداخت برای شارژ کیف پول. Returns a payment URL on the On-Demand host for the chosen gateway. No request is sent.

Args: user_id: Numeric id of the user to credit. amount: Amount to top up (in the account's currency unit). gateway: Payment gateway, saman or zarinpal (default saman). instance: Configured instance whose On-Demand base URL to use.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idYes
amountYes
gatewayNosaman
instanceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are provided, so the description carries full burden. It mentions 'no network call' and returns a URL, but fails to disclose authentication needs, rate limits, failure modes, or whether the URL has expiration. This is insufficient for safe invocation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with a clear one-line summary, but the Persian line adds redundancy without value for an English-speaking agent. The Args block is well-structured, but overall it could be trimmed.

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

Completeness3/5

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

Given the presence of an output schema, return values need not be explained. However, the description does not mention prerequisites like authentication or that the instance must be fetched from 'list_instances', which is a sibling. The 'instance' parameter is ambiguous without that context.

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

Parameters5/5

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

Schema description coverage is 0%, but the description adds detailed explanations for each parameter: user_id (numeric id), amount (in account currency), gateway (with two options), and instance (configured instance). It also specifies defaults. This greatly enhances understanding 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 it builds a wallet top-up payment route URL and is not a network call. The verb 'build' and resource 'payment route URL' are specific, and the tool is distinct from siblings like order-related tools.

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 clear context: it returns a URL for a selected gateway without sending a request. However, it does not explicitly exclude alternatives or state when not to use it, though siblings do not overlap significantly.

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/dwin-gharibi/alopeyk-mcp'

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