1. Call AMPLITUDE_UPDATE_COHORT_MEMBERSHIP -> get request_id
2. Call AMPLITUDE_CHECK_COHORT_STATUS with request_id
3. Repeat step 2 until status is 'complete' or 'error'
Known Pitfalls
User IDs:
Amplitude has its own internal user IDs separate from your application's
FIND_USER resolves your IDs to Amplitude's internal IDs
GET_USER_ACTIVITY requires Amplitude's internal ID, not your user_id
Event Timestamps:
Must be in milliseconds since epoch (13 digits)
Seconds (10 digits) will be interpreted as very old dates
Omitting timestamp uses server receive time
Rate Limits:
Event ingestion has throughput limits per project
Batch events where possible to reduce API calls
Cohort membership updates have async processing limits
Response Parsing:
Response data may be nested under data key
User activity returns events in reverse chronological order
Cohort lists may include archived cohorts; check status field
Parse defensively with fallbacks for optional fields
Quick Reference
Task
Tool Slug
Key Params
Send events
AMPLITUDE_SEND_EVENTS
events (array)
Find user
AMPLITUDE_FIND_USER
user
Get user activity
AMPLITUDE_GET_USER_ACTIVITY
user, offset, limit
Identify user
AMPLITUDE_IDENTIFY
user_id, user_properties
List cohorts
AMPLITUDE_LIST_COHORTS
(none)
Get cohort
AMPLITUDE_GET_COHORT
cohort_id
Update cohort members
AMPLITUDE_UPDATE_COHORT_MEMBERSHIP
cohort_id, memberships
Check cohort status
AMPLITUDE_CHECK_COHORT_STATUS
request_id
List event categories
AMPLITUDE_GET_EVENT_CATEGORIES
(none)
When to Use
This skill is applicable to execute the workflow or actions described in the overview.
Limitations
Use this skill only when the task clearly matches the scope described above.
Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.