Skip to main content
Glama

product_search

Cerca prodotti per nome, categoria o paese nel database Open Facts (~4,6M prodotti: food, products, beauty, petfood — tutti i paesi del mondo). Utile per app che non gestiscono il DB. Esempio: q='latte', paese='Italia'.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "product_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
nNo
qNo
paeseNo
categoriaNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does add useful context — the source dataset, its size, and the covered domains — and search semantics imply a read-only operation, but it says nothing about matching behaviour (exact vs partial), result limits, or pagination, which matter at 4.6M records.

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?

Compact and front-loaded: purpose first, dataset context second, usage hint third, example last. The parenthetical dataset enumeration is slightly bulky but earns its place by signalling coverage breadth; nothing is redundant.

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?

For a four-parameter, zero-annotation, no-output-schema tool, the definition covers intent and data source but leaves the agent guessing about result cardinality, the meaning of 'n', sorting, and response shape. Usable but with clear gaps an agent must discover by trial.

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 0% and the parameter names are cryptic ('n', 'q', 'paese', 'categoria'). The description partially compensates by mapping the searchable dimensions to name/category/country and giving a concrete example (q='latte', paese='Italia'), but the 'n' parameter (default 20) is never explained, leaving one of four parameters semantically opaque.

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 ('Cerca prodotti') plus the indexed dimensions (nome, categoria, paese) and the backing dataset ('database Open Facts, ~4,6M prodotti: food, products, beauty, petfood'). It does not contrast itself with plausible siblings such as barcode or product_compare, so differentiation is left implicit.

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?

'Utile per app che non gestiscono il DB' gives a weak contextual hint about when this tool is the right choice (no local database). There is no when-not guidance and no named alternative, so an agent cannot tell from the description whether to prefer barcode for a scan lookup or product_compare for comparisons.

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.