Skip to main content
Glama
resend

Email Sending MCP

by resend

Remove Inbox Thread

remove-inbox-thread
Destructive

Remove a thread by ID from a Resend inbox. This moves the whole thread, every message in it included, to the trash folder and schedules it for deletion in 30 days.

Instructions

Remove a thread by ID from a Resend inbox. This moves the whole thread, every message in it included, to the trash folder and schedules it for deletion in 30 days. Until then, update-inbox-thread can restore it by moving it to inbox, archive, or spam, which also clears the deletion deadline. Before using this tool, you MUST double-check with the user that they want to remove this thread. Reference the SUBJECT of the thread when double-checking, and tell the user it takes every message in the thread to the trash with it. You may only use this tool if the user explicitly confirms they want to remove the thread after you double-check. To get a thread out of the way without trashing it, use update-inbox-thread with folder "archive" instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inboxIdYesInbox ID
threadIdYesThread ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.26.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, but the description goes well beyond them: it discloses that the entire thread and every message move to trash, that deletion is scheduled 30 days out, and that the deletion deadline can be cleared via update-inbox-thread. This is exactly the extra context an agent needs before a destructive call.

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?

Front-loaded with the effect and the 30-day window before the confirmation rules, which is the right order. The confirmation requirement is restated three times ('double-check', 'tell the user', 'only use this tool if the user explicitly confirms'), which is mild redundancy but defensible for a destructive tool.

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 covers the consequences (trash, 30-day deletion, restorability) and the safety workflow fully. Nothing an agent needs to invoke this destructive tool correctly is missing.

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

Parameters3/5

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

Schema description coverage is 100% and both parameters (inboxId, threadId) are documented in the schema, so the schema carries the load. The description adds only 'by ID' with no format, sourcing, or lookup guidance, so the baseline 3 applies.

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 ('Remove a thread by ID from a Resend inbox') with clear scope — a single thread, whole-thread granularity. An agent can distinguish this from siblings like remove-inbox, update-inbox-thread, and remove-inbox-draft without opening any schema.

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?

Explicitly states the precondition (mandatory user double-check referencing the thread SUBJECT, then explicit confirmation), and names the alternative for a non-destructive path: update-inbox-thread with folder "archive". Both when-to-use and the alternative route are given.

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