Skip to main content
Glama
resend

Email Sending MCP

by resend

Create Contact Import

create-contact-import

Bulk-import contacts into Resend from a CSV file. Upload via file path, content, or URL to get an import ID for tracking progress.

Instructions

Bulk-import contacts from a CSV file into Resend. The import is processed asynchronously: this returns an import ID immediately, then use get-contact-import to poll its status and counts. Provide the CSV via exactly one of filePath, content, or url. Max file size 100MB.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoURL of a CSV file to fetch and upload. Use one of filePath, content, or url.
topicsNoTopic subscription configurations applied to the imported contacts.
contentNoRaw CSV text to upload (e.g. "email,first_name\na@b.com,Ada"). Use one of filePath, content, or url.
filePathNoLocal path to a CSV file to read and upload. Use one of filePath, content, or url.
filenameNoName for the uploaded file. Defaults to "contacts.csv".
columnMapNoMaps contact fields to CSV header names. When omitted, headers are matched case-sensitively to "email", "first_name", and "last_name".
onConflictNoHow to handle contacts that already exist: "upsert" updates them, "skip" leaves them unchanged. Defaults to "upsert".
segmentIdsNoArray of segment IDs to assign the imported contacts to.
Behavior4/5

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

With no annotations, the description carries the behavioral burden. It discloses async processing, immediate ID return, polling via a sibling tool, a 100MB size limit, and mutual exclusivity of CSV sources. This meaningfully informs the agent beyond what the schema provides, though it omits error/rate-limit details.

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?

Two sentences, front-loaded with the primary action, then key constraints and async behavior. Every sentence contributes actionable information with zero fluff.

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?

Covers the import lifecycle by naming the polling tool and explaining the immediate return value. The complex nested columnMap schema is fully documented in the input schema, so the description doesn't need to repeat it. Lacking error handling details, but for an initiation tool with no output schema, this is adequate.

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?

Schema coverage is 100%, so baseline is 3. The description adds value by explicitly stating 'exactly one of filePath, content, or url' and the max file size – constraints not obvious from individual property descriptions. It also references the polling parameter implicitly (the returned import ID), reinforcing the schema's purpose.

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 opens with 'Bulk-import contacts from a CSV file into Resend' – a specific verb, resource, and method. It clearly distinguishes from single-contact creation (create-contact) and positions itself as the bulk import initiation tool.

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?

Provides clear usage context: the async workflow ('returns an import ID... then use get-contact-import to poll') and a hard constraint on CSV source ('exactly one of filePath, content, or url'). It stops short of explicitly saying when not to use it relative to single-contact tools, but the context is unambiguous.

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