Skip to main content
Glama

woo_list_customers

Retrieve paginated WooCommerce customers for a site, with optional role and search filters to find specific users.

Instructions

List WooCommerce customers (users with the given role)

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": {
      "site": "<site>"
    },
    "name": "woo_list_customers"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default 1)
roleNoUser role (default customer)
siteYesSite id (see list_sites)
searchNoSearch in login, email, URL, display name (wildcard both sides)
per_pageNoCustomers per page (default 20)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changedv3.14.0
    • removedInput schema / properties / page / default
      Removed value: -1
    • addedInput schema / properties / page / description
      Added value: +"Page number (default 1)"
    • changedInput schema / properties / page / type
      Previous value: -"number"New value: +"integer"
    • removedInput schema / properties / per_page / default
      Removed value: -20
    • addedInput schema / properties / per_page / description
      Added value: +"Customers per page (default 20)"
    • changedInput schema / properties / per_page / type
      Previous value: -"number"New value: +"integer"
    • removedInput schema / properties / role / default
      Removed value: -"customer"
    • addedInput schema / properties / role / description
      Added value: +"User role (default customer)"
    • removedInput schema / properties / search / default
      Removed value: -""
    • addedInput schema / properties / search / description
      Added value: +"Search in login, email, URL, display name (wildcard both sides)"
  2. Changed2 schema fields changedv3.4.0
    • addedInput schema / properties / site
      Added value: +{
      +  "description": "Site id (see list_sites)",
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "site"
      +]
  3. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it only implies a read via the word 'List'. It says nothing about pagination semantics, ordering, permission requirements, or what happens with an invalid role.

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 short sentence with the resource front-loaded and the clarifying parenthetical immediately after. Nothing is wasted, though the brevity is close to under-specification given the zero-annotation context.

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?

With no output schema and no annotations, the description should describe the returned customer shape or pagination behavior, which it does not. It is minimally adequate for a simple list tool with a fully documented schema, but leaves real 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 page, per_page, search, role and site are already documented in the schema. The description's 'users with the given role' adds slight framing for the role parameter but no syntax or default guidance beyond the schema.

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 ('List WooCommerce customers') and clarifies the entity with '(users with the given role)', which disambiguates customers from arbitrary users. It does not name or differentiate itself from the nearby mcp_list_users sibling, so an agent must still infer the split.

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?

No when-to-use or when-not-to-use guidance is given; the only hint is the parenthetical about roles. Nothing tells the agent to prefer this over mcp_list_users for role-scoped lookups or over woo_list_orders when customer purchase data is needed.

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

Deploy Server

Other Tools