Skip to main content
Glama

search_products_batch

Search multiple Spanish product phrases in parallel to find matching Mercadona items. Get candidate results for each query independently, so one failed search doesn't affect the others.

Instructions

Search several concise Spanish product phrases concurrently and independently.

Use one query per requested product or product family. Preserve each caller key, inspect candidates before selecting a product ID, and do not submit a whole shopping instruction as one query. A failure for one query is returned in that query's result without discarding successful candidates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queriesYes
warehouseYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden. It discloses concurrency, independence, per-query failure isolation, and the need to inspect candidates before choosing an ID. It does not discuss authentication, rate limits, or read-only guarantees, but the search semantics and failure isolation are well beyond what the schema alone would tell an agent.

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 compact and front-loaded: the main purpose appears in the first sentence, followed by focused operational guidance. Every sentence earns its place, with no redundant or vague filler.

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?

The description provides enough operational context for correct batch invocation, especially around per-query key preservation and failure isolation. Since an output schema exists, the description does not need to define return values. The only meaningful gaps are the unelaborated warehouse parameter and the lack of an explicit 'use search_products for a single query' routing note.

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 0%, so the description must compensate. It usefully explains the semantics of queries, key, and query phrase construction. However, the required warehouse parameter is never explained in the description, and limit behavior is only covered by the schema defaults. Compensation is therefore partial.

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 opens with a specific verb and resource: 'Search several concise Spanish product phrases concurrently and independently.' This clearly differentiates it from sibling search_products by emphasizing batch, concurrent search. It also adds purpose detail by telling the agent to inspect candidates before selecting a product ID.

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?

The description gives concrete usage rules: one query per product/product family, preserve caller keys, do not submit an entire shopping instruction as a single query, and treat failures per query without discarding successes. It does not explicitly name the single-query sibling search_products as the alternative, but the batch/concurrent framing makes the intended context clear.

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