Skip to main content
Glama

get_checkout_link

Returns a browser checkout URL so users can review their basket, confirm address and delivery slot, and complete payment; does not place the order automatically.

Instructions

Return the URL the user should open in their browser to complete checkout (review basket, confirm address/slot, pay). Order placement requires payment confirmation in a real browser, so this tool hands off rather than firing the order automatically. Returns a basket summary alongside the URL. Requires authentication.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_checkout_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
shoppingListIdNoOptional shopping list ID from get_shopping_lists. Omit to use the first list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.1

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the behavior burden and discloses several important traits: authentication is required, the tool hands off instead of placing the order, and it returns a basket summary. It does not explain link expiry, whether creating the link has server-side effects, or relevant error behavior.

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?

The description is front-loaded with the key action and uses four tight sentences with no wasted wording. The parenthetical succinctly explains the checkout steps, and the handoff constraint is stated clearly.

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 no output schema, the description covers the essential context: authentication, the returned URL, the basket summary, and the handoff rationale. It is largely complete, though it could mention link lifetime or session behavior if those matter for invocation.

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 input schema fully documents the single optional shoppingListId parameter, including the omit-to-use-first-list default, so the schema does the heavy lifting. The description does not mention the parameter or add any meaning beyond the schema, which fits the baseline when coverage is 100%.

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 specific verb and resource: it returns the URL the user must open to complete checkout. It also clarifies the handoff purpose and lists the checkout steps, but it does not name or explicitly distinguish this tool from siblings such as get_basket, which also returns basket information.

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?

The description clearly says when this tool is used: to get a browser URL for review, address/slot confirmation, and payment. It explains that order placement cannot be completed automatically. It does not name alternatives or explicitly state when not to use it, such as when only viewing the basket is needed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.