Skip to main content
Glama

Compare store prices

compare
Read-onlyIdempotent

Fetches every Swedish store's price for one product from Prisjakt and PriceRunner in one list sorted by total cost, with stock and 90-day price history.

Instructions

Use this when the user wants every store's price for one product, whether a price is good or a deal right now (Black Friday, rea), or its price history and lowest price in the last 30/90 days. Not for finding products: search first unless the name carries model numbers. Offers from Prisjakt and PriceRunner, cheapest first by total (price + shipping) when shipping is known, sold-out last; a store on both sites is one row (price, shipping, total, stock and url from one offer; seen_on has each site's price). Also cheapest (new), cheapest_secondhand and cheapest_in_stock, skipping sold-out offers unless nothing else is listed; Prisjakt's price history (lowest new price per day, 30/90-day and all-time lows) and a verdict on the current price against it, naming a cheaper offer listed only on PriceRunner. A site without the product's key is looked up by EAN/GTIN, else by name; match is gtin, name or null.

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": {
      "product": "<product>"
    },
    "name": "compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoOffers to list, 1-50, default 20.
productYesA key from search ('prisjakt:123+pricerunner:456'), a Prisjakt or PriceRunner product page URL, or a plain product name with its model numbers, e.g. 'airpods pro 3', 'samsung qe55q80d'. Names follow search's query rules: Swedish or English, brand and model in Latin letters, no intent words (billigast, pris, köpa). The top search result carrying the model numbers is used, preferring one without variant words the name lacks (Ultra, Pro, Max) and the regional model code most stores sell; none = not found.
include_usedNoAlso list used and refurbished offers. Default false: new only (unknown condition counts as new). cheapest_secondhand is reported either way.
in_stock_onlyNoList only offers the site reports in stock. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.1.1
    • changedInput schema / properties / product / description
      Previous value: -"A key from search ('prisjakt:123+pricerunner:456'), a Prisjakt or PriceRunner product page URL, or a plain product name with its model numbers, e.g. 'airpods pro 3', 'samsung qe55q80d'. Names follow search's query rules: Swedish or English, brand and model in Latin letters, no intent words (billigast, pris, köpa). The first search result carrying the model numbers is used; none = not found."New value: +"A key from search ('prisjakt:123+pricerunner:456'), a Prisjakt or PriceRunner product page URL, or a plain product name with its model numbers, e.g. 'airpods pro 3', 'samsung qe55q80d'. Names follow search's query rules: Swedish or English, brand and model in Latin letters, no intent words (billigast, pris, köpa). The top search result carrying the model numbers is used, preferring one without variant words the name lacks (Ultra, Pro, Max) and the regional model code most stores sell; none = not found."
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, open-world), yet the description still adds real behavior: sources are Prisjakt and PriceRunner, ordering is cheapest-first by price+shipping with sold-out last, and a store present on both sites collapses to one row with seen_on holding per-site prices. It also discloses the EAN/GTIN-then-name fallback and that match is gtin, name or null. It stops short of stating failure modes beyond 'not found' or any latency/rate behavior, so not a 5.

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?

The most decision-relevant clause (when to use) is front-loaded and the negative guidance follows immediately. The back half becomes a dense run-on covering sorting, deduplication, aggregate fields, history and fallback lookup, which is efficient but harder to scan; no sentence is pure filler, however.

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 carries the burden of describing returns, and it names the key outputs (offers rows, cheapest, cheapest_secondhand, cheapest_in_stock, per-day lowest history, 30/90-day and all-time lows, verdict, seen_on, match). It does not explain how those pieces are structured relative to each other in the response, leaving some assembly ambiguity for a fairly complex tool.

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 four parameters are already documented in the schema, making 3 the baseline. The description reinforces product's name-only-with-model-numbers rule and clarifies that cheapest_secondhand is reported regardless of include_used, but those points are already present in the schema text rather than adding new semantics.

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?

Opens with a specific verb-plus-resource framing: every store's price for one product, deal evaluation, and 30/90-day price history. It also explicitly separates itself from the sibling by stating 'Not for finding products: search first', so an agent can route without opening either schema.

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?

Gives an explicit when-to-use list (single-product price check, is-this-a-deal, price history/lowest price) and an explicit when-not-to-use rule with the alternative named ('search first unless the name carries model numbers'). The conditional exception is stated rather than left to inference.

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

Deploy Server

Other Tools