Skip to main content
Glama

Tendrils — live commerce tools for AI agents

compare_products

Generate an aligned side-by-side specification comparison matrix for 2 to 4 products across dimensions, materials, and price.

Input Schema

NameRequiredDescriptionDefault
product_idsYesArray of 2 to 4 Shopify Product IDs to compare side-by-side

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the output shape (an aligned matrix) and the input cardinality constraint, which tells the agent this is a read-only generation call. It says nothing about preconditions, such as whether the products must share a category or whether missing attributes are padded or omitted, and nothing about limits or failure modes.

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 sentence, front-loaded with the verb and the deliverable, with zero filler. It is appropriately sized for a one-parameter tool, though the comparison axes (dimensions, materials, price) could have been separated from the scope clause for easier scanning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a low-complexity, single-parameter read tool this covers purpose, scope, and the shape of the returned matrix, which is the main thing an agent needs. Given there are no annotations and no output schema, however, the description should have addressed output ordering, handling of non-comparable products, and why it exists alongside compare_products_deep_matrix.

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% and there is a single parameter whose array bounds (minItems 2, maxItems 4) are already encoded in the schema. The description's '2 to 4 products' restates that constraint rather than adding new meaning like ID format, accepted prefixes, or what happens with duplicate IDs. Baseline 3 is appropriate.

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?

The description names a specific verb and artifact: 'Generate an aligned side-by-side specification comparison matrix', and scopes it to '2 to 4 products across dimensions, materials, and price'. That is far more informative than restating the name. It stops short of 5 because it never distinguishes itself from the near-duplicate sibling compare_products_deep_matrix, so an agent cannot pick between them from the text alone.

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?

Usage is only implied: the 2-to-4 product bound and the 'dimensions, materials, price' axes hint at the comparison scenario, but there is no explicit when-to-use statement. Critically, the sibling compare_products_deep_matrix is never mentioned, so the agent gets no rule for choosing between the shallow and deep comparison tools.

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.