Skip to main content
Glama

Explore a product category

explorar_categoria
Read-onlyIdempotent

Get an overview of a type of product in Spanish online shops: how many products and shops SeeStocks tracks, the price range (minimum, 10th percentile, median, 90th percentile, maximum), the cheapest products, the products sold by most shops and the biggest real price drops of the last 30 days. Use it for broad shopping questions ('robot aspirador barato', 'how much does an air fryer cost', 'which above-ground pools are on sale') rather than for one specific model. Pass consulta with the type of product in Spanish (e.g. 'freidora de aire', 'robot aspirador'); the category is detected with SeeStocks' search. If categoria is not what the user means, call again with id_categoria taken from ruta (broader) or subcategorias (narrower). Optional filters: price range in euros and brand. With consulta, the lists only hold products of the category that match the query (listas_de = 'consulta'); the price figures always cover the whole category. Lists leave out spare parts and accessories when excluye_accesorios is true. Each product has an id for ficha_producto. Prices are in euros; envio_eur null means unknown, not free.

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": "explorar_categoria"
  }
}

Input Schema

NameRequiredDescriptionDefault
marcaNoBrand name, only if the user names a brand.
limiteNoProducts per list (1-10).
consultaNoType of product in Spanish, e.g. 'freidora de aire'.
precio_maxNoMaximum price in euros.
precio_minNoMinimum price in euros.
id_categoriaNoCategory id from a previous answer (ruta or subcategorias).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, and the description adds genuine semantic context: price figures always cover the whole category while lists are narrowed by `consulta`, spare parts/accessories can be filtered out, and `envio_eur` null means unknown rather than free. That last clarification is exactly the kind of trap-avoidance detail annotations cannot express. Minor deduction because `excluye_accesorios` is described as a switch but does not appear in the input schema, leaving the agent unsure whether it is an argument or a response field.

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?

Front-loaded with purpose and outputs, then use cases, then parameter mechanics, then caveats — a sensible order with little filler. It is a dense single paragraph, and internal jargon like `listas_de` = 'consulta' plus backticked field names make it slower to parse than a short bulleted structure would be.

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?

For a read-only tool with six optional parameters and an output schema, the definition covers the decision-relevant surface: language of the query, category recovery, filter semantics, currency, and null handling. The output schema carries the return shape, so the prose summary of result sections is a bonus rather than a gap; only the phantom `excluye_accesorios` reference introduces ambiguity.

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 100%, so the baseline is 3, but the description goes further: it mandates Spanish for `consulta`, explains that the category is resolved via SeeStocks' search, and clarifies that `consulta` narrows only the lists, not the price statistics. It also confirms euros as the unit for the price filters and states `marca` should only be set when the user names a brand. `limite` is left entirely to the schema.

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?

States a specific verb and resource ('Get an overview of a type of product in Spanish online shops') and enumerates exactly what the overview contains: product/shop counts, price distribution, cheapest products, most-sold, and biggest price drops. It also draws the boundary against model-level lookups ('rather than for one specific model'), which separates it from ficha_producto.

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?

Gives concrete when-to-use examples in the user's own register ('robot aspirador barato', 'how much does an air fryer cost', 'which above-ground pools are on sale') and an explicit when-not ('rather than for one specific model'). It also prescribes a recovery path: if `categoria` is wrong, call again with `id_categoria` from `ruta` or `subcategorias`.

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.