MCP tools
Each tool calls the universe’s own API and returns its JSON answer as text.
send_email
Section titled “send_email”Sends an email from one of your addresses to simulated people. Returns its message_id.
| Input | Required | Meaning |
|---|---|---|
from | yes | Your sending address. |
to | yes | Recipients (a list). |
subject | yes | The subject. |
cc | Copies (a list). | |
text | Plain-text body. | |
html | HTML body. |
Calls POST /api/send.
wait_for_reply
Section titled “wait_for_reply”Waits for the next email a simulated person sends, optionally in reply to a given message. By default their reply is written now instead of after their usual delay. A person may decide not to reply.
| Input | Required | Meaning |
|---|---|---|
from | yes | The person’s address. |
in_reply_to | The message_id of your email. | |
timeout_seconds | How long to wait. Default 30. | |
fast | Write their due reply now. Default true. |
Calls GET /api/wait/reply.
wait_for_email
Section titled “wait_for_email”Waits for the next email to an address (or *@domain, or a tag). Returns its text plus any one-time codes and sign-in links; on a timeout, the emails that nearly matched and why they didn’t.
| Input | Required | Meaning |
|---|---|---|
to | one of to, tag | The receiving address, or *@domain. |
tag | one of to, tag | Addresses made with new_test_address and this tag. |
from | Part of the sender’s address. | |
subject | Words in the subject. | |
contains | Words in the body. | |
subject_regex, body_regex | Regular expressions (RE2) the subject or body matches. | |
header | Name:value a header contains. | |
link_domain | The email links to this host. | |
count | Wait for this many. Default 1. | |
timeout_seconds | How long to wait. Default 30. |
Calls GET /api/wait. Only mail that arrives after the call starts counts.
wait_for_no_email
Section titled “wait_for_no_email”Succeeds when nothing matching arrives for a while, such as no duplicate welcome email; fails with the email if one does.
| Input | Required | Meaning |
|---|---|---|
to | yes | The receiving address, or *@domain. |
from | Part of the sender’s address. | |
subject | Words in the subject. | |
for_seconds | How long to watch. Default 5. |
Calls GET /api/wait/none.
wait_for_event
Section titled “wait_for_event”Waits for something a person does: clicking a link (clicked), junking your email (junked), bouncing (bounced), replying (replied), declining (declined), promising (promised), or any kind from get_schema.
| Input | Required | Meaning |
|---|---|---|
type | yes | An event kind or short name; several, comma-separated. |
persona | Only this person (address or id). | |
message_id | Only events about this message. | |
fast | Let the person act now on what they have scheduled. | |
timeout_seconds | How long to wait. Default 30. |
Calls GET /api/wait/event. Some kinds need your plan’s lifelike behaviour or Junk features.
wait_for_thread_quiet
Section titled “wait_for_thread_quiet”Waits until no new message has joined a conversation for a while, then returns all its messages.
| Input | Required | Meaning |
|---|---|---|
message_id | yes | Any message of the conversation. |
quiet_seconds | How long it must stay quiet. Default 10. | |
fast | People reply now instead of on the simulated clock. Default true. | |
timeout_seconds | Default 60. |
Calls GET /api/wait/thread.
list_scheduled
Section titled “list_scheduled”The queue of replies, follow-ups and other actions people will take, with when they are due. Optional persona (address or id) and kind (reply, followup, nudge …). Calls GET /api/jobs.
run_scheduled_now
Section titled “run_scheduled_now”Runs people’s pending replies and other scheduled actions now instead of waiting for the simulated clock; optionally only one persona’s, or one kind. Calls POST /api/jobs/run-due.
new_test_address
Section titled “new_test_address”A new, unique address that catches mail with nobody simulated behind it. Optional prefix, domain (default inbox.test) and tag (such as your test run’s id; wait_for_email can then wait by tag). Calls POST /api/addresses.
get_schema
Section titled “get_schema”Every setting this API takes, with the values it allows and what they mean: temperaments, event kinds, fault kinds and more. Calls GET /api/schema; see the settings reference.
read_mailbox
Section titled “read_mailbox”Lists the messages in a mailbox folder, newest first, with the start of each message’s text.
| Input | Required | Meaning |
|---|---|---|
address | yes | The mailbox address. |
folder | INBOX (default), Sent, Junk … |
Calls GET /api/mailboxes/{address}/messages.
list_mailboxes
Section titled “list_mailboxes”Every mailbox in the universe, with message counts. No inputs. Calls GET /api/mailboxes.
list_people
Section titled “list_people”The simulated people in the universe: who they are, what they want, how they behave. No inputs. Calls GET /api/personas.
create_person
Section titled “create_person”Adds a simulated person who will receive and answer email.
| Input | Required | Meaning |
|---|---|---|
name | yes | Their name. |
address | yes | Their email address. |
role | Such as homeowner or buyer. | |
org | Their company. | |
who | Who they are. | |
wants | What they want. | |
temperament | responsive, busy, procedural, skeptical, flaky, difficult or ghost. |
Calls POST /api/personas.
push_case
Section titled “push_case”Tells the simulation what your system knows about a matter, such as a deal or a ticket. The people involved learn the story and stay consistent with it.
| Input | Required | Meaning |
|---|---|---|
id | yes | Your id for the matter. |
title | A short title. | |
known | What your system knows. | |
people | The people on it. |
Calls PUT /api/cases/{id}; the other inputs are passed through as the case. See Cases for the fields the API accepts.
email_health
Section titled “email_health”The spam score, link check, client compatibility and accessibility of an email you sent.
| Input | Required | Meaning |
|---|---|---|
message_id | yes | The message_id from send_email. |
Calls GET /api/inspect.
advance_clock
Section titled “advance_clock”Moves simulated time forward; everything due on the way happens.
| Input | Required | Meaning |
|---|---|---|
duration | yes | Such as 1h, 3h or 2d. |
Calls POST /api/clock/advance.
insights
Section titled “insights”What happened to the mail you sent: reached, junked, replied, clicked, how people feel.
| Input | Required | Meaning |
|---|---|---|
days | The period. Default 30. |
Calls GET /api/insights.