Skip to main content
Glama

send_email

Send email from project mailbox using predefined templates (project invite, magic link, notification) or raw HTML with subject and body. Supports optional display name and threading.

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.
mailboxNoTarget mailbox by slug or id; omit only when the project has exactly one mailbox (otherwise the send returns an ambiguity error naming the slugs).
Behavior3/5

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

No annotations are provided, so the description must cover behavioral traits. It mentions modes and constraints but does not disclose error handling, validation behavior, or side effects. This is adequate but not comprehensive.

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 three sentences, front-loaded with the main purpose, and each sentence adds essential information. No fluff or repetition.

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?

Given the complexity (10 parameters, required and optional), the description provides a high-level overview but lacks details on output, error messages, or how modes interact with parameters. Schema fills many gaps, but an agent may need more context for correct invocation.

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% with detailed descriptions. The description adds value by explaining the two modes and summarizing the from_name usage, clarifying the overall intent beyond individual parameter 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?

The description clearly states 'Send an email from the project's mailbox' and distinguishes two modes (template vs raw HTML). It also specifies constraints like single recipient and optional from_name, making the purpose unambiguous.

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?

The description explains the two modes and lists available templates, which implies when to use each. However, it does not explicitly state when not to use this tool or mention alternatives, leaving some guidance implicit.

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