Skip to main content
Glama
Shopify Admin MCP Server

Shopify Admin MCP Server

get_inventory_items

List and filter Shopify inventory items to retrieve SKU, stock levels by location, and linked variant details for stock audits and replenishment.

Instructions

List inventory items with optional filtering. Returns inventory details including SKU, levels at each location, and associated variant.

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": "get_inventory_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNo
firstNo
queryNoSearch query to filter inventory items

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

B3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses the return payload (SKU, per-location levels, variant), which goes beyond the name, but it never states that this is a read-only operation, nor does it mention pagination behavior or result caps.

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?

Two short sentences: purpose first, return contents second. No wasted wording, though the return-contents sentence could carry more operational detail for the same length.

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?

For a read-only list tool with no annotations and no output schema, the description covers what is returned but leaves pagination and read-only semantics implicit. Given the 33% parameter coverage, more detail was needed to be fully self-sufficient.

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 only 33% — 'query' is documented, but 'after' and 'first' are not. The description mentions filtering but does not explain pagination, cursors, or the default/maximum page size, so it fails to compensate for the coverage gap.

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 opens with a specific verb and resource ('List inventory items') and previews the returned fields (SKU, per-location levels, variant). It does not explicitly name the singular sibling get_inventory_item, but the list framing makes the distinction reasonably inferable.

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?

Only 'with optional filtering' hints at usage. There is no statement of when to use this versus get_inventory_item, when to use the query filter rather than paging through results, or any prerequisite/scope condition.

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