Skip to main content
Glama

Compare and Rank Products

compare_products
Read-onlyIdempotent

Fetch Evidence Scores for 2-20 retailer listings and rank them by GoBuy Evidence Score (highest first). Use this when an agent is choosing between multiple products. For a single product lookup, use check_product_trust instead. Read-only — does not modify any state or place orders, and never fetches reviews. Unindexed products rank last. This is not purchase advice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
productsYesArray of 2-20 product references to compare and rank.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / products / description
      Added value: +"Array of 2-20 product references to compare and rank."
    • changedInput schema / properties / products / items / properties / product_id / description
      Previous value: -"Native retailer product ID, such as an Amazon ASIN."New value: +"Native retailer product ID, such as an Amazon ASIN (e.g. 'B0BXYCS74H')."
    • changedInput schema / properties / products / items / properties / retailer / description
      Previous value: -"Marketplace containing the listing."New value: +"Marketplace containing the listing: amazon, walmart, target, or bestbuy."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Adds genuinely non-annotated behavior: 'never fetches reviews', 'Unindexed products rank last', and 'This is not purchase advice'. The read-only/no-orders statement partly repeats readOnlyHint and destructiveHint=false, but the ranking and scope disclosures go beyond the annotation set.

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?

Front-loads the core action and scope, then layers usage routing, safety, edge behavior, and disclaimer in tight sentences with zero filler. Every sentence carries distinct information.

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 must explain results; it covers ranking order, the unindexed-last edge case, and read-only scope, which is enough to call it correctly. It stops short of describing the response payload shape, a minor gap for a tool with no output schema.

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 the retailer enum and product_id formats are already documented. The description only echoes the '2-20' array bounds already encoded in minItems/maxItems, adding no new semantic detail; baseline 3 applies.

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?

States specific verbs (fetch Evidence Scores, rank) and the resource (2-20 retailer listings) ranked by GoBuy Evidence Score. It explicitly distinguishes itself from the sibling `check_product_trust` for single lookups, so an agent can separate the two without opening schemas.

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

Usage Guidelines5/5

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

Names the triggering condition ('choosing between multiple products') and the explicit alternative for the adjacent case ('For a single product lookup, use `check_product_trust` instead'). The 'never fetches reviews' clause also implicitly routes review-analysis intent to the `analyze_reviews` sibling.

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