MCP tools: Account

The tools of the MCP server under Account. The account, its plan and usage, and account-wide counts.

me

Tool for me: GET /v1/me

The account, its plan and this month's usage, the caller (a key with its scope, or a session) and the inbox domain every address ends with. OAuth: requires account:read.

Offered to
A connected agent with an approval that covers account:read. The default agent permissions cover 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.

The tool takes no input.

Example call

{
  "name": "me",
  "arguments": {}
}

overview

Tool for overview: GET /v1/overview

The console's first page: inboxes against the plan, active keys, mail in the last 7 days, webhook deliveries in the last 24 hours and the getting-started checklist. Mail counts cover every inbox the account has had; unread threads cover live inboxes and untrashed threads. OAuth: requires account:read.

Offered to
A connected agent with an approval that covers account:read. The default agent permissions cover it. With a key: an account-scoped key or a console session; an inbox-scoped key gets 403 forbidden.
Annotations
readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false. The tool reads only; calling it again with the same input has no further effect.

The tool takes no input.

Example call

{
  "name": "overview",
  "arguments": {}
}

metrics

Tool for metrics: GET /v1/metrics

Received, sent, delivered and failed per UTC bucket over a range, with message categories and verdicts over inbound mail. Buckets with no activity are present with zeros. A range may span 90 days, or 7 with hour buckets. Deliveries are counted in the bucket of their creation, which is when their event occurred. Inbox-scoped keys always get their own inbox. OAuth: requires account:read.

Offered to
A connected agent with an approval that covers account:read. The default agent permissions cover 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
  • fromstring (date-time)optional

    Start of the range. Defaults to 7 days before to.

  • tostring (date-time)optional

    End of the range. Defaults to now.

  • interval"hour" | "day"optional

    Bucket size. Defaults to day.

  • inboxIdstringoptional

    Only this inbox; omit for the whole account. Example: inb_01jc4q7w9k2m5n8p3r6t1v4x7z

Inputs that are not fields of the request body
InputSent as
fromthe query parameter from
tothe query parameter to
intervalthe query parameter interval
inboxIdthe query parameter inboxId

Example call

{
  "name": "metrics",
  "arguments": {}
}

Up Down to move, Enter to open, Esc to close