Skip to main content
Glama

Get the checkout link for a plan

get_purchase_link
Read-onlyIdempotent

Link straight to the final confirmation screen for this plan. The traveler pays there themselves; this tool never takes payment. The QR code is emailed and shown in My Page right after payment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoTrip length (needed for daily plans).
langNoLanguage for names and for the purchase page. Default en.
plan_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?

Annotations already declare read-only and idempotent behavior; the description adds useful context beyond that by explaining that no payment is collected by the tool and that a QR code will be emailed and appear in My Page after payment. This gives the agent a clearer picture of the external workflow without contradicting the annotations.

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, front-loaded sentences each carry information: what the link is, who pays, and what happens after payment. There is no filler or repetition of schema details.

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 simple link-generation tool with no output schema, the description implicitly communicates the return value (a checkout link) and the surrounding payment/QR flow. It could be more explicit that the return is a URL, but it is otherwise complete given the annotations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds no parameter-level meaning beyond the schema; it only refers generically to 'this plan' without elaborating plan_id, and it says nothing about days or lang. With schema coverage at 67%, the missing plan_id description is not compensated by the prose.

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

Purpose5/5

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

The description clearly states the action: produce a direct link to the final confirmation/checkout screen for a plan. This is distinct from sibling tools like get_plan or recommend_plan, which deliver plan data or recommendations rather than a purchase link.

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 context for when to use the tool: when the traveler should pay on their own, and it clarifies that the tool never takes payment. It does not explicitly name sibling alternatives or state when not to use it, but the traveler-pays framing provides sufficient situational guidance.

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