Skip to main content
Glama
ikea-mcp
by taejin5314

check_cart_availability

Read-onlyIdempotent

Checks whether every item in a shopping list is available in sufficient quantity at one IKEA store, so you can confirm cart readiness before checkout.

Instructions

Check whether all items in a shopping list are available in sufficient quantity at a single IKEA store. inRange: false on an item 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": {
      "storeId": "<storeId>",
      "items": "<items>"
    },
    "name": "check_cart_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes
storeIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.2

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety is covered. The description earns credit by adding semantics the annotations can't convey: the meaning of inRange=false (not sold at that store or in that country's market) versus null (no range info upstream) — a distinction an agent would otherwise guess wrong about. It does not, however, explain what 'sufficient quantity' is validated against (in-store vs online availability, quantity thresholds).

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, zero filler, with the core capability front-loaded and the field-semantics note following. Nothing is repeated from the title or annotations, and no sentence could be removed without losing information.

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?

There is no output schema and 0% schema description coverage, so the description carries an unusually heavy burden. It does the highest-value part (interpreting the inRange field) but omits what the response looks like overall, how quantity shortfalls are reported, and the item-list constraints — leaving genuine gaps for a tool an agent must construct a nested payload for.

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

Parameters2/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 compensate and largely does not. 'Shopping list' and 'single store' loosely map to items and storeId, but nothing explains the itemNo format, what quantity defaults to, or the 20-item cap enforced in the schema — all left opaque to the agent.

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?

Specific verb ('Check'), specific resource ('items in a shopping list'), and explicit scope ('available in sufficient quantity at a single IKEA store'). The 'single store' constraint is what separates it from the multi-store siblings like compare_store_stock and check_multi_item_stock, so an agent can route without opening a schema.

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: 'at a single IKEA store' tells the agent this is the per-store check, not a cross-store comparison or store-picking tool. There is no explicit when-to-use/when-not statement, no named alternative, and no mention of a prerequisite such as resolving storeId via list_stores first.

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