Skip to main content
Glama
Shopify Admin MCP Server

Shopify Admin MCP Server

get_inventory_item

Retrieve detailed data for a single inventory item, including stock levels at all locations and unit cost, by passing its inventory item ID.

Instructions

Get detailed information about a single inventory item, including levels at all locations and cost.

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": {
      "id": "<id>"
    },
    "name": "get_inventory_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe inventory item ID (gid://shopify/InventoryItem/...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

A3.5/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 what the response contains (per-location levels and cost), but says nothing about error behavior for an invalid or unknown ID, permissions required, or whether the read is eventually consistent — gaps that matter for an unannotated tool.

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 front-loaded sentence with no filler; the resource comes first and the returned fields follow. There is no structural padding to trim, though it is a bare minimum rather than a deliberately organized definition.

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

Completeness4/5

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

For a low-complexity single-resource read with one required parameter and no output schema, the description covers the essentials, including the shape of the returned data. The remaining gap is behavioral (error and permission semantics), which is modest given the tool's simplicity.

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%, and the single 'id' parameter is already documented in the schema as a gid://shopify/InventoryItem/... identifier. The description only restates 'inventory item' and adds no format, validation, or fallback guidance beyond the schema, so the baseline of 3 applies.

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 ('Get detailed information about a single inventory item') and the scope word 'single' implicitly contrasts with the list-style sibling get_inventory_items. It also enumerates the payload ('levels at all locations and cost'), but it never names the alternative explicitly, so differentiation is inferred rather than stated.

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: an agent can infer it should call this when it has one inventory item ID and wants detail. There is no explicit when-to-use statement, no guidance on choosing between this and get_inventory_items, and no prerequisites such as needing a location context.

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