rank_countries_by_customers
Rank countries by customer count using phone-number prefixes. Returns country code, name, and total, sorted highest first.
Instructions
Rank countries by number of customers, highest first. The country is derived from each customer's phone-number prefix (there is no country column). Returns a list of {country_code, country_name, customer_count}. limit defaults to 100 and is clamped to a maximum of 1000.
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": "rank_countries_by_customers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No |