Skip to main content
Glama
shopify-store-mcp

shopify-store-mcp

by xmqywx

list_inventory

Retrieve inventory levels for specified items or locations to check stock availability and manage Shopify store inventory.

Instructions

List inventory levels for items or locations

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_inventory"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results
location_idsNoComma-separated location IDs
inventory_item_idsNoComma-separated inventory item IDs

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full behavioral burden and it discloses essentially nothing: no statement about whether the call is read-only, what happens when both filters are omitted (all inventory?), whether results are capped by the 250 maximum, or whether levels are aggregated per location. Only 'List' weakly implies a read operation.

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?

A single eight-word sentence with zero waste and the resource front-loaded. It is efficient, but the brevity borders on under-specification rather than disciplined concision.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations and no output schema, the description is the only source of behavioral context, and it leaves the key questions open: default and maximum result behavior when filters are omitted, whether levels are per-location or aggregated, and what fields come back. For a three-parameter list tool this is thin.

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 limit, location_ids and inventory_item_ids are already documented, and the baseline is 3. The phrase 'for items or locations' loosely maps to the two filter parameters but adds no format or interaction detail beyond the schema, and nothing is said about their AND/OR combination.

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?

The description gives a specific verb ('List') and resource ('inventory levels') with a scope hint ('for items or locations'). That is enough for an agent to separate it from the mutating sibling 'adjust_inventory', but it names no alternative and does not say how it differs from other list_* tools.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no mention of prerequisites, and no pointer to an alternative such as adjust_inventory for writes or list_locations for location data. Usage is only inferable from the tool name.

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