Skip to main content
Glama

Oferoo.eu: European supermarket prices

Compare a basket across countries

compare_basket
Read-onlyIdempotent

A shopping basket (up to 25 products) compared across countries: per country and product the lowest EUR price and the median over chains, the basket totals, and a ranking of the countries that have every product. Product ids come from search_products. Costs 3 credits (0.006 USDC with x402).

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": {
      "products": "<products>"
    },
    "name": "compare_basket"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryNoLimit to these countries (ISO-2 country code in lower case (al, at, ba, be, bg, ch, cy, cz, de, dk, ee, es, fi, fr, gb, gr, hr, hu, ie, is, it, lt, lu, lv, mt, nl, pl, pt, ro, rs, se, si, sk, tr)); default all.
productsYesRegistry ids, "ean:<code>" or barcodes, up to 25.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint, idempotentHint, non-destructive, closed-world), and the description adds genuinely new behavioral facts: a credit cost with an x402 payment path, a 25-product cap, and the important quirk that the ranking only includes countries carrying every product. It does not describe behavior when a product is missing in some markets beyond that ranking rule.

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?

Two sentences, front-loaded with the core comparison and its return shape before the operational notes on ids and cost. Dense but every clause carries information; the only mild redundancy is repeating the 25-product limit that the schema already enforces.

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?

With no output schema, the description compensates by enumerating the returned fields (lowest price, chain median, basket totals, country ranking). Cost, item cap, and id provenance are all present; only edge-case behavior and result ordering/pagination details are left unstated, which is minor for a read-only tool.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds provenance not present in the schema: product ids must originate from search_products. It also restates the 25-item cap and the cross-country scope, which helps an agent reason about the products array rather than just the country array.

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?

The description names a specific verb and resource ('A shopping basket ... compared across countries') and then enumerates exactly what the comparison produces: lowest EUR price, median over chains, basket totals, and a country ranking. It also points to search_products as the id source, so it is distinguishable from siblings 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 Guidelines4/5

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

It gives concrete preconditions and cost: product ids come from search_products, up to 25 products, and 3 credits (0.006 USDC with x402) per call. It does not state when to prefer an alternative (e.g. get_product or price_index for single-item lookups), so it falls short of explicit when-not-to-use guidance.

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