Skip to main content
Glama

Search products

search_products
Read-only

Search products for sale in DMCommerce stores (Brazil), across every store or in one store. Returns up to 10 products with price in BRL, whether it is in stock, the store and the product link.

Input Schema

NameRequiredDescriptionDefault
queryYesWhat the person is looking for, in Portuguese works best, e.g. "calça jeans", "whey", "snorkel".
storeNoStore id ("store" field from find_store) to search only that store.
max_priceNoHighest price in BRL (reais), e.g. 150.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds meaningful behavioral context beyond that: result cardinality ("up to 10 products"), currency (BRL), and the fields returned (price, stock status, store, product link), which is valuable given there is no output schema.

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?

A single compact sentence with the action and scope front-loaded and no redundant filler. It is efficient, though the return-value details could be separated into a second sentence for easier scanning.

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?

With no output schema, the description usefully compensates by summarizing what comes back (up to 10 products, BRL price, stock flag, store, link) and the geographic scope. It leaves minor gaps around whether results are ranked or paginated and how it relates to get_product.

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 100%, so the schema already documents query, store and max_price in detail, including Portuguese query examples. The description adds only the all-stores-or-one-store framing for the store parameter and does not elaborate on max_price or query formatting, so the baseline 3 applies.

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 ("Search products for sale in DMCommerce stores (Brazil)") plus the scope (across every store or one store), which is enough for an agent to identify the operation. It does not explicitly contrast with siblings like get_product or find_store, so it falls short of a 5.

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?

Usage is implied by the scope statement (all stores vs one store) and by the store parameter's reference to find_store, but there is no explicit when-to-use guidance. An agent is left to infer that find_store should be called first to obtain a store id and that get_product handles single-product lookups.

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