Skip to main content
Glama
mercadona-mcp
by Syuf1514

Product details

get_product
Read-only

Retrieve full details for a grocery product—price, size, ingredients, allergens, origin, and storage—and optionally include similar products.

Instructions

Full details for a product: price, size, ingredients, allergens, origin, storage. Optionally similar products.

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_idYes
include_similarNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds the useful behavioral fact that a catalog of fields is returned and that similar products are an optional add-on, but it says nothing about failure modes (unknown/invalid product_id) or whether include_similar costs extra latency.

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?

One compact sentence with the core purpose and returned fields front-loaded, followed by the optional flag. The colon-list style is efficient, though the fragment lacks a verb and reads slightly telegraphic.

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?

There is no output schema, so the description responsibly enumerates the fields the caller gets back, and it flags the optional similar-products expansion. It still omits how product_id is formatted/obtained and what happens on a miss, which an agent needs for a 2-parameter lookup tool.

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 0%, so the description has to carry the load: it does explain include_similar by saying similar products are optional. However it never clarifies product_id semantics, notably that it accepts either a string or a number, which is the main ambiguity left in the schema. Partial compensation only.

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 names a specific resource (a product) and enumerates the returned attributes (price, size, ingredients, allergens, origin, storage), making the tool's scope immediately clear. It is less explicit about being the by-ID detail lookup versus a search, since sibling names like search_products are not referenced.

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

Usage Guidelines2/5

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

There is no statement of when to call this versus search_products or browse_category, and no prerequisites such as needing a valid product_id from a search. The only usage hint is the word 'optionally' attached to similar products, which is really parameter guidance rather than tool selection guidance.

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