Skip to main content
Glama
ikea-mcp
by taejin5314

compare_store_stock

Read-onlyIdempotent

Compare cash-and-carry stock for an IKEA item across multiple stores by specifying store IDs or a country code (US, CA, NO).

Instructions

Compare cash-and-carry stock for an item across multiple IKEA stores. Provide explicit storeIds, or use countryCode ('US', 'CA' or 'NO') to compare all catalog stores for that country. inRange: false on a row means the item is not sold at that store or in that country's market; null means the upstream response carried no range information.

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": {
      "itemNo": "<itemNo>"
    },
    "name": "compare_store_stock"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemNoYes
sortByNo
storeIdsNo
countryCodeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.11.0
    • changedInput schema / properties / countryCode / enum
      Previous value: -[
      -  "US",
      -  "CA"
      -]New value: +[
      +  "US",
      +  "CA",
      +  "NO"
      +]
  2. First observedv1.6.2

TDQS

B3.4/5.0
Behavior3/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 value by decoding the inRange field ('false means the item is not sold at that store or in that country's market; null means the upstream response carried no range information'), which is real behavioral context. It does not mention rate limits, pagination, or result ordering beyond the sortBy enum.

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?

Three tight sentences, front-loaded with the purpose, then the two invocation modes, then the output-field caveat. No filler, though the inRange sentence is dense and could be split for readability.

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?

With no output schema, explaining inRange is a valuable addition and the description is largely sufficient for a read-only comparison tool. Gaps remain around sortBy behavior, the mutual exclusivity of storeIds and countryCode, and the minimum-two-stores rule, which an agent would need to call it correctly.

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 0%, so the description must carry the load. It clarifies the storeIds-vs-countryCode choice and the countryCode enum values, but leaves sortBy ('quantity' vs 'storeId') and the minItems:2 constraint on storeIds unexplained, and says nothing about itemNo format. Roughly half the parameters gain meaning.

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 cash-and-carry stock for an item') and scopes it to 'multiple IKEA stores', which implicitly separates it from the single-store sibling check_store_stock. It stops short of naming an alternative explicitly, so it is clear but not maximally differentiated.

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?

The description explains how to drive the tool ('Provide explicit storeIds, or use countryCode ... to compare all catalog stores for that country'), which is useful invocation guidance. However, it never says when to prefer this over check_store_stock or find_best_store_for_item, and it does not state whether storeIds and countryCode are mutually exclusive or which wins if both are supplied.

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