Skip to main content
Glama

sendgrid

Send email

sendgrid_send_mail
Destructive

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ccNoCC recipient email addresses.
toYesOne or more recipient email addresses.
bccNoBCC recipient email addresses.
contentNoThe email body. Required unless template_id is provided.
subjectNoEmail subject line. Required unless a template_id supplies it.
reply_toNoReply-To email address.
from_nameNoSender display name.
from_emailYesSender email address (must be a verified sender/domain).
template_idNoA template id to render (dynamic template ids start with "d-"). When set, `content` is omitted.
content_typeNoMIME type of the body content (default text/html).text/html
dynamic_template_dataNoKey/value data merged into a dynamic template's handlebars variables.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The description reinforces the destructiveHint annotation with 'SENDS A REAL EMAIL immediately' in caps, emphasizing the irreversible side effect. It also discloses the response format ({ status: 'accepted', message_id }) and the underlying API endpoint, adding value beyond the annotation.

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?

Three concise sentences cover purpose, critical parameters, return shape, and endpoint. Every clause carries information, and the front-loaded 'SENDS A REAL EMAIL' ensures the most important fact is first. No filler or repetition.

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 an 11-parameter tool with no output schema, the description covers the key parameters, the template dynamic data mechanism, the accepted response, and the API endpoint. It lacks details on error handling and rate limits, but the core behavior is well specified.

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?

With 100% schema coverage, the baseline is 3, but the description adds the conditional relationship between template_id and content, and explains how dynamic_template_data feeds template variables. This operational nuance is not explicitly written in the schema descriptions, giving it extra value.

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 immediately states 'SENDS A REAL EMAIL immediately via SendGrid' with a specific verb and resource, clearly distinguishing it from the sibling list/get/add tools. The sentence is direct and unambiguous, leaving no doubt about the tool's function.

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?

It gives clear instructions on required parameters ('from_email' and 'to') and the two content paths (subject+content or template_id). While it doesn't explicitly state when not to use it, the purpose and sibling names make the context clear, and it provides the either/or usage pattern.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool targets a distinct resource/action: send mail, manage contacts (upsert/count/search), templates (get/list), suppression lists (bounces/unsubscribes), marketing lists, stats, and health check. No overlaps or ambiguous boundaries.

Naming Consistency5/5

All tools follow a consistent 'sendgrid_' prefix with a verb_noun pattern (e.g., get_template, list_bounces, send_mail). The only minor deviation is 'ping' for health check, but it's a conventional verb-only name and doesn't break the overall consistency.

Tool Count5/5

11 tools is well-scoped for a SendGrid server, covering sending, contacts, templates, suppression, stats, and health. Each tool has a clear purpose and none feel redundant.

Completeness4/5

Core email sending, contact management, and read operations for templates/suppression are covered. However, there are no write operations for templates (create/update/delete) or suppression list management (remove), which are minor gaps that agents can work around by using the existing tools.