Skip to main content
Glama
resend

Email Sending MCP

by resend

List Inbox Thread Emails

list-inbox-thread-emails
Read-only

Purpose: List the emails in one Resend inbox thread, oldest first, without their bodies.

Instructions

Purpose: List the emails in one Resend inbox thread, oldest first, without their bodies.

NOT for: Reading a message's body (use get-inbox-thread-email). Not for the thread's folder, labels or read state (use get-inbox-thread, which returns them with the first page of emails).

Returns: For each email: its email ID, direction (inbound or outbound), from, to, subject, received_at, read state, and how many attachments it carries.

When to use: You need the next page of a long thread after get-inbox-thread, or only the emails of a thread. A message's ID IS the email ID that get-inbox-thread-email, reply-to-inbox-thread-email, and forward-inbox-thread-email take as their "emailId". This endpoint is paginated: when more emails exist, pass the last email's ID back as "after" for the next, newer page. When paging backward with "before", pass the first email's ID back as "before".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
afterNoEmail ID after which to retrieve more (the next, newer page). Cannot be used with "before". An ID that is not a message of this thread returns a 404.
limitNoNumber of emails to retrieve. Default: 20, Max: 100, Min: 1. Emails are oldest first.
beforeNoEmail ID before which to retrieve more (the previous, older page). Cannot be used with "after". An ID that is not a message of this thread returns a 404.
inboxIdYesInbox ID
threadIdYesThread ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.26.1

TDQS

A4.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover the safety profile (readOnlyHint, destructiveHint=false, openWorld=false), so the bar is lower, and the description goes well beyond them: it discloses that bodies are omitted, the oldest-first ordering, the enumerated return fields, and the pagination protocol. It does not cover rate limits or error behavior, keeping it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Bold section headers front-load purpose, exclusions, returns, and usage, so scanning is fast. It is somewhat long, and the pagination sentence is dense, but nearly every clause carries distinct information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, yet the description enumerates the returned fields, so the agent knows what a call yields. Pagination direction, cursor reuse, and the ID's role in sibling tools are all covered for a 5-parameter paginated list tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description maps the API's cursor params to agent action ('pass the last email's ID back as "after" for the next, newer page; pass the first email's ID as "before" when paging backward'), which is meaningfully beyond the raw schema text. It also clarifies that a message's ID IS the emailId other tools accept, tying the parameter to cross-tool usage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('List the emails in one Resend inbox thread') plus two key qualifiers: 'oldest first' and 'without their bodies'. The contrast with get-inbox-thread-email and get-inbox-thread makes the scope unambiguous against siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

An explicit 'NOT for' block names both alternatives and the conditions that select them (body reading vs folder/labels/read state). The 'When to use' section adds the remaining positive trigger: paging a long thread or listing just the emails.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools