Skip to main content
Glama

search_shops

Search for wine RETAILERS / STORES by name (e.g. Waitrose, Majestic, Tesco, Systembolaget, Wine.com), scoped to the user's marketplace region.

Call this ONLY when the user explicitly names a retail store. Do NOT call it for wine producers, châteaux, domaines, wineries or brands — those go in the "query" of search_offers.

Returns up to 20 matching shops that actually have offers in the user's region, each as "Name (ID)". Pass the exact "Name (ID)" strings of the up-to-5 best matches into search_offers's shop_names.

Args: query: Shop name or partial name the user mentioned.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

TDQS

A4.9/5.0
Behavior5/5

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

Annotations are absent, so the description carries the full behavioral burden. It discloses scoping to the user's marketplace region, a limit of up to 20 results, the output format ('Name (ID)'), and the instruction to pass exact strings into search_offers. This exceeds what most descriptions provide and leaves no ambiguity about behavior.

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?

The description is efficient and front-loaded. It opens with the purpose, immediately gives usage constraints, then explains the output and how to consume it. Every sentence serves a distinct informational need; no filler or repetition.

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 single-parameter search tool with an output schema, the description covers everything needed: correct call conditions, the parameter meaning, result count and format, and downstream usage in search_offers. The presence of an output schema handles return structure, so the description's additional context completes the picture.

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 0%, so the description must document the parameter. It explains 'query' as 'Shop name or partial name the user mentioned,' which adds semantic meaning beyond the schema's type/title. It could be slightly richer (e.g., note case sensitivity or fuzzy matching), but the explanation is sufficient for correct invocation.

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 states a specific verb ('Search') and resource ('wine RETAILERS / STORES by name'), with concrete examples. It explicitly differentiates from siblings by saying producers/châteaux/domaines/wineries/brands go to search_offers, so an agent cannot confuse which tool handles store names.

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

Usage Guidelines5/5

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

Provides explicit call conditions: 'Call this ONLY when the user explicitly names a retail store.' It also states when NOT to call it and routes the alternative case to search_offers. This is a model of clear when/when-not guidance with a named alternative.

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.

TDQS

A4.9/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: get_user_region supplies marketplace configuration, search_shops finds retailers by name, and search_offers returns actual product listings. The descriptions also explicitly define when each tool should and should not be used, leaving no ambiguity.

Naming Consistency5/5

All tool names follow a consistent lowercase snake_case verb_noun pattern: get_user_region, search_offers, search_shops. The verbs are simple and accurately reflect the action, making the set predictable and easy to navigate.

Tool Count5/5

Three tools is a well-scoped size for a focused wine-search assistant: one to fetch required user context, one optional helper for shop filtering, and one terminal search action. Each tool exists to support a distinct step in the flow with no redundant additions.

Completeness5/5

The tool surface fully covers the described sommelier flow: obtain region constraints, optionally resolve named shops, then search offers. There are no dead ends—search_offers terminates with purchasable results, and the supporting tools address all necessary preconditions.

Resources