Skip to main content
Glama

Create a cart link for the buyer

create_cart_link
Read-onlyIdempotent

Create a lootcodes.com link that opens the buyer's cart review with exact variants and quantities (1 to 5 each, up to 10 items) chosen from get_product_options. The buyer sees each item, confirms, then pays on the site; this tool adds nothing to any cart, reserves no stock and creates no order. Items that are unavailable or need the product page (top-ups, custom amounts, several platforms) are returned in rejected.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes
currencyNoISO 4217 code for the unit prices shown in the answer (default USD).
languageNoLanguage for names and links (default en).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint, idempotent, non-destructive), the description explicitly clarifies that it adds nothing to any cart, reserves no stock and creates no order, and it discloses the failure contract: unavailable items or items needing the product page are returned in 'rejected'. This is behavioral detail an agent cannot derive from 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?

Two sentences, front-loaded with the purpose and artifact, followed by behavior and output contract. Every clause (constraints, side-effect disclaimer, rejected-items note) earns its place, and there is no filler.

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?

With no output schema, the description appropriately explains the returned 'rejected' set and the confirmation/payment flow, which an agent needs to interpret results. Minor gap: it never mentions the currency/language options that affect the returned names, prices and links.

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 67%, and the description mostly restates schema-level constraints (quantity 1-5, up to 10 items) already enforced by minimum/maximum and maxItems. The currency and language parameters receive no explanation in the description, so it adds little beyond the schema.

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?

States a specific verb and artifact (create a lootcodes.com cart-review link) plus the exact scope (variants and quantities, 1-5 each, up to 10 items). It also ties itself to the sibling that supplies inputs (get_product_options), so an agent can place it in the workflow without opening other schemas.

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 establishes the workflow condition clearly: items come from get_product_options, the buyer reviews and confirms, and payment happens on the site. It does not state explicit when-not conditions or name a sibling to avoid, but the upstream dependency and buyer-confirmation flow give strong usage context.

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