Skip to main content
Glama
resend

Email Sending MCP

by resend

Remove Segment

remove-segment

Remove a segment from Resend by its ID. Always confirm the segment name with the user first, since deletion is permanent.

Instructions

Remove a segment by ID from Resend. Before using this tool, you MUST double-check with the user that they want to remove this segment. Reference the NAME of the segment when double-checking, and warn the user that removing a segment is irreversible. You may only use this tool if the user explicitly confirms they want to remove the segment after you double-check.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesSegment ID
Behavior5/5

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

With no annotations provided, the description fully discloses the irreversible nature of the action and the necessity of a confirmation step. It warns that removal cannot be undone, which is critical behavioral information beyond what the schema conveys.

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

Conciseness5/5

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

The description is compact, front-loaded with the core action, and every sentence serves a purpose: the action, the mandatory double-check, the irreversibility warning, and the explicit confirmation requirement. No unnecessary words.

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 simple delete operation with one parameter and no output schema, the description covers all necessary context: what it does, how it must be used safely, and the irreversible consequence. It is fully self-contained.

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?

The schema already describes the 'id' parameter as 'Segment ID', so baseline is 3. The description adds the instruction to reference the segment NAME during double-checking, implying the need to map id to a human-readable name. This enriches the id parameter's meaning beyond the schema, though not extensively.

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?

The description starts with 'Remove a segment by ID from Resend,' which clearly states the action (remove), the target resource (segment), and the identifier (ID). It unambiguously distinguishes this tool from sibling remove tools like remove-contact or remove-broadcast by specifying the resource.

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?

The description provides explicit when-not-to-use guidance: it must only be used after the user explicitly confirms. It also mandates a specific pre-operation workflow (double-check, reference the segment name, warn about irreversibility), leaving no ambiguity about the required confirmation process.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/resend/resend-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server