Skip to main content
Glama

Złóż koszyk (link do kasy)

zloz_koszyk

Sklada PODPISANY LINK do koszyka sklepu Aloha Fungi z podanych pozycji (handle produktu + variantId wariantu + ilosc). To narzedzie NIE tworzy zadnego koszyka ani zamowienia i NIGDY nie placi ani nie loguje uzytkownika — zwraca wylacznie link, ktory KLIENT musi sam kliknac, zeby dodac produkty do koszyka i zaplacic samodzielnie. Maks. 10 pozycji na koszyk.

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": {
      "pozycje": "<pozycje>"
    },
    "name": "zloz_koszyk"
  }
}

Input Schema

NameRequiredDescriptionDefault
pozycjeYes

Output Schema

NameRequiredDescriptionDefault
urlYes
itemsYes
totalYes
currencyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / pozycje / items / properties / variantId / description
      Previous value: -"ID wariantu, taki jak w szczegolach produktu."New value: +"Dokladny variantId wybranej pozycji katalogowej."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Adds substantial behavior context beyond the annotations: no cart or order is created, no payment is taken, the user is never logged in, and the returned link requires a manual client click. The 10-item cap is also disclosed. There is mild tension with readOnlyHint=false and idempotentHint=false, since the description frames the tool as producing a pure artifact with no state change; link expiry or signing lifetime is not explained.

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?

Front-loaded with the core action in the first sentence, then immediately the critical 'this does not create anything' disclaimer. Some redundancy between 'NIGDY nie placi ani nie loguje uzytkownika' and 'KLIENT musi sam kliknac ... zaplacic samodzielnie', but the emphasis is justified for a high-risk misread scenario.

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?

An output schema exists, so return-value explanation is not required, and the description covers the crucial risk (agent assuming an order was placed). The main remaining gap is how to obtain valid handle/variantId inputs and whether the link expires, which matters for a tool the caller passes to a human.

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 0%, so the description must compensate, and it does list the three item fields (handle, variantId, quantity) and the 10-item maximum. However, most of that merely restates property names and constraints already in the schema (maxItems 10, quantity 1-10); it never says where a variantId comes from (e.g. show_product / search_products), which is the key ambiguity for correct invocation.

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 states a specific verb and a specific artifact: it builds a SIGNED checkout link from the supplied items (handle + variantId + quantity). It explicitly contrasts with the sibling behaviors that create carts/orders by declaring that this tool creates neither, so an agent can route between it and order-placing tools without inspecting 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?

It clearly delineates what this tool does not do (no cart creation, no order, no payment, no user login) and states the follow-up step: the CLIENT must click the link to add items and pay. What is missing is explicit naming of the alternative to use when an order actually needs to be placed (e.g. zloz_zamowienie / place_order), leaving that routing to inference.

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