Skip to main content
Glama

create_payment_link

Create a payment link anyone can pay in USDC. It pays your verified wallets from Studio Settings > Wallets. Needs an access token with mcp:products:write. Moves no money.

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": {
      "accessToken": "<accessToken>",
      "title": "<title>",
      "amount": "<amount>"
    },
    "name": "create_payment_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesWhat the payment is for, 2 to 120 characters
amountYesAmount in USDC
chainsNoWhich chains to accept. Default: every chain you have a verified wallet on
thank_youNoOptional message the buyer sees after paying
accessTokenYesYour Studio access token (sgl_pat_*). Can be omitted when the connection sends Authorization: Bearer sgl_pat_*
descriptionNoOptional details shown on the pay page

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses where funds land ('your verified wallets from Studio Settings > Wallets'), the required auth scope, and the crucial 'Moves no money' characteristic for this call. It stops short of stating idempotency, link expiry, or whether the link is immediately live.

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?

Three short sentences, front-loaded with the purpose, then destination, then auth and safety. Nothing is padded and no sentence is redundant.

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?

For a six-parameter mutation tool with no output schema and no annotations, the description covers purpose, funding destination, auth scope, and the no-funds-moved guarantee. It leaves the return value (presumably a link URL) and expiry/lifecycle behavior unstated, which keeps it just short of complete.

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 every parameter is already documented, including the chains enum default and the amount bounds. The description adds no per-parameter meaning beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Create a payment link anyone can pay in USDC.' That is unambiguous and readable against siblings named get_payment_link and list_payment_links, though it never names an alternative or states what separates it from create_invoice or create_endpoint_with_payment.

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?

It gives the precondition for use (an access token carrying mcp:products:write) and the eligible payers ('anyone'), but offers no when-to-use / when-not-to-use framing and does not point at any of the many payment-related siblings. Usage is implied rather than guided.

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.

Resources