Skip to main content
Glama

send_email

Send project emails using predefined templates or custom raw HTML. Supports single recipient and optional display name.

Instructions

Send an email from the project's mailbox. Two modes: template (project_invite, magic_link, notification) or raw HTML (subject + html). Optional from_name for display name. Single recipient only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesThe project ID
toYesRecipient email address (single recipient only)
templateNoEmail template (template mode). project_invite, magic_link, or notification
variablesNoTemplate variables (template mode). project_invite: project_name, invite_url. magic_link: project_name, link_url, expires_in. notification: project_name, message (max 500 chars).
subjectNoEmail subject line (raw HTML mode, max 998 chars)
htmlNoHTML email body (raw HTML mode, max 1MB)
textNoPlain text fallback (raw HTML mode, auto-generated from HTML if omitted)
from_nameNoDisplay name for From header, e.g. "My App" (max 78 chars)
in_reply_toNoID of a prior message (typically inbound) to thread this one under. The server uses it to set RFC-822 In-Reply-To and References headers. Usually set via reply flows; leave empty for new threads.
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It only states 'send an email' without mentioning side effects, required permissions, rate limits, or whether sending deducts from an email pack. This is insufficient for a mutation tool.

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 two sentences long, front-loaded with the main purpose, and every word adds necessary context. No redundancy or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is adequate for a simple email sending tool but lacks details on error conditions, output (e.g., sent status), and behavior when mode is ambiguous (both modes provided or none). Given 9 parameters and no output schema, more context is needed for completeness.

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%, and the description adds value by grouping parameters into two modes (template vs raw HTML) and clarifying that from_name is optional. This helps an agent understand the mode-based usage beyond the schema's individual descriptions.

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?

Description clearly states the tool sends an email from the project's mailbox, specifies two modes (template and raw HTML), and lists template options. It uniquely identifies the resource and action, distinguishing it from related tools like get_email or send_message.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Description implies email sending from the project's mailbox and explicitly states 'single recipient only', but does not provide guidance on when to use template vs raw HTML mode, nor does it mention alternative tools for bulk sending or other email operations.

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/kychee-com/run402'

If you have feedback or need assistance with the MCP directory API, please join our Discord server