Skip to main content
Glama

Checkout.com MCP by usefulapi

Create payment link

checkout_create_payment_link
Destructive

CREATES a hosted Payment Link the customer can pay through — this sets up a way to COLLECT MONEY. Checkout.com: POST /payment-links. Returns a URL to share with the customer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYesAmount in MINOR units (e.g. 1000 = $10.00). Required.
billingNoBilling object, e.g. { address: { country: 'GB' } }.
currencyYes3-letter ISO currency code, e.g. 'USD'. Required.
customerNoCustomer object, e.g. { email, name }.
metadataNoArbitrary key/value metadata to attach to the payment link.
productsNoLine items, each e.g. { name, quantity, unit_price }.
referenceNoYour reference for the payment link (e.g. order id).
expires_inNoSeconds until the link expires.
return_urlNoURL the customer is returned to after paying.
descriptionNoDescription shown to the customer on the payment page.
idempotency_keyNoIdempotency key — sent as the Cko-Idempotency-Key header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations only supply destructiveHint=true, which is unintuitive for a creation tool and goes unexplained. The description usefully adds that the result is a hosted, shareable link and that it produces a URL, but it says nothing about required API credentials, the meaning of the destructive hint, or that idempotency_key guards against duplicate links.

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

Conciseness4/5

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

Three short sentences, front-loaded with the action and its purpose. The 'POST /payment-links' endpoint reference is the only mild filler, since an agent invoking this tool cannot use the raw path.

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 11 parameters, nested objects, and no output schema, the description correctly fills the biggest structural gap by stating that a shareable URL is returned. It is otherwise complete enough for invocation, though it omits any note on the idempotency behavior that the schema exposes.

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%, including the critical 'minor units' note for amount, so the schema carries all parameter meaning. The description adds no syntax or format detail beyond it, making the baseline 3 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?

States a specific verb and resource ('CREATES a hosted Payment Link'), clarifies the business effect ('sets up a way to COLLECT MONEY'), and gives the backing endpoint. This is clearly distinguishable from the read-side sibling checkout_get_payment_link.

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?

The description establishes a general context (collecting money from a customer) but never states when to prefer this over alternatives like checkout_create_payment, nor any preconditions or exclusions. No routing guidance is offered.

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.