Skip to main content
Glama

search_products

Searches ATB store products by query, returning prices, UAH/kg unit costs, promo badges, and stock levels so you can compare items and availability.

Instructions

Search ATB store products via multisearch with price, UAH/kg unit cost, promo badge, and stock.

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
pageNo
limitNo
queryYes
formatNomd
shop_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose the shape of the returned data (price, unit cost, promo badge, stock), which is genuinely useful for deciding whether a call suffices, but it says nothing about pagination behavior, default page size, shop scoping via shop_id, or read-only semantics.

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?

A single front-loaded sentence with no padding; the resource and the returned fields come first. 'via multisearch' is mildly internal jargon that consumes space without helping tool selection, but the sentence overall earns its place.

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

Completeness2/5

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

An output schema exists, so return values need not be described, yet the description still spends its words on them while ignoring the four optional parameters and the absence of annotations. For a five-parameter search tool with shop scoping and a format switch, an agent is left guessing on too much.

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

Parameters2/5

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

Schema description coverage is 0% across five parameters, and the description adds meaning for none of them. 'Search ... products' implies what query does, but page, limit, format (what values beyond 'md'?), and especially shop_id — which presumably narrows to a single shop — are left completely unexplained.

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?

The description gives a specific verb and resource ('Search ATB store products') and names the data returned (price, UAH/kg unit cost, promo badge, stock), so the agent knows exactly what it retrieves. It does not distinguish itself from siblings like search_multi, get_product, or browse_categories, leaving overlap unresolved.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no named alternative. An agent cannot tell from the text whether this supersedes search_multi or when to prefer get_product for a single item; usage is only inferred from the word 'Search'.

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