Skip to main content
Glama

Compare products

ss_compare
Read-onlyIdempotent

Compare two to four Snapp! Shop products side by side to see price, rating, seller count, and only the specifications that differ.

Instructions

Compare 2-4 products side by side: price, rating, seller count and the specs that differ.

specs lists only differing rows, in product order.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "products": "<products>"
    },
    "name": "ss_compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
productsYesproduct_id, 'snp-<digits>' or URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.0
    • changedInput schema / properties / products / description
      Previous value: -"2-4 products: numeric product_id, 'snp-<digits>' or URL."New value: +"product_id, 'snp-<digits>' or URL."
  2. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuine behavioral value by disclosing the shape of the result: `specs` contains only the rows that differ and is ordered by product, which is not derivable from annotations or schema.

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 tight sentences with zero padding: the operation and its compared fields are front-loaded, and the second sentence exists solely to clarify the differing-rows output behavior. Every clause 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?

For a single-parameter, read-only tool with no output schema, the description covers the operation, the compared attributes, and the notable output quirk of `specs`. It stops short of describing the rest of the response envelope (e.g. the non-differing fields), which keeps it from a 5.

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 the single `products` parameter is documented there, including accepted id/URL formats. The description's '2-4 products' merely restates the schema's minItems/maxItems and adds no new meaning about parameter content.

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 and resource ('Compare 2-4 products side by side') and enumerates the dimensions compared (price, rating, seller count, differing specs), which no sibling tool does. It does not explicitly contrast itself with ss_product or ss_similar, so an agent must infer the boundary, keeping it below a 5.

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 arity '2-4 products' hints at a multi-product decision scenario, but there is no statement of when to reach for this versus ss_product or ss_similar, and no exclusions or prerequisites. Adequate but leaves routing to the agent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.