Skip to main content
Glama
Email Sending MCP

Email Sending MCP

by resend

Remove Inbox Label

remove-inbox-label
Destructive

Remove a label by ID from a Resend inbox, stripping it from every thread without deleting mail. This irreversible action requires user confirmation before proceeding.

Instructions

Remove a label by ID from a Resend inbox. This takes the label off every thread that carries it, but the threads themselves are left alone and no mail is deleted. Before using this tool, you MUST double-check with the user that they want to remove this label. Reference the NAME of the label when double-checking, and warn the user that removing a label is irreversible and strips it from every thread it is on. You may only use this tool if the user explicitly confirms they want to remove the label after you double-check. Get the label ID from list-inbox-labels.

Input Schema

NameRequiredDescriptionDefault
inboxIdYesInbox ID, or the inbox email address (e.g. "support@example.com"). Not the Resend receiving address.
labelIdYesLabel ID. Use list-inbox-labels to find label IDs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.27.1
    • changedInput schema / properties / inboxId / description
      Previous value: -"Inbox ID"New value: +"Inbox ID, or the inbox email address (e.g. \"support@example.com\"). Not the Resend receiving address."
  2. 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 and readOnlyHint=false, and the description goes well beyond them: threads themselves are left alone, no mail is deleted, the operation is irreversible, and it strips the label from every thread. This is exactly the blast-radius detail an agent needs before firing 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?

Purpose and blast radius are front-loaded, then the confirmation protocol. The only weakness is mild redundancy: the double-check requirement is stated twice ('double-check with the user' and again 'only use this tool if the user explicitly confirms ... after you double-check'). Justifiable for a destructive operation, but it is still repeated text.

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?

For a 2-parameter destructive tool with no output schema and no nested objects, everything needed to call it safely is present: scope, irreversibility, upstream ID source, and the confirmation gate. Nothing material 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 are already documented there (including the inboxId email-address form). The description only repeats the list-inbox-labels hint that the labelId schema field already carries, so it adds no meaning beyond structured data. 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+resource ('Remove a label by ID from a Resend inbox') and immediately scopes it against the very similar sibling remove-inbox-thread-label by clarifying it 'takes the label off every thread that carries it.' An agent can distinguish the inbox-wide removal from the per-thread removal without opening either 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?

Explicit when-to-use with hard prerequisites: confirm with the user first, reference the label NAME, warn about irreversibility, and only proceed after explicit confirmation. It also routes to list-inbox-labels for obtaining the required ID, so the agent knows both the gating condition and the upstream step.

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