Skip to main content
Glama

Compare products

compare_products
Read-onlyIdempotent

Compare 2+ Agent Rails product ids and return a winner. Show each items[].buy to the human.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYesComma-separated product ids

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds useful behavioral context: it returns a winner and displays each items[].buy to the human. This goes beyond annotation data and does not contradict it.

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 sentences, no fluff. The first sentence states purpose and outcome; the second clarifies the human-facing output. Every word earns its place.

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?

The tool is simple with one parameter and no output schema. The description explains the returned winner and the buy-link display, but does not specify comparison criteria (e.g., price, rating), which could leave the agent uncertain about how the 'winner' is determined. Overall sufficient for a basic compare tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% for the 'ids' parameter. The description adds the critical constraint '2+' (at least two product IDs) and qualifies them as 'Agent Rails' product IDs, providing meaningful guidance beyond the schema's plain 'product ids'.

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 'Compare', a specific resource ('Agent Rails product ids'), and a concrete outcome ('return a winner'). This clearly distinguishes the tool from siblings like get_product, search_products, and make_buy_link.

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?

The description clearly implies when to use the tool: when you have 2+ product IDs to compare. It does not explicitly mention alternatives or exclusions, but the context is unambiguous and the sibling tools have distinct purposes.

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.

TDQS

A4.5/5.0
Disambiguation5/5

Each tool targets a distinct action: capability check, search, single product retrieval, comparison, and link conversion. Descriptions explicitly cross-reference when to use each (e.g., 'if web search found ASINs, call make_buy_link'), eliminating overlap.

Naming Consistency4/5

Most tools follow a clear verb_noun pattern (search_products, get_product, compare_products, make_buy_link). The exception is agent_rails_manifest, which is a meta-tool named after the server, deviating from the verb-first convention.

Tool Count5/5

Five tools is well-scoped for a shopping assistant: the core operations of searching, retrieving, comparing, and converting to buy links are each represented. No redundant or unnecessary tools inflate the set.

Completeness5/5

The tool set covers the full shopping workflow from discovery (search_products) to purchase link generation (make_buy_link), including single product lookup and comparison. The manifest ensures agents can quickly understand when the server should be used, filling an orientation gap.