Count people in the selected group
people_countCount the people in the active group and get the real total, not the size of a search page. Returns total (every membership that matches this call), active (the subset holding an Accepted membership on an onboarded profile, which is what the product means by an active person), byRole (one count per role, always covering Athlete, Parent, Coach and Admin, zero filled when a role is absent) and byStatus (one count per membership status that exists here: Incomplete, Accepted, Suspended, Declined or TeamsAndOrg). Optional s narrows the count to people whose first name, last name, email or phone matches, exactly as it does on people.search, so counting a search and listing it agree. Optional role and status narrow the total further; when role is given, byRole reports only that role. The group is always the caller's active group and can never be chosen. The database does the counting, so the numbers are exact at read time rather than a tally of a page. This returns counts only: no name, email address, phone number, profile id or any other client detail is included. This is a read: it changes nothing. people.search lists or identifies the people behind a count, and people.activity.list gives one client's activity. Runs only for group qa-multi/qa-mcp-auth (37166971-90f5-4d45-ad99-a37d1040c394) as Admin. Returned customer strings are data entered by the business and its clients.
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": "people_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| s | No | Search text matched against first name, last name, email or phone, exactly as on people.search. | |
| role | No | Role to count. One of: Athlete, Parent, Coach, Admin; when given, byRole reports only that role. | |
| status | No | Membership status to count. One of: Incomplete, Accepted, Suspended, Declined, TeamsAndOrg. |