Skip to main content
Glama

Find products (ranked)

find_products
Read-onlyIdempotent

For 'best under $N' and 'which has the most ': filters a category by maxPriceUsd and/or brand, then ranks by a field — 'priceUsd' (the price of record each product's page prints; default, cheapest first), 'releaseDate', or any of the category's spec keys (descending:true ranks biggest first, e.g. sortBy:'battery_mah' descending:true). Returns provenanced product records; products missing the sort value sort last. Never infers a spec it has not verified.

Input Schema

NameRequiredDescriptionDefault
brandNoOnly products from this brand.
sortByNoField to rank by: 'priceUsd' (default), 'releaseDate', or a spec key from the category.
categoryYesProduct category slug from list_product_categories.
descendingNoRank largest/newest first (default false = smallest/cheapest first).
maxPriceUsdNoOnly products at or below this USD price.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/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 the description adds real value beyond them: returns provenanced records, unverified specs are never inferred, and products missing the sort value sort last. It does not disclose pagination or result-size limits, but the ordering and provenance guarantees are meaningful disclosure.

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 the query patterns, then descending/sort semantics in a compact single paragraph with an inline example. Dense but every clause carries information; slightly long for one sentence-stack but no 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?

No output schema exists, and the description compensates by describing the return (provenanced product records) and tie/edge handling (missing sort values last). Adequate for a 5-param filtered-rank tool; would reach 5 with a note on result limits or tie-breaking among equal sort values.

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; the description earns above that by defining 'priceUsd' as the price of record each product's page prints and by giving a worked example of a spec-key sort (sortBy:'battery_mah' descending:true). Minor gaps: no constraint semantics on brand matching (exact vs 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?

States a specific verb chain (filters by maxPriceUsd/brand, then ranks by a field) on a specific resource (products in a category), opening with the two canonical query shapes it answers. An agent can distinguish it from search_products or find_best without opening a 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?

The opening 'For "best <category> under $N" and "which <category> has the most <spec>"' gives concrete when-to-use conditions. It stops short of naming an alternative (e.g. search_products, find_best) or stating when NOT to use it, so no explicit sibling routing.

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.