Skip to main content
Glama

Pereplata — grocery prices in Ukraine

Get product prices by Pereplata ID

get_product
Read-onlyIdempotent

Prices of a product in each chain by its Pereplata ID — the number in https://pereplata.com.ua/product/ (search_prices results contain such links).

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": {
      "id": "<id>"
    },
    "name": "get_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProduct ID on pereplata.com.ua
cityNoCity slug from list_cities (e.g. kyiv, lviv, odesa). Omit for chains across all of Ukraine.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior. The description adds value beyond them by disclosing the return shape (a price per chain) and that the ID is a website-scoped integer, which matters with no output schema. It does not mention currency normalization, missing-chain behavior, or rate limits.

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?

A single front-loaded sentence naming the resource first, followed by the ID derivation. No filler, and the parenthetical pointer to search_prices is the only extra and it earns its place.

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?

For a two-parameter lookup tool with full schema coverage and rich annotations, the description covers key, scope, argument sourcing, and result shape. A note on what happens for chains with no listing, or the price currency/date, would make it fully complete.

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 earns above baseline by explaining where the id value actually comes from (the numeric segment of the product URL) rather than merely restating 'Product ID on pereplata.com.ua.' The city parameter's cross-Ukraine fallback is covered by the schema, not the description.

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 resource and scope: 'Prices of a product in each chain by its Pereplata ID.' The ID provenance (the number in the pereplata.com.ua product URL) distinguishes it from product_by_barcode, which is keyed differently. It stops short of explicitly contrasting with that sibling, but the resource and key are unambiguous.

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?

Gives concrete preconditions: the caller needs a Pereplata ID, obtainable from the product URL or from search_prices result links, which effectively sequences it after a search. It does not state when not to use it or name an alternative for barcode-based lookups, so it is clear context rather than full 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