Skip to main content
Glama

All AI LLC API: documents and calculators

Get a checkout link for an item

get_checkout_link
Read-onlyIdempotent

Return the existing Stripe payment link for a catalog item, with client_reference_id set. A human completes payment. No new Stripe prices. Free items have no checkout link.

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": {
      "id": "<id>"
    },
    "name": "get_checkout_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCatalog id

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?

The annotations cover the safety profile, but the description still adds meaningful behavior: the link is existing, not newly created, no new Stripe prices are generated, the client_reference_id is pre-set on the link, and free items yield nothing. A useful detail the description leaves out is what the tool actually returns in the free-item case, since there is no output schema.

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?

Four short sentences with the core purpose front-loaded and each sentence contributing a distinct fact: existing link, client_reference_id, human payment, no new prices, free-item exception. The telegram style is dense, but a couple of fragments could have been phrased more explicitly without adding length.

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 one-parameter read-only lookup with rich annotations and full schema coverage, the description supplies everything needed to select and call the tool. The only remaining gap is the return behavior for free items, which matters more because no output schema exists to clarify it.

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?

The single 'id' parameter is fully described in the schema as the catalog id, so the schema already covers it at 100%. The description only reinforces that it refers to a catalog item, adding no format, source, or validation detail beyond the schema. That matches the baseline for high coverage.

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 names a specific verb and resource: return an existing Stripe payment link for a catalog item. That is clearly distinguishable from get_item or catalog_query in intent. It stops short of explicitly naming siblings, but the resource is specific enough for an agent to route correctly.

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 clear operating context, notably that a human completes payment and that free items have no checkout link, which functions as a when-not condition. The gaps are that it does not explicitly point to alternatives such as get_item when the agent actually needs item details, and it does not state how to recover from a free item having no checkout link.

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.