Skip to main content
Glama
resend

Email Sending MCP

by resend

Send Event

send-event

Trigger automation workflows for a specific contact by firing an event. Supports optional payload data for automation steps.

Instructions

Purpose: Fire an event to trigger automations for a specific contact.

When to use:

  • User wants to trigger an automation workflow for a contact

  • Testing an automation by sending a test event

Workflow: create-event (if needed) → create-automation (if needed) → send-event

Important:

  • The event name must match the trigger event name in an automation for it to fire.

  • Identify the contact by either contactId OR email, not both.

  • The payload is optional and can contain any key-value data that the automation steps can reference via event.* variables.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailNoThe contact email to associate with the event. Use either contactId or email, not both.
eventYesThe event name (e.g., "user.created", "payment.failed")
payloadNoOptional key-value data passed to the automation. Accessible in steps via event.* variables.
contactIdNoThe contact ID to associate with the event. Use either contactId or email, not both.
Behavior4/5

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

With no annotations, the description carries the burden and does well by disclosing key constraints: event name must match trigger, contactId/email mutual exclusion, and payload semantics via event.* variables. It does not cover return values or error behavior, so a 4 is appropriate.

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 well-structured with bolded headers and concise bullet points. Every sentence adds value, covering purpose, usage, workflow, and important caveats without redundancy.

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?

For a tool with 4 parameters, a nested object, and no output schema, the description covers purpose, usage, workflow, and critical constraints. It misses return value details, but that is not required given the absence of an output schema. Overall, it is adequately complete.

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 has 100% parameter description coverage, so the baseline is 3. The description adds extra meaning beyond the schema by explaining the mutual exclusion requirement and how the payload is used in automations, pushing it to a 4.

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 purpose: 'Fire an event to trigger automations for a specific contact.' It uses a specific verb and resource, distinguishing it from sibling tools like send-email or send-broadcast, which send messages rather than trigger automations.

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?

Explicit 'When to use' bullets and a workflow (create-event → create-automation → send-event) give clear usage context. However, it does not explicitly mention when not to use or name alternative tools, so it falls slightly short of a 5.

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