Skip to main content
Glama
taejin5314
by taejin5314

find_best_store_for_cart

Find the IKEA store with the most cart items in stock, ranked by item availability and total in-stock quantity. Optionally filter by country or store IDs.

Instructions

Find the best store to buy multiple items in one trip. Ranks stores by how many cart items are available in sufficient quantity, then by total in-stock sum. Optionally filter by countryCode ('US' or 'CA'). Explicit storeIds take precedence over countryCode.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes
storeIdsNo
maxResultsNo
countryCodeNo
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It discloses the ranking logic (items available in sufficient quantity, then total in-stock sum), the optional countryCode filter, and the precedence of storeIds over countryCode. However, it does not describe edge cases, output format, or behavior when no store matches, leaving notable gaps.

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?

The description is concise, delivering the essential purpose, ranking criteria, and filtering options in two sentences with no wasted words. It is front-loaded with a clear verb and resource, making it easy to scan.

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?

Given the tool's moderate complexity (ranking, optional filters, precedence) and the lack of both annotations and an output schema, the description covers the core logic but misses key contextual details such as return format, default behavior for maxResults, and handling of invalid storeIds. It is adequate for a high-level understanding but incomplete for fully uninformed invocation.

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. It provides semantics for countryCode and storeIds, but fails to explain the items parameter structure (itemNo, quantity) and the maxResults parameter. The phrase 'cart items' hints at items but does not clarify the schema details, leaving the agent under-informed about how to construct valid inputs.

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?

The description clearly states the tool's purpose: finding the best store for purchasing multiple items in one trip. It specifies the ranking criteria (number of items available and total in-stock sum) and distinguishes from sibling tools like find_best_store_for_item by focusing on multiple items.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use the tool ('buy multiple items in one trip') and provides a clear context for the ranking. It does not explicitly name alternatives or exclusions, but the context is sufficient to differentiate from single-item tools like find_best_store_for_item.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/taejin5314/ikea-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server