Skip to main content
Glama

TRUCK SHOP SIMEX

Podrobnosti zboží

get_product_details
Read-onlyIdempotent

Podrobnosti jednoho zboží podle katalogového čísla (pole code ze search_products) nebo adresy či posledního úseku adresy produktové stránky: popis prostým textem, technické parametry, OE čísla, která díl nahrazuje, hmotnost (je-li vyplněná), dokumenty a certifikáty ke stažení (má-li je zboží), další fotky a u repasovaných dílů pravidla vratné kauce za starý díl. Ceny v Kč s DPH i bez DPH na celé koruny. Když zboží v nabídce není, vrátí chybu.

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": {
      "code_or_url_slug": "<code_or_url_slug>"
    },
    "name": "get_product_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
code_or_url_slugYesKatalogové číslo zboží (např. „UP1100“; projde i item_id z feedu pro ChatGPT, kde jsou mezery nahrazené podtržítkem), nebo adresa produktové stránky e-shopu, nebo její poslední úsek.

Output Schema

NameRequiredDescriptionDefault
urlNoAdresa produktové stránky. Závazná je cena a dostupnost na ní.
codeNoKatalogové číslo (kód zboží). Používá se v get_product_details a get_cart_link.
nameNoNázev zboží tak, jak je na e-shopu.
unitNoJednotka, ke které se cena vztahuje (Kus, Metr, Sada, Pár…).
brandNoZnačka.
categoryNoZařazení „nadkategorie > kategorie“.
conditionNoStav zboží: new (nové), refurbished (repasovaný díl prodávaný výměnou kus za kus).
documentsNoDokumenty a certifikáty ke stažení (atesty, prohlášení o shodě, návody) – jen když je zboží má.
image_urlNoAdresa hlavní fotky zboží.
weight_kgNoHmotnost jednoho kusu v kg – jen když je v katalogu vyplněná.
oe_numbersNoOE / porovnávací čísla, která díl nahrazuje.
parametersNoTechnické parametry z katalogu (název a hodnota s jednotkou).
price_textNoCena jako text pro zákazníka, např. „1 210 Kč s DPH (1 000 Kč bez DPH)“.
descriptionNoPopis zboží prostým textem (stejný jako ve feedu pro ChatGPT: popis, technické parametry, katalogové a OE čísla).
availabilityNoDostupnost: in_stock (skladem), backorder (na objednávku), out_of_stock (není skladem).
vat_rate_percentNoSazba DPH v procentech.
availability_textNoDostupnost česky, jak ji ukazuje e-shop.
core_deposit_noteNoU repasovaného dílu: pravidla vratné kauce za starý díl.
price_with_vat_czkNoCena za jednotku v Kč včetně DPH, na celé koruny jako na webu (po případné akční slevě).
additional_image_urlsNoDalší fotky zboží.
price_without_vat_czkNoCena za jednotku v Kč bez DPH, na celé koruny jako na webu.
regular_price_with_vat_czkNoBěžná cena s DPH před akční slevou – jen u zboží v akci.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (read-only, idempotent, non-destructive, closed-world), so credit goes to what the text adds: the not-found error behavior and the content of the response (plain-text description, technical parameters, OE replacement numbers, weight, downloadable documents, extra photos, deposit rules for refurbished parts). It adds genuine context beyond the structured fields, though it says nothing about size, latency or caching.

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

Conciseness3/5

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

Purpose and accepted identifiers are front-loaded, which is good, but the long middle enumeration of returned fields duplicates what the existing output schema already declares and consumes roughly half the text. The final sentence on error behavior is the most valuable part after the opening.

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?

Given a single fully documented parameter, rich annotations and an output schema, the description covers the remaining gaps an agent needs: where the identifier comes from and how failure manifests. Nothing essential is missing, though the return-content list could have been dropped in favor of the schema.

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 the baseline is 3; the description earns a bump by tying the parameter to a concrete sibling field ('pole code ze search_products') and by clarifying that a full product-page URL or just its trailing segment is also acceptable.

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 concrete verb and resource (fetch details of a single product) and names the identifier source, including a direct cross-reference to the 'code' field of search_products, which separates it from the sibling search tool at a glance.

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 tells the agent how to obtain the input (take the code from search_products, or use a product page URL/slug) and what happens on a miss (an error is returned). It does not explicitly exclude other paths or discuss alternatives beyond that, so it stops short of a full when/when-not contract.

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