Skip to main content
Glama

Send Christmas Postcard

Get a checkout link

get_checkout_link
Idempotent

Use when the checkout link expired or was lost and the order still awaits payment. Returns a Send Christmas Postcard checkoutUrl and its expiry. The link redirects the user to Stripe to pay.

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

Input Schema

NameRequiredDescriptionDefault
refYesPrivate order reference returned by prepare_postcard.

Output Schema

NameRequiredDescriptionDefault
expiresAtYes
checkoutUrlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false with idempotentHint=true, and the description usefully explains the practical behavior: the returned URL redirects the user to Stripe to pay, and the response carries an expiry. What it does not explain is the write side effect implied by readOnlyHint=false — whether calling it mints a new Stripe session or invalidates the old link.

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, zero waste, and the usage condition is front-loaded before the return description. Nothing is repeated from the schema or annotations.

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 tool with a full input schema, an output schema, and annotations, the description covers when to call it, what comes back, and the user-facing redirect. The only real gap is the side-effect semantics of regenerating a checkout session, which matters given readOnlyHint=false.

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%; the single 'ref' parameter is fully documented in the schema, including its pattern and that it comes from prepare_postcard. The description adds nothing about the parameter, so this sits at the schema-covered baseline.

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 gives a concrete resource and return value ('Returns a Send Christmas Postcard checkoutUrl and its expiry'), which is far more specific than the title alone. It implicitly separates this from order-status or preparation tools via the 'order still awaits payment' condition, but never names or contrasts a sibling explicitly.

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 states an explicit trigger condition: the link expired or was lost and the order still awaits payment. That is a clear context for calling it, but there is no explicit when-not clause and no alternative tool pointed to for the cases where this doesn't apply.

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.