Skip to main content
Glama

Albert Heijn: Product Details

ah_get_products
Read-only

Fetch detailed Albert Heijn product data by ID, including price, brand, bonus, NutriScore, and optional nutrition. Use IDs from product search to enrich shopping answers and link names to URLs.

Instructions

Get detailed information about one or more Albert Heijn products by ID (max 20). Returns title, brand, category, description, price, unit size, bonus info, NutriScore, property icons. Set include_nutritional_info=true to also return calories, fat, protein, etc. Get product IDs from ah_search_products. When you mention a product or recipe from the result, link its name to its url.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
product_idsYesProduct IDs from ah_search_products, e.g. [123456] or [123456, 789012] (max 20)
include_nutritional_infoNoInclude nutritional values (default false)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
productsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.3.1
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "products": {
      +      "items": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "bonus_mechanism": {
      +                "type": "string"
      +              },
      +              "bonus_price": {
      +                "type": "number"
      +              },
      +              "brand": {
      +                "type": "string"
      +              },
      +              "category": {
      +                "type": "string"
      +              },
      +              "description": {
      +                "type": "string"
      +              },
      +              "id": {
      +                "type": "number"
      +              },
      +              "image_url": {
      +                "type": "string"
      +              },
      +              "is_available": {
      +                "type": "boolean"
      +              },
      +              "is_bonus": {
      +                "type": "boolean"
      +              },
      +              "nutri_score": {
      +                "type": "string"
      +              },
      +              "nutritional_info": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "name": {
      +                      "type": "string"
      +                    },
      +                    "type": {
      +                      "type": "string"
      +                    },
      +                    "value": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "type",
      +                    "name",
      +                    "value"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "price": {
      +                "type": "number"
      +              },
      +              "property_icons": {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "title": {
      +                "type": "string"
      +              },
      +              "unit_price_description": {
      +                "type": "string"
      +              },
      +              "unit_size": {
      +                "type": "string"
      +              },
      +              "url": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "id",
      +              "title",
      +              "url",
      +              "price",
      +              "is_bonus",
      +              "is_available"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "error": {
      +                "type": "string"
      +              },
      +              "id": {
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "id",
      +              "error"
      +            ],
      +            "type": "object"
      +          }
      +        ]
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "products"
      +  ],
      +  "type": "object"
      +}
  2. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

readOnlyHint=true already establishes the safety profile, and the description adds useful context: the batch cap of 20, the fields returned, and the include_nutritional_info switch. It omits auth requirements and failure behavior for unknown IDs, so it is solid but not exhaustive.

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 front-loaded sentences that lead with the verb, resource, and cap before the optional flag and the linking instruction. The final sentence about linking product names to URLs is behaviorally useful but slightly tangential to invocation.

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 values need not be explained, yet the description still summarizes them helpfully. With only two parameters, both covered, and readOnlyHint present, the definition is complete enough to invoke correctly.

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%, so the baseline is 3. The description restates the max-20 limit (already in the schema) and paraphrases include_nutritional_info ('also return calories, fat, protein, etc.'), adding only marginal meaning beyond the structured fields.

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 ('Get detailed information about one or more Albert Heijn products by ID') with scope (max 20) and enumerates the returned fields. It is clearly distinguishable from siblings like ah_search_products and ah_get_product_alternatives.

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?

Explicitly routes the agent to ah_search_products as the source of product IDs, which is a genuine usage precondition. It does not, however, say when to prefer this over ah_get_product_alternatives or other product-related siblings, so it falls short of full when/when-not guidance.

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