add_contact_to_segment
Add a contact to a segment using contact ID and segment ID for targeted email campaigns.
Instructions
Add a contact to a segment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Contact ID | |
| segment_id | Yes | Segment ID |
Add a contact to a segment using contact ID and segment ID for targeted email campaigns.
Add a contact to a segment.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Contact ID | |
| segment_id | Yes | Segment ID |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already provide idempotentHint=true and destructiveHint=false, indicating safe retries and no destruction. The description merely restates the action without adding behavioral context, such as whether adding an already associated contact errors or silently succeeds.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, well-structured sentence that front-loads the action. It is appropriately concise for a simple tool, though it could be more informative without becoming verbose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity and the presence of annotations and schema, the description is adequate but not comprehensive. It omits important context like prerequisites (segment existence) and behavior on duplicate adds, which would improve completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with descriptions for both parameters (id and segment_id). The tool description adds no extra meaning beyond the schema, so it meets the baseline without adding value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Add') and resource ('contact' to 'segment'), clearly stating the action. It distinguishes itself from sibling tools like 'remove_contact_from_segment' and 'create_contact', making the purpose unmistakable.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It does not specify prerequisites (e.g., contact and segment must exist) or mention any context where another tool might be more appropriate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/helbertparanhos/resend-email-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server