Skip to main content
Glama
woocommerce-mcp

woocommerce-mcp

by mubasher1111

Find customers

find_customers
Read-onlyIdempotent

Locate registered WooCommerce customers by name or email to retrieve contact and location details. Use it for account holders; guest buyers appear in order searches and sales reports instead.

Instructions

Finds registered customers by name or email, with contact details and location. Guest buyers appear in orders (list_orders search) and in sales_report top_customers, not here.

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": "find_customers"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoDefault 20
searchNoName or email

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and non-destructive, so the safety profile is fully covered elsewhere. The description adds useful scope context by declaring that only registered customers are in the result set and what fields come back. It does not mention pagination or the default result cap (only the schema does).

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?

Two sentences with zero filler, front-loading what the tool returns before the boundary condition. Every clause carries information an agent would otherwise have to guess.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 full schema coverage and complete annotations, the definition covers purpose, result fields, and the key data-coverage caveat. Only pagination/limit behavior is left entirely to the schema, which is acceptable.

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%, with both 'search' (Name or email) and 'limit' (Default 20) documented in the schema. The description reinforces that search matches name or email, but adds no syntax, matching rules, or partial-match behavior beyond the schema, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Finds registered customers') plus the lookup keys (name or email) and the payload ('contact details and location'). It also explicitly separates registered customers from guest buyers, so an agent can distinguish this from list_orders and sales_report without inspecting their schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear when-not rule: guest buyers are found via list_orders search or sales_report top_customers, not here. It does not spell out positive triggers (e.g. resolving a customer id before get_order), but the exclusion covers the main confusion risk among the listed siblings.

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