Skip to main content
Glama

List customers

list_customers
Read-only

Customers of a store from paid orders (shop, AI shopping, eBay, Hood), one row per e-mail: name, company, country, VAT ID, customer account yes/no, number and sum of orders (minus refunds), first/last order, channels. Optional search (e-mail/name/company), include_test, csv=true for a CSV download url.

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": {
      "store_id": "<store_id>"
    },
    "name": "list_customers"
  }
}

Input Schema

NameRequiredDescriptionDefault
csvNo
limitNo
searchNo
store_idYes
include_testNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so the safety profile is covered. The description goes further and discloses the aggregation behavior that matters: deduplication to one row per e-mail, order sums computed minus refunds, and the alternative CSV-download output. Remaining gaps are minor (no pagination or ordering behavior).

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?

It is two dense sentences: resource definition first, optional parameters second, which is a sensible front-loaded order. The returned-field enumeration is a long comma run but each item is informative. Slight cost in readability from the telegraphic style, but no padding sentences.

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?

There is no output schema, so the field listing (name, company, country, VAT ID, account yes/no, order count and sum, first/last order, channels) is genuinely necessary and largely complete. However, for a 5-parameter tool with zero schema documentation, leaving limit and store_id uncharacterized and omitting any pagination or large-result guidance 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 0%, so the description must carry parameter meaning, and it does cover three of the five: search is scoped to e-mail/name/company, include_test is named, and csv=true is explained as returning a download URL rather than rows. It says nothing about limit (a number with no stated default, ceiling, or truncation behavior) and only indirectly implies store_id via 'of a store'.

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 names a specific resource (customers of a store) and states the derivation rule: one row per e-mail built from paid orders across named sales channels. That is far more specific than a tautology like 'Lists customers' and it implicitly separates the tool from list_orders by restricting to paid orders. It stops short of naming a sibling to prefer for the non-paid or order-level view.

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?

Usage is only implied: the scope is 'paid orders', so the agent can infer unpaid or abandoned orders are excluded, and it is clearly a read/list operation. There is no explicit when-to-use versus when-not-to-use guidance, and no mention of which sibling (e.g. list_orders, list_marketplace_orders) to choose for raw order data instead of aggregated customers.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources