Skip to main content
Glama
Shopify Admin MCP Server

Shopify Admin MCP Server

get_customers

Retrieve and filter Shopify customer lists by email or order count with pagination, returning details like spending and address.

Instructions

List customers with optional filtering and pagination. Returns customer details including email, orders count, amount spent, and address.

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

Input Schema

NameRequiredDescriptionDefault
afterNo
firstNo
queryNoSearch query to filter customers (e.g., 'email:*@example.com', 'orders_count:>5')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. 'List' implies a read-only operation and the description names returned customer fields, which adds some behavioral context. However, it omits permissions/auth requirements, rate limits, and pagination mechanics beyond the word 'pagination'.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two front-loaded sentences with no redundant wording. It efficiently states the purpose and the returned customer fields.

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 simple read-only list tool, the description covers purpose and return fields. However, with no output schema and low parameter description coverage, it omits cursor and page-size semantics needed to invoke pagination correctly. It is adequate but has clear gaps.

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%, with only the 'query' parameter described in the schema. The description mentions filtering and pagination but does not explain the 'after' cursor or the 'first' default/maximum, so it does not compensate for the low schema coverage.

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 states a specific verb and resource: 'List customers'. It also mentions optional filtering, pagination, and returned fields. It does not explicitly distinguish this tool from siblings such as get_customer or get_customers_count.

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?

The description gives no explicit when-to-use or when-not-to-use guidance. Mentioning optional filtering and pagination provides context but does not tell the agent when to choose this tool over get_customer or get_customers_count.

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