Skip to main content
Glama

Search Products (Commerce)

search_supplements
Read-onlyIdempotent

Legacy commerce tool. Search catalog products by name, ingredient, or brand. Results may contain affiliate URLs; use search_evidence for commerce-free clinical evidence.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
goalNo
limitNo
queryYes
demographicNogeneral

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / properties / demographic / default
      Added value: +"general"
    • removedInput schema / properties / demographic / description
      Removed value: -"Score context — default: general"
    • removedInput schema / properties / goal / description
      Removed value: -"Filter by health goal slug (e.g. \"sleep\", \"heart-health\", \"anti-aging\")"
    • addedInput schema / properties / goal / minLength
      Added value: +1
    • removedInput schema / properties / limit / description
      Removed value: -"Maximum results (1–20)"
    • removedInput schema / properties / query / description
      Removed value: -"Search term — supplement name, brand, or ingredient (e.g. \"magnesium\", \"NMN\", \"Life Extension\")"
    • addedInput schema / properties / query / minLength
      Added value: +1
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare the operation as read-only, idempotent, and non-destructive. The description adds valuable context by warning that 'Results may contain affiliate URLs,' which is a behavioral trait not covered by annotations. It also calls itself 'legacy,' adding useful context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences with no wasted words. The first sentence immediately labels it as legacy, and the second provides purpose plus an alternative. Every sentence earns its place.

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?

With four parameters, no output schema, and zero schema descriptions, the description is on the thin side. It gives a clear purpose and a key alternative, but the parameter semantics and return format are not addressed. The annotations cover safety, but the tool's full usage context is incomplete.

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 0%, so the description must compensate for the lack of parameter explanations. It only hints at 'query' semantics via 'by name, ingredient, or brand' but leaves 'goal,' 'limit,' and 'demographic' completely unexplained. This is a significant gap.

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 description clearly states the tool's function: 'Search catalog products by name, ingredient, or brand.' It identifies itself as a 'Legacy commerce tool' and distinguishes itself from the sibling tool 'search_evidence' by directing users there for clinical evidence, thus specifying its unique role.

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?

The description provides explicit guidance: it names 'search_evidence' as the alternative for 'commerce-free clinical evidence,' which effectively tells the agent when not to use this tool. The label 'Legacy commerce tool' also signals its position among siblings.

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.