Skip to main content
Glama

Warstwa: katalog sklepu

Szczegóły produktu

get_product
Read-only

Use after search_products to answer detailed questions about one product. Returns description, material, dimensions in mm, weight, print time, colours, variants with their PLN prices and personalisation limits.

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": {
      "slug": "<slug>"
    },
    "name": "get_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesProduct slug from search_products, e.g. 'kubek-fala'

Output Schema

NameRequiredDescriptionDefault
urlYes
nameYes
slugYesProduct id for get_product
imageNoProduct render (transparent background)
colorsNo
summaryNo
weightGNonull when not known
categoryNo
currencyYes
markdownNo
materialNo
variantsNo
priceFromYesLowest price in PLN
priceRangeNotrue when variants cost more than priceFrom
printHoursNonull when not known
descriptionNo
dimensionsMmNo
personalizationNo

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 declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds that this is a single-product detail lookup rather than a bulk read, and it names the personalisation limits and PLN currency, which are behavioral facts not in the annotations. No permission, rate-limit, or error behavior is mentioned, but for a read-only catalog lookup that is a minor gap.

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, zero waste: the sequencing instruction comes first, followed by a compact inventory of returned fields. Every clause carries information an agent can act on.

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 single-parameter, read-only lookup with a full output schema, the definition covers what an agent needs to select and call it correctly. The enumeration of return fields partially duplicates the output schema, but no essential calling information is missing.

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 coverage is 100% and the single slug parameter is documented in the schema itself, including an example value. The description adds only the notion of "one product" and does not explain slug resolution or fallback behavior, so baseline 3 applies.

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?

"Use after search_products to answer detailed questions about one product" states a specific verb (retrieve details), resource (one product), and scope (detail view, not listing). It implicitly contrasts with the search sibling and enumerates the returned attributes, so an agent can distinguish it from search_products and get_pricing 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?

It explicitly prescribes the usage sequence: call this after search_products, which is a strong when-to-use signal. It does not, however, exclude or route around the get_pricing sibling even though variant prices are returned here, leaving a small ambiguity unresolved.

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