Skip to main content
Glama

Payment link

create_payment_link

Single Orders are for businesses only (§ 14 BGB), no sale to consumers (§ 13 BGB). Consumers use a user account. A Stripe payment page for the quoted files (card, invoice with VAT). Show the link to your user; once paid, download_result releases the final files. A new link replaces the previous one.

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": {
      "job_token": "<job_token>"
    },
    "name": "create_payment_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
languageNoLanguage of messages (default de).
job_tokenYesThe job_token returned by upload_statements.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false), and the description adds real context on top: the link targets an external Stripe page, a new link replaces the previous one (consistent with non-idempotency), and files are not released until payment. It omits anything about link expiry, payment amounts, or failure behavior, keeping it short of full transparency.

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?

Five short sentences, each carrying a distinct fact (eligibility, output type, delivery step, replacement behavior). The legal-citation preamble is the least compact part but is a genuine usage constraint rather than filler.

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 two-parameter, no-output-schema tool, the description covers what is produced (a payment link/page), who may call it, and what happens after payment. Missing pieces such as link lifetime or error conditions are minor relative to this tool's simplicity.

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%, with job_token documented as coming from upload_statements and language defaulting to 'de', so the schema carries the parameter burden. The description adds only indirect meaning ('quoted files' implies a prior quote must exist) and nothing about the language parameter's effect on the generated page.

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 clearly states the tool produces a Stripe payment page for the quoted files, and names the downstream sibling (download_result) that releases files once paid. The verb is implicit ('A Stripe payment page for the quoted files') rather than an explicit 'creates', but an agent can tell it apart from get_price_quote and download_result without opening the schema.

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?

It gives a clear eligibility rule (businesses only via Single Orders, consumers must use a user account) and states the post-payment step (download_result releases final files). It does not explicitly sequence the call after get_price_quote or explain what to do if no quote exists, so the when-to-call ordering is implied rather than spelled out.

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