Skip to main content
Glama

get_product

Retrieve exact stock, ATB Card price, unit price, and origin for a product using its product code to verify availability and pricing.

Instructions

Fetch extended details (exact stock, ATB Card price, unit price, origin) by productCode.

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_code": "<product_code>"
    },
    "name": "get_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNomd
city_idNo
shop_idNo
product_codeYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, 'Fetch' usefully implies a non-mutating read, and the field list clarifies what information is retrieved. However, it does not explain whether stock or pricing depends on city_id or shop_id, how current the values are, or any prerequisites for the lookup.

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?

One compact, front-loaded sentence states the operation, identifying key, and distinguishing detail fields without filler. The productCode/product_code mismatch is a minor precision issue rather than a structural problem.

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

Completeness3/5

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

The output schema reduces the need to document return values, and the basic invocation using only product_code is easy to infer. However, with four parameters, no annotations, and no schema descriptions, the omitted location-parameter behavior and product-discovery workflow leave important invocation context missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description explains the role of the required product code, although it calls it productCode while the schema uses product_code. At 0% schema description coverage, it leaves format, city_id, and shop_id unexplained, including whether location affects stock or prices.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states a fetch operation for extended product details and enumerates exact stock, ATB Card price, unit price, and origin. It does not explicitly distinguish this detail lookup from siblings such as search_products, so it lacks full sibling differentiation.

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

Usage Guidelines3/5

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

'Extended details' and 'by productCode' imply using the tool for a known product after broader discovery, but that workflow is never stated. There is no explicit when-to-use, when-not-to-use, or alternative-tool guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.