Skip to main content
Glama

Create Payment Link

create_payment_link

Creates a PayRam checkout (payment) link and returns the hosted URL plus a reference_id. Authenticates with the Merchant API-Key (set PAYRAM_API_KEY). This WRITES — it creates a real payment request. The customer chooses the chain/currency on the hosted checkout. Poll status later with lookup_payment (or GET /api/v1/payment/reference/{reference_id}).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
customerIDYesYour internal customer identifier (sent as customerID, required)
amountInUSDYesPayment amount in USD (must be > 0)
customerEmailYesCustomer email (required — the backend validates it as a non-empty email)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
hostNo
reference_idYes

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description fully discloses the write behavior ('This WRITES — it creates a real payment request'), authentication requirement (PayRAM API-Key), the hosted checkout flow where customer selects chain/currency, and how to track the payment via reference_id. This exceeds the minimal disclosure expectations.

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 three sentences, front-loaded with the primary action and result. Every sentence adds value: action/return, auth note, mutation warning, hosted checkout behavior, and status polling pointer. No redundancy or wordiness.

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

Completeness5/5

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

The tool has an output schema (referenced) and the description mentions the key return values (hosted URL, reference_id). Given the write semantics, auth requirements, and follow-up status mechanism, the description is complete for an agent to invoke and understand the outcome. Siblings cover status lookup.

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% with clear descriptions for all three parameters, so the baseline is 3. The description adds context about the hosted checkout (customer chooses chain/currency), which implies why currency/chain are not parameters, but it doesn't add syntax or format details 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 ('Creates') and resource ('PayRam checkout/payment link'), and specifies the return payload (hosted URL + reference_id). It distinguishes itself from siblings like lookup_payment by focusing on creation and explicitly noting it WRITES.

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 for when to use the tool (creating a payment link) and gives an explicit alternative for later status checks ('Poll status later with lookup_payment'). It doesn't explicitly state when not to use it, but the context is sufficient.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

B3.3/5.0
Disambiguation3/5

Many tools have distinct targets, but there is notable overlap in diagnostics (check_node_sync, check_payment_readiness, payram_doctor, test_payram_connection) and a large cluster of snippet generators for different languages that could be confused. The descriptions help, but several tools appear to serve the same underlying purpose.

Naming Consistency3/5

Snake_case is used consistently, but verb prefixes vary unpredictably: check_, generate_, get_, list_, lookup_, search_, snippet_, test_, restart_, etc. Similar actions use different verbs (lookup_payment vs search_payments vs get_payment_summary; generate_payment_route_snippet vs snippet_express_payment_route), making the naming pattern less predictable.

Tool Count2/5

With 52 tools, the set is significantly over-scoped for a developer assistance server. Many tools could be consolidated (e.g., a single snippet generator with language parameters, or unified health diagnostics), and the count introduces unnecessary complexity for agents.

Completeness3/5

The surface covers payments (create, lookup, search, summary), diagnostics, docs, and many integration snippets, but lacks direct payout creation (only snippet generators), no refund or wallet creation. These are notable gaps for a payments platform server, though the snippet tools and diagnostics mitigate some dead ends.

Resources