Skip to main content
Glama

Search products

search_products
Read-only

Find grocery products by name. With a place, prices are for stores near it: lowest and highest shelf price, how many stores have it, and current deals by chain.

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
latNo
lngNo
langNoLanguage for product and chain nameshe
limitNo
placeNoPlace in Israel: city, neighbourhood or address, Hebrew or English
queryYesProduct to find, in Hebrew (best) or English, e.g. "milk 3%" or "cottage cheese"
radius_kmNoStores within this many km (default 5)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description goes further by disclosing what results look like and that they become location-scoped when a place is supplied — meaningful behavioral context. It stops short of noting any rate limits or what is returned when no place is given.

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 with no filler, and the core purpose is front-loaded before the conditional location behavior. The second sentence is dense but every clause carries information; only the clipped phrasing ('With a place') costs a bit of readability.

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

Completeness3/5

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

With 7 parameters and no output schema, the description does well to sketch the return payload (price range, store count, deals by chain). It remains incomplete on what results look like without a place and how the three location inputs interact, which matters for a tool with this many optional geo parameters.

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 57%, so the schema documents roughly half the parameters itself. The description adds real meaning for 'place' by explaining that prices become store-local, but it leaves the relationship between place and lat/lng, and the role of radius_km, unaddressed despite those being non-obvious choices.

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 verb and resource: 'Find grocery products by name.' That is clearly distinct from compare_product or list_deals, though the description never names those siblings to make the routing explicit. An agent can understand the tool's function 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 Guidelines3/5

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

The phrase 'With a place, prices are for stores near it' implies that location context is optional and changes the result set, which is useful usage framing. However, there is no guidance on when to prefer this over compare_product or list_deals, nor when to omit a place entirely.

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