Skip to main content
Glama
mercadona-mcp
by Syuf1514

Search products

search_products
Read-only

Search the Mercadona catalog by keyword and narrow results by category or maximum unit price; Spanish search terms return better matches.

Instructions

Search the catalog by keywords (Spanish works best: 'leche semidesnatada', 'tomate frito', 'yogur griego'). First call may take ~30s while the catalog index is built; it is then cached for 12h.

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": {
      "query": "<query>"
    },
    "name": "search_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
categoryNoOptional filter on category path text, e.g. 'Lácteos' or 'Fruta'
max_priceNoOnly products with unit price ≤ this (EUR)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description goes beyond them with two operationally important traits: a ~30s first-call index build and a 12h cache window. It does not describe result ordering, pagination behavior, or what happens on a cache miss beyond the latency note.

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, both earning their place, with the core action front-loaded and the operational caveat immediately after. No redundant restatement of the title or schema.

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?

With no output schema, the description should say what a result looks like — product records, ranking, or how limit is applied — and it does not. The latency and caching behavior are well covered, but the return-shape gap leaves an agent guessing about result structure.

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 50%: category and max_price are already documented in the schema, while query and limit are not. The description partially compensates for query by specifying language and example phrasing, but says nothing about limit or how filtering interacts with keyword matching. A 3 reflects partial compensation at mid coverage.

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?

States a specific verb and resource: 'Search the catalog by keywords.' An agent immediately knows this is keyword search, not retrieval by id or category listing. It does not name siblings like browse_category or get_product, so differentiation is left implicit.

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?

Adds a genuinely useful usage hint that queries should be in Spanish, with three concrete example phrases. However it gives no when-to-use versus browse_category or get_product, and no guidance on when to add category or max_price filters instead of relying on keywords.

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