find_members
Look up gym members by name or status to identify a member or list those with a given status. Returns id, name, status, plan, and membership end date.
Instructions
Look up gym members by name and/or status.
Use this to identify a member (e.g. before discussing their payments) or to list members with a given status. Returns, ordered by name: member_id, full_name, status (active, frozen, cancelled), and their current membership's plan (monthly, quarterly, annual, student) and end date (YYYY-MM-DD). "Current" is the membership that ends last. Contact details (email, phone) are never returned.
name_query is a case-insensitive substring match on the full name ('ana' matches
'Dana' and 'Diana'); % and _ are literal characters. limit is 1-50 (default 20);
truncated is true if more members matched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum members to return (1-50). | |
| status | No | Only include members with this status. Omit for any status. | |
| name_query | No | Case-insensitive substring of the member's full name, e.g. 'smith'. Matched literally: % and _ are not wildcards. Omit to list all members. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| members | Yes | ||
| truncated | Yes | True if more members matched than `limit`. |