Skip to main content
Glama

List Items

list_items
Read-only

List stockable (inventory) items with the context needed to set opening inventory and reorder policy: item id, SKU, primary UPC, cost, default vendor, a per-warehouse breakdown of current on-hand, committed (units held by open sales and transfer orders, as Shopify counts committed), available (net of committed, as the Inventory page shows it), and reorder point / restock qty / safety stock (null where no policy row exists yet), and any custom field values set on the item (see list_custom_fields, entity=item). Optionally filter by a SKU/name search substring and/or a single warehouse. Set includeAttributes=true to also get each item's built-in attributes (dimensions, weight, carton quantity, tags, preferred bin, tax, flags), named as the upsert_items fields that write them. Paged: returns Total (pre-paging) plus the page; default 100, max 500 per call.

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_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size (default 100, max 500).
offsetNoZero-based row offset for paging through the catalog (default 0).
searchNoOptional case-insensitive substring matched against SKU or name.
warehouseIdNoOptional warehouse id (GUID) to scope the on-hand and reorder-point columns to a single warehouse.
includeAttributesNotrue = also return each item's built-in attributes (see upsert_items). Default false keeps the page small.

Output Schema

NameRequiredDescriptionDefault
okNo
itemsNo
limitNo
totalNo
offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedOutput schema / properties / items / items / properties / attributes / properties / replenishmentType
      Removed value: -{
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • addedOutput schema / properties / items / items / properties / attributes / properties / warehouseSuppliers
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "supplierId": {
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      "warehouseId": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already establish a safe read-only, closed-world operation. The description adds useful behavioral detail beyond them: pagination defaults and max page size, Total versus page semantics, null handling for missing policy rows, and the meaning of committed and available quantities.

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?

The purpose and filtering behavior are front-loaded, and the paging details are placed at the end. The middle enumeration of returned fields is dense and somewhat redundant with the output schema, but most of it conveys useful semantics rather than pure restatement.

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

Completeness5/5

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

For a read-only paged list tool with schema coverage at 100%, annotations, and an output schema, the description covers the important gaps: what is returned, how committed and available are defined, when policy values are null, how filtering works, and how paging behaves.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description still adds meaning beyond the schema by explaining that warehouseId scopes the on-hand and reorder-point columns to one warehouse and that includeAttributes returns built-in attributes named as upsert_items fields.

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 states a specific verb and resource: list stockable inventory items. It also specifies the exact business context (opening inventory and reorder policy) and distinguishes the tool from upsert_items and list_custom_fields by referencing them for attribute and custom-field semantics.

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 makes the intended use clear through the opening-inventory and reorder-policy framing, and explains optional search, warehouse scoping, and includeAttributes behavior. It does not explicitly say when to choose this tool over other item-list siblings, so it stops short of full when/when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources