SendGrid MCP by usefulapi
v1.41.1Send email and read templates, marketing contacts, lists, stats, bounces and unsubscribes.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
sendgrid_ping Ping (health check)
Health check — verifies the API key works and returns the scopes (permissions) granted to it. SendGrid: GET /v3/scopes.
sendgrid_list_templates List email templates
List your transactional email templates (Dynamic and/or Legacy). Returns { result: [...], _metadata } — use _metadata.next / page_token to paginate. SendGrid: GET /v3/templates.
| Parameter | Type | Description |
|---|---|---|
generations | string | Which template generation(s) to return (default: dynamic). |
page_size | integer | Number of templates per page (1–200, default 50). |
page_token | string | Pagination token from a previous response's _metadata. |
sendgrid_get_template Get email template
Get a single transactional email template by id, including its versions (subject + content). SendGrid: GET /v3/templates/{template_id}.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | The template id (dynamic template ids start with "d-"). |
sendgrid_list_marketing_lists List marketing lists
List your Marketing Campaigns contact lists, each with its id, name, and contact_count. Returns { result: [...], _metadata }. SendGrid: GET /v3/marketing/lists.
| Parameter | Type | Description |
|---|---|---|
page_size | integer | Number of lists per page (1–1000, default 100). |
page_token | string | Pagination token from a previous response's _metadata. |
sendgrid_get_contact_count Get contact count
Get the total number of Marketing Campaigns contacts on your account. Returns { contact_count, billable_count }. SendGrid: GET /v3/marketing/contacts/count.
sendgrid_search_contacts_by_email Search contacts by email
Look up marketing contacts by exact email address (a read-only lookup — mutates nothing). Returns { result: { "<email>": { contact: {...} } } }. SendGrid: POST /v3/marketing/contacts/search/emails.
| Parameter | Type | Description |
|---|---|---|
emails * | array | One or more exact email addresses to look up. |
sendgrid_get_stats Get email stats
Get global email statistics over a date range (delivered, opens, clicks, bounces, spam reports, etc.). Returns an array of { date, stats: [{ metrics: {...} }] }. SendGrid: GET /v3/stats.
| Parameter | Type | Description |
|---|---|---|
start_date * | string | Start date in YYYY-MM-DD format (required). |
aggregated_by | string | How to group the returned statistics. |
end_date | string | End date in YYYY-MM-DD format (defaults to today). |
limit | integer | Number of results to return. |
offset | integer | Number of results to skip (for pagination). |
sendgrid_list_bounces List bounces
List bounced email addresses (the bounce suppression list). Returns an array of { created, email, reason, status }. SendGrid: GET /v3/suppression/bounces.
| Parameter | Type | Description |
|---|---|---|
email | string | Filter to a specific bounced email address. |
end_time | integer | End of the time range, as a Unix timestamp (seconds). |
limit | integer | Number of bounces to return (1–500). |
offset | integer | Number of bounces to skip (for pagination). |
start_time | integer | Start of the time range, as a Unix timestamp (seconds). |
sendgrid_list_global_unsubscribes List global unsubscribes
List globally-unsubscribed email addresses (the global suppression list). Returns an array of { created, email }. SendGrid: GET /v3/suppression/unsubscribes.
| Parameter | Type | Description |
|---|---|---|
end_time | integer | End of the time range, as a Unix timestamp (seconds). |
limit | integer | Number of records to return. |
offset | integer | Number of records to skip (for pagination). |
start_time | integer | Start of the time range, as a Unix timestamp (seconds). |
sendgrid_send_mail Send email
SENDS A REAL EMAIL immediately via SendGrid. Provide `from_email` and one or more `to` recipients, plus EITHER a subject + content OR a `template_id` (dynamic template ids start with "d-", pass values via dynamic_template_data). Returns { status: "accepted", message_id }. SendGrid: POST /v3/mail/send.
| Parameter | Type | Description |
|---|---|---|
from_email * | string | Sender email address (must be a verified sender/domain). |
to * | array | One or more recipient email addresses. |
bcc | array | BCC recipient email addresses. |
cc | array | CC recipient email addresses. |
content | string | The email body. Required unless template_id is provided. |
content_type | string | MIME type of the body content (default text/html). |
dynamic_template_data | object | Key/value data merged into a dynamic template's handlebars variables. |
from_name | string | Sender display name. |
reply_to | string | Reply-To email address. |
subject | string | Email subject line. Required unless a template_id supplies it. |
template_id | string | A template id to render (dynamic template ids start with "d-"). When set, `content` is omitted. |
sendgrid_add_or_update_contacts Add or update marketing contacts
UPSERTS marketing contacts (creates new ones, updates existing ones by email) and optionally adds them to lists. This is an ASYNC job — returns { job_id } you can poll. SendGrid: PUT /v3/marketing/contacts.
| Parameter | Type | Description |
|---|---|---|
contacts * | array | Contacts to add or update (each needs an `email`; custom fields pass through). |
list_ids | array | List ids to add these contacts to. |