Skip to main content
Glama

Search products

search_products
Read-onlyIdempotent

Search skincare products by type, skin type, brand, budget, keyword, and ingredient. Results come lowest price first unless sort says otherwise. 'total' is the number of matching products and 'returned' is how many are in this response (at most 'limit'). Returns products with name, brand, price, link, image, product type, compatible skin types and rating where one exists.

IMPORTANT USAGE NOTES:

  • This endpoint only answers searches it can serve quickly. If the result has declined=true, retry with a product type and/or a skin type, or a more specific brand or keyword.

  • If the result has complete=false, only the cheapest matches were searched and total is a lower bound; add a skin type or budget to search further.

  • If total=0, the filters were too narrow — retry with fewer filters (remove ingredient, remove budget, etc.).

  • 'brand' is matched case-insensitively against the catalog's brand list; if it is ambiguous the result lists suggestions.

  • 'ingredient' needs a product type or a skin type alongside it, and matches whole words in the stored ingredient list. Many products have incomplete ingredient data; if it returns 0, retry using keyword=<ingredient_name>.

  • 'skinType' must be a 4-letter skin type code such as OSPT, DSPW, ORNW — NOT natural language like "sensitive" or "oily skin".

  • 'keyword' searches product names and tags. Specific keywords (e.g. "snail mucin") work alone. Common ones (e.g. "vitamin c", "retinol") need a product type and/or a skin type alongside them; for an ingredient word, ingredient= plus a type is often the better filter.

LINKS: Each product includes a "link" to a retailer page (usually Amazon), which may be an affiliate link. If you share product links, state once: Product links go to retailers such as Amazon, and SkinGuide may earn a commission on purchases made through them.

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_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoSort order. Defaults to price-asc (lowest price first).
typeNoProduct category to search for.
brandNoBrand name, e.g. 'CeraVe', 'La Roche-Posay', 'Neutrogena'.
limitNoMaximum number of products to return (1-20). Defaults to 10.
budgetNoMaximum price in dollars. Use 5, 10, 20, 50, or 100. Use 101 for products over $100.
countryNoCountry code for the product market. Defaults to 'US'. Supported: US (United States), AE (United Arab Emirates).
keywordNoKeyword matched against product name and tags, e.g. 'vitamin c', 'retinol', 'acne'.
skinTypeNo4-letter skin type code such as OSPT (Oily/Sensitive/Pigmented/Tight). Letters: O/D oily or dry, S/R sensitive or resistant, P/N pigmented or non-pigmented, W/T wrinkled or tight. One of: ORNT, ORNW, ORPT, ORPW, OSNT, OSNW, OSPT, OSPW, DRNT, DRNW, DRPT, DRPW, DSNT, DSNW, DSPT, DSPW. Do NOT use natural language like "sensitive" or "oily".
ingredientNoIngredient name, e.g. "niacinamide". Requires type or skinType.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, and the description still adds substantial behavior: default ordering (lowest price first), the meaning of 'total' vs 'returned', the declined/complete degradation flags, brand ambiguity suggestions, whole-word ingredient matching against incomplete data, and an affiliate-link disclosure obligation. These are real operational traits an agent cannot get from the annotations.

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?

Purpose and ordering statement come first, followed by a scannable bulleted notes block where each bullet addresses a distinct failure mode. The closing links/affiliate paragraph is longer than strictly necessary for tool selection, but it encodes a genuine disclosure requirement rather than filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a nine-parameter, zero-required search tool with no output schema, the description covers return shape ('name, brand, price, link, image, product type, skin types and rating'), count semantics, sort default, and every degraded-response path. An agent can call it, interpret the result, and self-correct without further information.

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 description coverage is 100%, so the baseline is 3; the description earns above that by adding operational semantics the schema lacks, such as keyword specificity scaling (specific keywords work alone, common ones need a type), ingredient whole-word matching and incomplete data fallback, and case-insensitive brand matching with suggestions. It does not add much on sort/country/limit beyond what the schema states.

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?

The first sentence states a specific verb and resource (search skincare products) plus the exact facets it accepts, so the agent knows precisely what the tool retrieves. The sibling tools (get_ingredient_info, get_routine, get_skin_type_info, list_skin_types) are all static-info lookups, so the search intent here is unambiguous without naming them.

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 'IMPORTANT USAGE NOTES' block gives explicit contingent guidance: retry with type/skinType when declined=true, add a skin type or budget when complete=false, drop filters when total=0, and pair ingredient with type/skinType. It stops short of routing the agent between tools (e.g. when to prefer get_ingredient_info over an ingredient search), which is the only gap.

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.