Skip to main content
Glama

Create a crypto payment link

create_checkout

Create a USD or EUR payment and return a CigalPay checkout link to send customers; they choose the coin, with the rate locked for 30 minutes (max 5,000).

Instructions

Create a payment priced in USD or EUR and return the CigalPay checkout link to send to the customer. The customer chooses the coin on the checkout page; the rate is locked for 30 minutes. Maximum 5,000 per payment.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "amount": "<amount>",
      "currency": "<currency>",
      "description": "<description>"
    },
    "name": "create_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoCheckout language (default en)
amountYesPrice in the currency, e.g. 49.9
currencyYes
order_idNoYour reference for this payment (generated if omitted)
notify_urlNoPublic HTTPS URL that receives signed payment notifications
return_urlNoWhere the customer goes after paying
descriptionYesShown to the customer, e.g. "Logo design - invoice 1042"
fee_paid_byNoWho pays the processing fee: 'customer' adds it to the price the customer pays. Omit to use the dashboard setting

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.1.1
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed1 schema field changedv1.1.0
    • addedInput schema / properties / fee_paid_by
      Added value: +{
      +  "description": "Who pays the processing fee: 'customer' adds it to the price the customer pays. Omit to use the dashboard setting",
      +  "enum": [
      +    "customer",
      +    "merchant"
      +  ],
      +  "type": "string"
      +}
  3. First observedv1.0.1

TDQS

A4.2/5.0
Behavior4/5

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

Goes meaningfully beyond the annotations by disclosing the 30-minute rate lock and the 5,000 per-payment cap, plus the fact that the customer selects the coin downstream. It does not address retry/duplicate behavior or what the caller receives besides the link, but the annotations already declare the non-idempotent, non-destructive, open-world profile.

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 tight sentences, front-loaded with the action and the returned artifact, followed by the two operational constraints an agent most needs. Nothing is padded or repeated from the schema.

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?

With no output schema, the description correctly names the primary return value (the checkout link) and covers the key constraints for a creation tool. It stops short of describing the full response payload or retry semantics, a minor gap for an 8-parameter mutation.

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?

Schema coverage is 88%, so the baseline is 3; the description earns an extra point by clarifying that no coin parameter exists because the customer chooses it on the checkout page — a non-obvious design point given the list_supported_coins sibling. The amount cap and currency restriction restate schema constraints rather than adding new meaning.

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?

States a specific verb (create), resource (payment priced in USD or EUR), and the return value (CigalPay checkout link to send to the customer). This is clearly distinguishable from the sibling retrieval tools (get_payment, list_active_payments, list_refunds) without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: it is evident this is the tool for charging a customer and that the coin is picked later on the checkout page. There is no explicit when-not guidance, no mention of what to do on retries (relevant since idempotentHint is false), and no named alternatives for looking up an already-created payment.

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