Skip to main content
Glama

Compare products

compare_products
Read-onlyIdempotent

Puts 2 to 6 published products side by side: daily dose, price per day where published, and for each ingredient the daily amount and its share of the applicable upper limit of the country.

Input Schema

NameRequiredDescriptionDefault
idsYesProduct ids, e.g. ["US:302778", "US:217710"].
countryNoTwo-letter country code (ISO 3166-1 alpha-2) of the person. Limits of this country come first. Default US.US

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, and closed-world behavior, so the bar is lower. The description adds meaningful context by explaining what the comparison returns: daily dose, price per day where published, and ingredient shares of the applicable country upper limit.

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?

It is a single front-loaded sentence with no wasted words. The key comparison scope and output contents are presented immediately.

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?

For a comparison tool with no output schema, the description does a good job naming the main returned values and clarifying that price per day is only included where published. It is nearly complete, though it does not specify the exact response structure or ordering.

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 description coverage is 100%, so both ids and country are already documented in the schema. The description reinforces the 2-to-6 product constraint and ties country to the applicable upper limit, but it does not add substantial syntax or format detail beyond the schema.

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 states a specific verb and resource: putting 2 to 6 published products side by side. It clearly distinguishes this comparison operation from single-product siblings like get_product or search_products by specifying multi-product comparison and the fields compared.

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 description implies when to use it by saying it compares 2 to 6 published products, but it does not explicitly say when to choose it over get_product or search_products, nor does it state exclusions or prerequisites.

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