Skip to main content
Glama

Compare product to alternatives

suppco_compare_product_to_alternatives
Read-onlyIdempotent

Compare a product against alternatives in its category. Returns a detailed view of the anchor product (trust score, ingredients, excipients) alongside filtered alternatives. Use when user asks to compare, find alternatives, or asks "is there something better?"

Input Schema

NameRequiredDescriptionDefault
formNoProduct forms. Valid: capsule, tablet, softgel, gummy, powder, liquid, other
priorityNoHow to rank alternatives. Valid: best_value, most_trusted, most_popular, most_expensive. Omit (or leave blank) to apply the user's profile buying preference automatically; pass a value to override.
servingsNoComma-separated serving counts (e.g., '60,90')
max_priceNoMaximum price in dollars
certificationsNoCertifications filter, comma-separated. Valid: gluten_free, non_gmo, vegan_action, usda_organic, nsf_sport, usp_verified, informed_sport, informed_choice, tested_by_suppco. Omit (or leave blank) to apply the user's profile dietary preferences (vegan, gluten-free) automatically; pass an explicit list to override.
product_id_or_slugYesProduct ID (UUID), slug, or product name of the product to compare. Prefer slugs or UUIDs when available — they give exact matches.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so safety is covered; the description adds the meaningful behavioral detail that the response pairs the anchor product's trust score, ingredients and excipients with a filtered set of alternatives. It does not state how many alternatives are returned or whether results are capped/paginated.

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?

Three tight sentences, front-loaded with the action, then the return shape, then the usage trigger – no filler. The middle sentence's 'filtered alternatives' is slightly vague about what the filter is, but nothing is wasted.

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 does take on describing the return payload and does so at a useful level. Given six parameters with one required and rich schema-level documentation, the only residual gap is result cardinality/ordering behavior for the alternatives list.

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 all six parameters, including the enum and the priority/certifications profile-default behavior, are already documented in the schema. The description adds no parameter-level meaning beyond that, which is the expected baseline when the schema does the heavy lifting.

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+resource ('compare a product against alternatives in its category') and adds the scope of what comes back (anchor product trust score, ingredients, excipients). It is clearly separable from suppco_get_product_info and suppco_find_products, but it never addresses the nearby sibling suppco_compare_to_buying_club, which an agent could plausibly confuse it with.

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

Usage Guidelines4/5

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

Gives concrete triggering intents: 'compare', 'find alternatives', or 'is there something better?' – enough for an agent to route on user phrasing. It stops short of exclusions or naming an alternative tool when the user wants a plain product lookup or a buying-club comparison.

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