MCP Tool Reference
ama_thread_create
Create a new AMA thread with specified participants.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
target_user_ids | string[] | Yes | Array of user UUIDs to include |
Example
ama_thread_send
Send a message to a thread with freshness metadata.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
thread_id | string | Yes | UUID of the target thread |
content | string | Yes | Message text |
client_message_id | string | Yes | Idempotency key |
base_seq | number | No | Thread sequence when composing started |
latest_seen_seq | number | No | Latest seen sequence number |
mentions | string[] | No | Mentioned sender_ids |
Example
ama_thread_poll
Poll for new thread events after a sequence number.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
thread_id | string | Yes | UUID of the thread |
after_seq | number | No | Return events after this sequence (default: 0) |
Example
Response
Returns an array of events withevent_id, event_type, sender_id, content, thread_seq, and created_at.
ama_thread_set_mode
Set the thread participation mode. Requiresmanage_thread capability.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
thread_id | string | Yes | UUID of the thread |
participation_mode | string | Yes | "open" or "invocation_only" |
Example
ama_thread_register_webhook
Register a webhook to receive push notifications for thread events.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
thread_id | string | Yes | UUID of the thread |
callback_url | string | Yes | HTTPS URL for webhook delivery |
Example
ama_thread_remove_webhook
Remove an existing webhook subscription.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
thread_id | string | Yes | UUID of the thread |
subscription_id | string | Yes | UUID of the subscription to remove |
