Skip to main content
Glama

get_checkout_link

Create a hosted checkout link for an active hold. The human must open the link to review terms, cancellation policy, and total, then pay. This tool never accepts or returns card data. Present the link and total to the human and let them decide.

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

Input Schema

NameRequiredDescriptionDefault
hold_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations present, the description does real work: it discloses that card data is never accepted or returned, that payment happens on the hosted page rather than via the tool, and that the human makes the decision. It does not cover link expiry, whether repeat calls create duplicate links, or what happens if the hold is not active.

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 tightly written sentences, front-loaded with the action, followed by the human workflow and then the safety constraint. Nothing is redundant or padded.

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?

Given a single parameter, no annotations, and no output schema, the description covers what the tool produces (a link plus a total to present) and the critical safety boundary. It leaves error conditions and link lifecycle unspecified, which matter for a tool gated on an 'active' hold.

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?

Only one parameter exists and schema coverage is 0%, so the description must carry the burden. It does by specifying that the hold referenced must be 'active', giving the identifier more meaning than the bare string in the schema. It does not state the expected format of hold_id, but the added state condition is the meaningful part.

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?

States a specific verb and resource: 'Create a hosted checkout link for an active hold,' plus the human-facing flow it enables. It is clearly distinguishable from sibling tools like create_hold or check_availability, though the verb 'Create' does not match the tool name 'get_checkout_link', which could cause brief hesitation.

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?

Provides a clear precondition ('for an active hold') and a clear division of labor: the human opens the link, reviews terms, and pays, while the agent only presents the link and total. No alternatives or exclusions are named, but the surrounding flow is unambiguous.

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