Skip to main content
Glama

Compraloco

Buscar productos

search_catalog
Read-onlyIdempotent

Busca productos de la tienda por texto o categoría (precios en COP). Todos se venden con envío gratis a toda Colombia y pago contraentrega. Devuelve hasta 8 variantes por producto (variants_total indica cuántas hay); usa get_product para todas.

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

Input Schema

NameRequiredDescriptionDefault
qNo
limitNo
queryNo
cursorNo
categoryNo
include_adultNoSolo true: incluye productos para adultos (Travesuras). El comprador debe ser mayor de 18.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds genuinely useful behavior beyond that: results are truncated to 8 variants per product with variants_total signalling the true count, and it supplies commercial context (prices in COP, free shipping nationwide, cash on delivery) the agent needs to answer shoppers.

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?

Three compact sentences, front-loaded with the search capability and the variant-truncation caveat before the commercial details. The shipping/payment sentence is context rather than instruction but is short and relevant; 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?

The return-shape caveat (8 variants, variants_total) compensates for the absence of an output schema, and zero required parameters make invocation low-risk. However, the unresolved q-versus-query duplication and undocumented limit/cursor leave real operational gaps for a 6-parameter search tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 17% (only include_adult is documented), so the description must carry the load. It implies that text and category are the two search inputs, but with both 'q' and 'query' present it never disambiguates which is the text parameter, and 'limit' and 'cursor' (pagination) are entirely unexplained.

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 ('Busca productos de la tienda') plus the two search modes (texto o categoría), and explicitly contrasts with the sibling get_product for full variant retrieval. An agent can tell what this does and what it does not do 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 Guidelines4/5

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

Gives one explicit routing rule: this tool returns only up to 8 variants, so use get_product for the complete variant list. It does not say when to prefer text search over category search, nor when to page with cursor, but the primary alternative is named.

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