---
title: "MCP tools: Events"
description: "The tools of the MCP server under Events. The account's event log: page back through it, or poll it forward."
url: https://doorman.fyi/docs/mcp/tools/events
markdown: https://doorman.fyi/docs/mcp/tools/events.md
area: "SDKs and tools"
section: "MCP server"
---

# MCP tools: Events

The tools of the MCP server under Events. The account's event log: page back through it, or poll it forward.

Source: https://doorman.fyi/docs/mcp/tools/events

## events_list

Tool:
```text
events_list
```

Operation [`events.list`](https://doorman.fyi/docs/reference/events.md#events-list): `GET /v1/events`

The account's event log. Without `after`: newest first as a page, with `nextCursor` to continue (events with a smaller `seq`). With `after`: the events with a larger `seq`, oldest first, with `latestSeq` to poll from next; start from the newest `seq` you have, or 0. `after` and `cursor` cannot be combined. Filters apply before paging or polling, across all stored history. Inbox-scoped keys see their inbox's events only. OAuth: requires events:read, mail:read.

- Offered to: A connected agent with an approval that covers `events:read` and `mail:read`. The default agent permissions do not cover it: the agent has to ask for it, and the person has to approve it. With a key: any API key, or a console session.
- Annotations: `readOnlyHint: true`, `destructiveHint: false`, `idempotentHint: true`, `openWorldHint: false`. The tool reads only; calling it again with the same input has no further effect.

**Input**
- `inboxId` (string, optional): Only this inbox. Example: `inb_01jc4q7w9k2m5n8p3r6t1v4x7z`
- `threadId` (string, optional): Only events whose stored payload names this thread. Can be combined with inboxId and type. A valid id with no visible matching events returns an empty result, including ids from another account or inbox. Trashing a thread does not remove its stored events. Example: `thr_01jc5a1b2c3d4e5f6g7h8j9k0m`
- `type` ("message.received" | "message.sent" | "thread.updated" | "inbox.created" | "inbox.deleted" | "delivery.failed" | "message.held" | "send.held" | "send.discarded" | "sign_in.requested" | "sign_in.completed", optional): Only this event type.
- `limit` (integer, optional): Page size, 1 to 100. Defaults to 50.
- `cursor` (string, optional): Page from here: events with a smaller `seq`. Example: `1041`
- `after` (string, optional): Poll from here: events with a larger `seq`, oldest first. Example: `1042`

**Inputs that are not fields of the request body**

| Input | Sent as |
| --- | --- |
| `inboxId` | the query parameter `inboxId` |
| `threadId` | the query parameter `threadId` |
| `type` | the query parameter `type` |
| `limit` | the query parameter `limit` |
| `cursor` | the query parameter `cursor` |
| `after` | the query parameter `after` |

Example call:
```json
{
  "name": "events_list",
  "arguments": {}
}
```

## events_get

Tool:
```text
events_get
```

Operation [`events.get`](https://doorman.fyi/docs/reference/events.md#events-get): `GET /v1/events/{eventId}`

The event, the payload exactly as it was signed and sent, and every delivery it produced with its status, attempts and last error. Inbox-scoped keys see the inbox webhook's delivery only. OAuth: requires events:read, mail:read.

- Offered to: A connected agent with an approval that covers `events:read` and `mail:read`. The default agent permissions do not cover it: the agent has to ask for it, and the person has to approve it. With a key: any API key, or a console session.
- Annotations: `readOnlyHint: true`, `destructiveHint: false`, `idempotentHint: true`, `openWorldHint: false`. The tool reads only; calling it again with the same input has no further effect.

**Input**
- `eventId` (string): The event. Example: `evt_01jc5e5f6g7h8j9k0m1n2p3q4r`

**Inputs that are not fields of the request body**

| Input | Sent as |
| --- | --- |
| `eventId` | the path parameter `eventId` |

Example call:
```json
{
  "name": "events_get",
  "arguments": {
    "eventId": "evt_01jc5e5f6g7h8j9k0m1n2p3q4r"
  }
}
```
