Skip to main content
Glama

Plainly TOP

Search product offers

search_offers
Read-onlyIdempotent

Find the best current offers for any product across marketplaces available in Ukraine: electronics, clothing and footwear, home and garden, beauty and health, children's products, sports and leisure, auto and more. Ranked by total price with delivery, delivery time and seller trust. Use whenever the user wants to buy a product or compare prices.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of offers, from 1 to 6.
queryYesProduct, brand, features, or shopper needs.
countryNoDestination country for delivery estimates.UA
categoryNoOptional product category; electronics also covers legacy phone, watch, audio, tablet and accessory filters.
currencyNoCurrency for prices and budget_max.UAH
budget_maxNoMaximum total including delivery, in the selected currency.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered and the bar is lower. The description adds useful scope context (Ukraine-focused, cross-marketplace, ranking signals, delivery included in price) but doesn't mention result counts, pagination, or what happens with zero matches.

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?

Front-loaded with the core action and scope in the first sentence, then ranking criteria, then usage. The category enumeration in the first sentence is somewhat long, but it earns its place by defining coverage boundaries.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only search tool with a fully documented 6-parameter schema and no output schema, the description supplies the domain, ranking semantics, geography and trigger condition. Nothing critical for correct invocation is missing, though the absence of an output schema means the return shape remains undeclared anywhere.

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 100%, so all six parameters, defaults, enums and bounds are already documented in the schema. The description reinforces that prices are ranked by total including delivery, which adds a small amount of meaning for budget_max, but does not explain the interplay between country, currency and budget_max beyond the schema.

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 ('Find the best current offers for any product') and enumerates the covered categories, so the agent knows exactly what the tool returns. It also states the ranking basis (total price with delivery, delivery time, seller trust), which distinguishes it from a simple lookup.

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?

'Use whenever the user wants to buy a product or compare prices' gives a clear triggering condition. However, it does not name the sibling alternatives (compare_offers, get_offer_details, get_offer_link) or say when to prefer them over this search, so routing between them 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