Skip to main content
Glama

Get iHerb top sellers

iherb_top_sellers
Read-onlyIdempotent

Fetch iHerb's current top-selling products with an optional limit, so you can identify popular items and support shopping research or category discovery.

Instructions

Fetch iHerb's current top-selling products.

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": "iherb_top_sellers"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum products to return.

Output Schema

NameRequiredDescriptionDefault
productsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint and destructiveHint=false, so the safety profile is fully covered. The description adds only the notion of "current" top sellers, implying a live/rolling ranking, but says nothing about how the ranking is sourced, whether results are region-specific, or how often the list changes. With annotations carrying the main burden, a 3 is appropriate.

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?

One short sentence with zero waste and the core action front-loaded. It is tightly written, though so terse that it cannot carry guidance or scope detail.

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?

An output schema exists, so return values need not be explained, and annotations cover safety and idempotency. For a one-optional-parameter list tool, nothing essential to invoking it correctly is missing.

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% and the single optional limit parameter is fully documented with default, min and max in the schema. The description adds nothing about the limit (e.g. whether a smaller limit returns the same top-N ordering), so the baseline 3 applies.

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?

"Fetch iHerb's current top-selling products" gives a specific verb (fetch) and resource (top-selling products), making the operation unambiguous. It does not, however, distinguish itself from siblings like iherb_search or iherb_category, so an agent must infer why one would pick this list over a search.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no mention of alternatives such as iherb_search or iherb_category, and no stated preconditions. The agent is left to guess that this is the browse-by-popularity entry point rather than a filtered query tool.

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