Skip to main content
Glama

Search products

search_products
Read-onlyIdempotent

Search skincare products by type, skin type, brand, budget, keyword, or ingredient to find catalog matches and compare prices, links, and compatible skin types.

Instructions

Search skincare products by type, skin type, brand, budget, keyword, and ingredient. By default results come in the catalog's default order (lowest price first); pass sort to change it. All filters are applied by the SkinGuide API across the whole catalog; 'total' is the number of matching products in the catalog and 'returned' is how many are in this response (at most 'limit'). Returns products with name, brand, price, link, image, and compatible skin types. The response also includes available_without_ingredient_filter when the ingredient filter is used.

IMPORTANT USAGE NOTES:

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

  • 'ingredient' requires an exact text match in the stored ingredient list. Many products have incomplete ingredient data, so ingredient searches often return 0. If ingredient returns 0, retry using keyword=<ingredient_name> instead (e.g. keyword="vitamin e").

  • '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 and is a reliable fallback for ingredient concepts.

  • When total=0 with an ingredient filter, check available_without_ingredient_filter to see how many products matched the other filters — if > 0, retry with keyword instead of ingredient.

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
odNoSkin oiliness: 'O' for Oily, 'D' for Dry
pnNoSkin pigmentation: 'P' for Pigmented (prone to dark spots), 'N' for Non-pigmented
srNoSkin sensitivity: 'S' for Sensitive, 'R' for Resistant
wtNoSkin aging: 'W' for Wrinkled (shows aging), 'T' for Tight (firm)
sortNoOptional sort order. Omit it for the fast default order (lowest price first). 'rating-desc' is slow (about 10s or more) and only a few hundred products have ratings, so use it only when the user explicitly asks for best-rated.
typeNoProduct category to search for.
brandNoFilter by brand name (partial match, case-insensitive). E.g., 'CeraVe', 'La Roche', 'Neutrogena'.
limitNoMaximum number of products to return. Defaults to 50.
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). Aliases: UAE → AE, USA → US.
keywordNoSearch keyword matched against product name and tags (case-insensitive). Use this as a fallback when ingredient returns 0 results. E.g., 'vitamin e', 'retinol', 'acne', 'anti-aging'.
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".
ingredientNoFilter by ingredient name — requires exact text match in the product's ingredient list. Many products have incomplete ingredient data. If this returns 0, check available_without_ingredient_filter and retry with keyword=<ingredient_name> instead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely useful behavior beyond that: default catalog ordering, the meaning of 'total' vs 'returned', the incompleteness of ingredient data, and the affiliate-link disclosure. It does not cover rate limits or pagination beyond 'limit', so it is strong but not exhaustive.

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 capability, then clearly sectioned into usage notes and link disclosure; each bullet carries an actionable rule. Minor redundancy: the ingredient exact-match caveat and the keyword fallback appear in both the prose and the schema descriptions.

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?

With no output schema, the description carries the return-value burden and does it: it enumerates returned product fields, explains total/returned/limit relationships, and documents the conditional available_without_ingredient_filter field. For a 13-parameter search tool this is complete enough to call correctly on the first attempt.

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 coverage is 100%, so every parameter is already documented in the schema, including the skinType code letters, budget tiers, and the sort latency warning. The description restates the skinType and ingredient caveats rather than adding new syntax or format detail, so it lands at the baseline rather than above it.

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?

Opens with a specific verb and resource plus the full filter surface ('Search skincare products by type, skin type, brand, budget, keyword, and ingredient'), which unambiguously separates it from reference siblings like get_brands or get_skin_type_info. An agent knows exactly what class of operation this is 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 Guidelines5/5

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

Gives explicit when-to-use routing: use 'ingredient' only for exact stored matches, fall back to 'keyword' when it returns 0, and reduce filters when total=0. It also names a concrete diagnostic field (available_without_ingredient_filter) to decide between the two paths.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.