Skip to main content
Glama

TRUCK SHOP SIMEX

Odkaz do košíku

get_cart_link
Read-onlyIdempotent

Sestaví odkaz do košíku e-shopu pro vybrané zboží. NIC neobjednává ani nevkládá: zboží se vloží až ve chvíli, kdy zákazník odkaz (pole url) otevře ve svém prohlížeči, a objednávku pak dokončí sám v pokladně e-shopu – vybere dopravu a platbu a potvrdí obchodní podmínky. Předej zákazníkovi odkaz i větu z pole note. Nejvýš 20 různých položek, počet 1–999 kusů; zboží, které v nabídce není, nebo neplatné kódy vrátí v poli ignored.

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

Input Schema

NameRequiredDescriptionDefault
itemsYesPoložky do košíku: katalogové číslo (code ze search_products) a počet kusů.

Output Schema

NameRequiredDescriptionDefault
urlNoOdkaz pro zákazníka: po otevření v prohlížeči vloží zboží do jeho košíku na e-shopu. Bez platných položek chybí.
noteNoJak odkaz funguje – předat zákazníkovi.
countNoPočet položek v odkazu.
linesNoPoložky, které odkaz vloží.
ignoredNoPoložky, které odkaz nevloží (neznámý kód, zboží mimo nabídku, nad limit položek).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, the description explains the deferred side effect (goods are added only when the customer opens the link), the agent's handoff obligation, and the caps of 20 items and 1–999 pieces. It also discloses that unavailable or invalid codes come back in an 'ignored' field, which is behavior the annotations cannot express.

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?

The description is front-loaded with the core action and its negative constraint before the operational details and limits. It is dense but each sentence carries information; the only minor cost is that limits and error handling are packed into a single closing clause.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Although an output schema exists, the description usefully names the url, note and ignored fields and tells the agent what to do with them. Combined with the item limits and the explicit no-ordering caveat, an agent has everything needed to call it correctly and to relay the result.

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?

Schema coverage is 100%, so 3 would be the baseline, but the description adds meaning the schema lacks: the maximum of 20 distinct items and the 1–999 quantity range, plus what happens to codes that are not in the catalog. Those constraints are not inferable from the schema alone.

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 opens with a specific verb and resource: it builds a cart link for selected goods in an e-shop. It immediately contrasts that with what it does NOT do (nothing is ordered or inserted), so an agent can distinguish it from any ordering tool without opening a schema.

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?

Usage is clearly scoped: this is for producing a link the customer opens themselves, and the checkout steps (shipping, payment, terms) are explicitly the customer's job. It also prescribes the handoff (pass the url and the note sentence). It stops short of naming sibling tools such as search_products, but the behavioral boundary is unambiguous.

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