Skip to main content
Glama
shopify-mcp-complete

shopify-mcp-complete

by hishamalhadi

get-customer-by-id

Retrieve detailed Shopify customer information by ID, including addresses, marketing consent, and metafields, to support account, compliance, and segmentation workflows.

Instructions

Get detailed information about a specific customer including addresses, marketing consent, and metafields.

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": {
      "customerId": "<customerId>"
    },
    "name": "get-customer-by-id"
  }
}

Input Schema

NameRequiredDescriptionDefault
customerIdYesShopify customer ID or GID

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?

With no annotations supplied, the description carries the full behavioral burden; it does convey the breadth of returned data (addresses, marketing consent, metafields), which is genuinely useful. It omits, however, what happens when the ID is not found, whether any fields require elevated scopes, and whether metafields are truncated or paginated.

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?

One front-loaded sentence with no filler; the enumerated fields earn their place by signaling the response shape. A slight trim ("detailed information" plus a field list is mildly redundant) keeps it from a 5.

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 one-parameter read tool with no output schema and no annotations, the description is adequate but thin: it does not address not-found behavior or scope requirements. An agent could invoke it correctly, but would lack expectations for failure paths.

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 parameter is already documented as "Shopify customer ID or GID." The description adds no format examples, ID-vs-GID handling, or validation notes beyond what the schema provides, so baseline 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 specific customer") and enumerates the included data (addresses, marketing consent, metafields), which distinguishes it from list-style siblings like get-customers. It does not name or contrast any sibling explicitly, so it stops short of a 5.

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 guidance on when to use this versus alternatives such as get-customers, get-customer-orders, or update-customer. "A specific customer" weakly implies a lookup by identifier, but eligibility conditions and exclusions must be inferred.

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