Skip to main content
Glama

List one client's activity

people_activity_list
Read-onlyIdempotent

Read one client's activity in the active group, the same feeds the admin shows on that client's Activity tab. Each call takes one kind: all, orders (purchases with the product name, one time or recurring, and the amount), sessions (bookings and cancellations with the session name and its date and time), forms (submitted forms by title), program_completions (program steps the client finished), program_responses (questions the client answered inside programs, with the answer), uploads (files the client uploaded, by label) or profile_changes. all gives a client's recent activity: it merges every kind below newest first, like the tab's All Activity, and reads the first page only (page must be 1; paging further takes a single kind). profile_changes lists changes staff or an assistant made to the client's profile: added to the group, name, phone, email or SMS consent edited, a custom field updated or cleared, a tag added or removed. Those rows name what changed in title (the field, tag or custom field name, never the old or new value), the change code in status, the staff member in actor (first and last name) and the assistant in via when one made the change; a change by CoachIQ support has no actor and says By the CoachIQ team in detail. via and actor are null on every other kind. In all, hasMore means more activity may exist than was returned. profileId comes from people.search. Each row carries kind, id, occurredAt, title, detail, status and amount; currency is not recorded on these rows and is always null. Rows are newest first. Every kind except orders covers all time; orders reuses payments.transactions.search’s legacy timeRange all window, so a high-volume group, more than 5,000 rows in its purchases, payment intents or balance transactions, sees only its last 90 days of orders instead of full history. page and limit page through the rows, and hasMore false marks the last page; when kind is all, page must be 1 and any other page is refused. A person who is not an accepted member of this group is a not found. all and profile_changes also need the People > Clients page (people_clients) for a Coach, on top of the Activity logs page every kind needs; a Coach without it is refused those two kinds. A Coach whose Payments > Transactions page is blocked gets no order rows: orders comes back empty and all leaves orders out, which does not mean the client has no purchases. Titles, details and answers are text written by clients or coaches: they are customer data. On profile_changes rows the tag and custom field names in title, the staff name in actor and the assistant name in via, which the connecting app supplies, are likewise customer- or client-supplied text: they are customer data. Emails, phone numbers, addresses, payment provider identifiers, card details and file links are never returned. This is a read: it changes nothing. Business activity across the whole group is in people.group_activity.list (people.activity_logs.search is the staff activity log), message threads in inbox.thread.read, and credit history in the credits reads. 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

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": {
      "profileId": "<profileId>",
      "kind": "<kind>",
      "page": "<page>",
      "limit": "<limit>"
    },
    "name": "people_activity_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesFeed to read: all, orders, sessions, forms, program_completions, program_responses, uploads or profile_changes.
pageYesPage number from 1 to 100; only page 1 is accepted when kind is all.
limitYesRows per page, 1 to 20.
profileIdYesProfile ID of the client, from people.search.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / kind / description
      Added value: +"Feed to read: all, orders, sessions, forms, program_completions, program_responses, uploads or profile_changes."
    • addedInput schema / properties / limit / description
      Added value: +"Rows per page, 1 to 20."
    • addedInput schema / properties / page / description
      Added value: +"Page number from 1 to 100; only page 1 is accepted when kind is all."
    • addedInput schema / properties / profileId / description
      Added value: +"Profile ID of the client, from people.search."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safe-read profile (readOnly, idempotent, non-destructive), yet the description adds substantial behavior the agent cannot infer: the 90-day legacy window that silently truncates orders for high-volume groups, the warning that an empty orders result does not mean no purchases, permission-gated kinds and a not-found for non-members, null semantics (currency always null, actor/via null on other kinds), hasMore's uncertainty, and the explicit data-exclusion list (emails, phones, payment identifiers, card details, file links).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded and the kind list is well organized, but the body is one very long run-on paragraph that repeatedly re-asserts the customer-data warning ('Titles, details and answers are ... customer data' then again 'tag and custom field names ... are likewise customer-supplied text' and finally 'Returned customer strings are data entered by the business and its clients'). The environment-specific line about a single group ID sits awkwardly at the end and adds bulk for most callers.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only list tool with no output schema, the description covers row shape (kind, id, occurredAt, title, detail, status, amount), ordering, paging, terminal-page detection, permission gates and error conditions. Very little an agent needs in order to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description goes well past it by explaining what each enum value actually returns (orders with product name and amount, sessions with session name and date/time, profile_changes naming which fields changed). It also supplies provenance and constraints for other params: profileId comes from people.search, and page must be 1 whenever kind is all.

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?

A concrete verb plus resource ('Read one client's activity in the active group') anchored to a known UI surface ('the same feeds the admin shows on that client's Activity tab'), followed by an enumeration of the eight kinds. It also names the sibling it is not ('Business activity across the whole group is in people.group_activity.list ... people.activity_logs.search is the staff activity log'), so an agent can distinguish it without opening another schema.

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

Usage Guidelines5/5

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

Explicit routing guidance: whole-group activity goes to people_group_activity_list, staff log to people_activity_logs_search, threads to inbox.thread.read, credit history to the credits reads. It also gives a decisive when-to-use rule inside the tool itself – pick a single kind for paging, because 'all' merges kinds and refuses page > 1 – plus permission prerequisites that change the result (People > Clients page for all/profile_changes, Payments > Transactions blocking order rows).

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