Skip to main content
Glama
Shopify MCP Server

Shopify MCP Server

by morsimohsen

list_customers

Retrieve and filter customers from a Shopify store using search, sorting, and cursor-based pagination to find specific records or review customer lists.

Instructions

List customers from the Shopify store with optional filtering and pagination

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

Input Schema

NameRequiredDescriptionDefault
afterNoCursor for pagination
firstNoNumber of customers to return (1-250, default: 50)
queryNoSearch query to filter customers
reverseNoReverse sort order
sortKeyNoSort field

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the full burden of describing behavior. The verb 'List' implies a read-only enumeration operation, and 'pagination' signals cursor-based paging, but the description says nothing about the return shape, permission requirements, or whether the default ordering applies. This is adequate for a low-risk read, but it leaves real gaps.

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?

It is a single front-loaded sentence with no filler, which makes it easy to parse. The cost is that its brevity comes partly from omitting important scoping information, not purely from tight writing.

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 five-parameter list tool with no annotations and no output schema, the definition covers the core action but omits the guidance that matters most: when this tool should be used rather than search_customers, and what kind of result set comes back. It is minimally viable but has clear gaps.

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 the schema already documents all five parameters, including the enum for sortKey and the numeric range for first. The description only restates 'filtering and pagination' and adds no syntax, default, or interaction detail beyond what the schema provides, so the baseline of 3 is appropriate.

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 uses a specific verb and resource ('List customers from the Shopify store') and names the two main capabilities, filtering and pagination. It does not, however, distinguish itself from the sibling tools search_customers or get_customer, so an agent must infer the boundary itself.

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 explicit guidance about when to use this tool rather than search_customers, and there are no exclusions or prerequisites. The phrase 'optional filtering and pagination' only weakly implies that this tool is for browsing or enumerating customers, as opposed to targeted searching.

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