Skip to main content
Glama
Shopify MCP Server

Shopify MCP Server

by morsimohsen

search_customers

Search Shopify customers by email, name, or phone to find matching records and return a limited result set for review.

Instructions

Search for customers by email, name, or phone

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": {
      "query": "<query>"
    },
    "name": "search_customers"
  }
}

Input Schema

NameRequiredDescriptionDefault
firstNoNumber of results to return (default: 20)
queryYesSearch query (email, name, or phone)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and discloses almost nothing: not whether matching is exact or partial, not that results are capped (the schema's 20-default limit is never referenced), and not whether the search spans all customers or only an accessible subset. It does at least imply a read-only lookup, but that is inferred from the verb rather than stated.

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 zero filler, which is well sized for the surface purpose. It is arguably too thin rather than too long, so conciseness itself is not the problem.

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 two-parameter read tool with no output schema, the definition covers the essentials but leaves the agent guessing about result shape and matching behavior. The default result limit lives only in the schema, so the description alone would not let an agent predict what comes back.

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 coverage is 100%, so both parameters are already documented in structured data, and the description merely restates the query parameter's accepted forms (email, name, phone) without adding matching semantics such as case sensitivity or partial-match behavior. Baseline 3 applies when the schema does the heavy lifting.

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 ("Search for customers") plus the three fields it matches on, so an agent can distinguish it from get_customer. It never names list_customers as the non-search alternative, so the sibling boundary is only implied by the word "search".

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?

The phrase "by email, name, or phone" implicitly tells the agent this is for lookup when an identifier is known, but there is no explicit when-to-use statement, no condition for choosing it over list_customers, and no note about what happens when the query is ambiguous or empty.

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