Skip to main content
Glama

Agent Shopper

Create checkout links

create_checkout_links

Creates a checkout link per seller for the chosen variants. Give each checkout_url to the user: it opens the seller's own checkout with the items pre-filled, where the user reviews delivery and pays. Pass the user's postcode to get each seller's delivery options and an estimated_total including delivery. Nothing is charged by this tool.

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": {
      "items": "<items>"
    },
    "name": "create_checkout_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes
reasonNoOptional: why these offers were chosen
postcodeNoOptional: the user's delivery postcode, to price delivery. Used for the quote only, never stored.
search_idNosearch_id from the search these items came from

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare non-read-only, open-world, non-idempotent, and non-destructive behavior. The description adds critical context beyond that: nothing is charged, the user completes checkout externally, and each seller has its own link. It leaves out idempotency and link lifetime details.

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?

Four sentences, each earning its place: purpose first, then how to use the returned links, then the postcode effect, then the no-charge safety note. No wasted wording.

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?

No output schema exists, so the description must explain the return value; it does so by naming checkout_url per seller and describing the external checkout flow. It does not cover link validity or idempotency, which are relevant for an open-world creation tool.

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 coverage is 75%, so the schema already documents the parameters. The description adds that postcode drives delivery options and estimated_total including delivery, but mostly repeats the schema's 'used for quote only, never stored' and does not explain reason or search_id.

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: creates a checkout link per seller for chosen variants. This is clear and distinct from get_product/search_products by nature, though it does not explicitly route between them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Says to give each checkout_url to the user and that passing postcode yields delivery options and estimated_total, implying use after variants are chosen. It gives no explicit when-to-use vs alternatives or when-not, and does not address repeat calls or link expiration.

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