Skip to main content
Glama

Show iHerb product cards

iherb_show_products
Read-onlyIdempotent

Display selected iHerb products as visual cards with a concise text fallback, official CDN photos, and links to canonical product pages.

Instructions

Display selected iHerb products as visual product cards (MCP Apps) with a concise text fallback.

Photos load from iHerb's official CDNs only; links open the canonical iHerb product page.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "items": "<items>"
    },
    "name": "iherb_show_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes1 to 12 products to render as cards, each with numeric id and optional short note.
titleNoOptional heading for the product card grid.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds real value beyond them: images are sourced only from iHerb's official CDNs, links go to the canonical product page, and a text fallback is returned when cards cannot render. It still says nothing about behavior on invalid ids or what the fallback contains.

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 sentences, each earning its place: the first defines the output and its fallback, the second covers image sourcing and link targets. Nothing is repeated from the schema and the core purpose is front-loaded.

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 no output schema, the description correctly compensates by describing the returned artifacts (visual cards plus text fallback, canonical links). Remaining gaps — handling of invalid ids and any limits on rendering — are minor for a small read-only display tool.

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%, including per-field descriptions for id, note, title and the 1-12 item bound, so the schema carries parameter meaning. The description adds no additional semantics about id format or how title/note affect rendering.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Display selected iHerb products') plus the output form ('visual product cards (MCP Apps) with a concise text fallback'), which tells an agent this is a rendering tool rather than a data-fetch tool. It does not name or differentiate itself from iherb_get_products or iherb_search, so the sibling boundary must be inferred.

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?

The word 'selected' implies the caller should already have product ids (e.g. from a search) before calling, which is weak implicit guidance. There is no explicit when-to-use/when-not statement and no named alternative for plain data retrieval.

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