Skip to main content
Glama
resend

Email Sending MCP

by resend

Remove Segment

remove-segment

Delete a segment by providing its ID. This action is irreversible, so confirm with the user before proceeding.

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
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It mentions that removing a segment is irreversible, but does not disclose other behavioral traits such as potential side effects (e.g., impact on contacts in the segment), required permissions, or error conditions. The irreversibility is noted, but more context would be beneficial.

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 (three sentences) and front-loaded with the purpose, followed by critical usage guidelines. Every sentence adds value, and there is no redundant information.

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

Completeness4/5

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

Given the simplicity of the tool (one parameter, no output schema, no annotations), the description adequately covers purpose and usage. It lacks details about the response or prerequisites (e.g., segment must exist), but these are implied. Slightly more completeness could be achieved by mentioning the expected outcome, but it is sufficient.

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 coverage is 100%, so baseline is 3. The description does not add any additional meaning beyond the schema; it simply says 'by ID' which is already implicit from the parameter description. No extra semantic value is provided.

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 clearly states 'Remove a segment by ID from Resend.' It specifies the action (remove), the resource (segment), and the identifier (by ID). This distinguishes it from sibling tools like 'remove-contact-from-segment' or 'create-segment'.

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 instructions: 'Before using this tool, you MUST double-check with the user...' including referencing the segment name, warning about irreversibility, and requiring explicit confirmation. This is excellent guidance on when and how to use the tool.

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