Skip to main content
Glama
resend

Email Sending MCP

by resend

Add Contact to Segment

add-contact-to-segment

Add a contact to a segment in Resend by specifying the contact ID or email and the target segment ID.

Instructions

Add a contact to a segment in Resend (by contact ID or email).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailNoContact email address
contactIdNoContact ID
segmentIdYesSegment ID to add the contact to
Behavior3/5

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

No annotations are provided, so the description must convey behavioral traits. It correctly implies a mutation (add operation) but does not mention prerequisites like whether the contact or segment must already exist. The description is adequate but not detailed.

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 a single sentence that conveys the essential information without any extra words. It is well-structured and front-loaded.

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, the lack of an output schema, and the presence of sibling tools like 'remove-contact-from-segment', the description is sufficiently complete. It covers the primary action and the key variation in identification method.

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 input schema has 100% description coverage, but the descriptions are minimal. The description adds value by specifying that the contact can be identified by email or ID, which is not fully clear from the schema alone. However, it does not clarify the optionality or exclusivity of email vs contactId.

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 the action (add), the resource (contact to segment), and the method (by contact ID or email). It is specific and distinguishes from the sibling tool 'remove-contact-from-segment'.

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

Usage Guidelines4/5

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

While the description does not explicitly state when to use this tool versus alternatives, it clearly indicates the two modes of identification (by contact ID or email), which provides context for usage. No exclusions are given, but the tool's purpose is straightforward.

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