Skip to main content
Glama

Basket link

build_cart_link
Read-onlyIdempotent

Make a link to a kaviardum.cz basket with these items already in it. Nothing is stored until the person opens the link; they then see the basket, choose delivery and pay on the site. Quantities are checked against the product's rules and stock, and the answer says what was adjusted.

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": "build_cart_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of names and descriptions: cs (Czech), en, ru, uk, vi.cs
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations by explaining the deferred-storage model (nothing persists until the link is opened), the fact that quantities are validated against product rules and stock, and that the response reports what was adjusted. That is exactly the behavioral context an agent needs and the readOnly/idempotent hints alone would not convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, front-loaded with the action and its outcome, with no filler. The one weakness is that the delivery/payment sentence and the quantity-adjustment sentence both describe consequences that could be merged or trimmed.

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 two-parameter tool with no output schema, the description covers the action, the side-effect model, the validation behavior, and what the result reports. Minor gaps remain, such as link lifetime or reusability, but nothing essential for making the call correctly is absent.

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

Parameters4/5

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

With 50% schema coverage and an undocumented top-level items array, the description compensates somewhat by noting that quantities are checked against the product's rules and stock and are subject to adjustment. It does not explain the lang parameter or item limits, so it adds meaning but not fully.

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 resource: "Make a link to a kaviardum.cz basket with these items already in it." The added note that nothing is stored until the recipient opens the link implicitly separates it from create_checkout, so an agent can tell this is a shareable basket, not an order.

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?

Gives clear context for when the tool applies: the customer will open the link, choose delivery and pay on the site, which signals this is for handing off a basket rather than completing a purchase. It never explicitly names create_checkout as the alternative or states exclusions, so it falls short of a 5.

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