Skip to main content
Glama

Get product details

get_product
Read-only

Fetch complete details for one product by id (e.g. roller-blockout, venetian-25mm-aluwood). Returns all available colours with in-stock status, materials, features, and maximum supported dimensions. Use before configure_product to confirm a colour exists and is in stock before committing. Duo Roller: colour is one blockout and one sheer written "Blockout + Sheer" (get_product returns duo_fabrics).

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

Input Schema

NameRequiredDescriptionDefault
product_idYesProduct id, for example roller-blockout or venetian-25mm-aluwood

Output Schema

NameRequiredDescriptionDefault
nameYes
coloursYes
categoryYes
featuresNo
materialsNo
product_idYes
schema_urlNo
descriptionNo
product_urlYes
size_limitsNo
max_width_mmNo
suitable_forNo
max_height_mmNo
installation_typeNo
starting_price_zarNo
colour_count_in_stockNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / product_id / description
      Added value: +"Product id, for example roller-blockout or venetian-25mm-aluwood"
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, so safety is covered. The description adds substantive behavioral detail beyond that: the payload contents (per-colour stock status, dimensions) and the non-obvious duo_fabrics encoding for Duo Roller products. It stops short of describing pagination or failure behaviour when an id is unknown, which is the only remaining gap.

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 sentences, front-loaded with the core action and payload, then the workflow constraint, then the edge case. Nearly every clause earns its place; the only waste is repeating the two example ids already present in the schema property description.

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?

For a single-parameter read with an output schema, this covers everything an agent needs: what it returns, why to call it before configure_product, and the one encoding quirk (duo_fabrics) that would otherwise cause misinterpretation. Nothing material 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 description coverage is 100% and the single product_id parameter is documented with the same two examples the description uses, so the description adds no format or validation meaning beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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 ("Fetch complete details for one product by id") and enumerates exactly what comes back: colours with in-stock status, materials, features, and maximum supported dimensions. The id examples (roller-blockout, venetian-25mm-aluwood) make it distinguishable from catalog search tools without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly sequences the tool: "Use before configure_product to confirm a colour exists and is in stock before committing," naming the sibling it feeds and the condition that triggers it. It also carves out a special case (Duo Roller colour as one blockout plus one sheer, returned as duo_fabrics), which is exactly the kind of precondition an agent would otherwise get wrong.

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