Skip to main content
Glama

Pereplata — grocery prices in Ukraine

Search grocery prices by product name

search_prices
Read-onlyIdempotent

Find grocery products by name and show their prices in Ukrainian supermarket chains: up to 5 most widely sold matching products, the cheapest chain, the price in each chain and active promotions. The query must be in Ukrainian: product type, brand, package size (e.g. "молоко яготинське 2,6", "гречка", "кава jacobs monarch 250").

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_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoCity slug from list_cities (e.g. kyiv, lviv, odesa). Omit for chains across all of Ukraine.
queryYesProduct name in Ukrainian: type, brand, package size (e.g. "гречка", "масло вершкове 82")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), so the description only needs to add operational detail — and it does: capped at the 5 most widely sold matches, returns cheapest chain, per-chain prices, and active promotions. The Ukrainian-language-only input rule is a real behavioral constraint not present in the annotations.

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, front-loaded with what the tool returns, then the input constraint and examples. No filler or repetition.

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 carries the burden of describing results and does so adequately — result cap, cheapest chain, per-chain pricing, promotions. Minor gap: it says nothing about behavior when no products match or the query is not in Ukrainian.

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 100% and the schema already documents both parameters with examples and the Ukrainian requirement, so the description largely restates it. It adds only marginal value through extra example phrasings combining product type, brand, and package size.

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 opens with a specific verb and resource ('Find grocery products by name and show their prices') and scopes it to Ukrainian supermarket chains. The 'by name' phrasing also implicitly separates it from the sibling lookups product_by_barcode and get_product.

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?

It states the mandatory constraint that queries must be in Ukrainian and gives example query formats, which guides correct invocation. However, it never states when to prefer this over product_by_barcode or get_product, so routing between siblings is left to inference.

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