Skip to main content
Glama

iNutriPlan Supplement Database MCP Server

search_supplements

Search the iHerb product database using a natural-language query, benefit keyword, ingredient name, or brand name.

Uses the PostgreSQL GIN full-text search index first (fast, relevance-ranked), then falls back to a broader ILIKE scan if FTS yields no results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum results (1–60). Default 20.
queryYesSearch term, e.g. "magnesium sleep support", "omega 3 fish oil", "vitamin D immune", or a brand name.
min_ratingNoMinimum star rating filter (0.0–5.0). Default 4.0.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / limit / default
      Previous value: -10New value: +20
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum results (1–30). Default 10."New value: +"Maximum results (1–60). Default 20."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Discloses the dual search strategy: FTS index first, then ILIKE fallback. With no annotations, this provides useful behavioral context. Does not mention auth or rate limits, but adequate for a read-only search.

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?

Two short paragraphs, no redundant text. The first sentence immediately states the purpose. Technical details are in a separate paragraph. Every sentence contributes.

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 an output schema present, the description need not detail return values. It covers the main behavioral aspect (search strategy). Could mention ordering or further filtering, but overall sufficient for the tool's simplicity.

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 already covers all 3 parameters (100% coverage). The description adds value by explaining how the query parameter uses FTS and ILIKE. This goes beyond the schema's brief description, justifying a score above baseline 3.

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?

Clearly states the tool searches a product database using natural-language query, benefit keyword, ingredient, or brand name. It differentiates from siblings like search_by_ingredient and get_supplements_by_category.

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?

Does not explicitly state when to use this tool vs alternatives like get_ingredient_info or search_by_ingredient. The description implies a general search function but lacks usage context or exclusions.

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