Skip to main content
Glama

Send email from alias

send_from_alias

Send a plain-text email from one of your aliases to hide your real address.

Instructions

Send a plain-text email to someone FROM one of the user's aliases, so the real address stays hidden. Requires RESEND_API_KEY, BREVO_API_KEY or Cloudflare Email Sending. This sends real mail: only call it when the user asked to send this exact message.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "alias": "<alias>",
      "to": "<to>",
      "subject": "<subject>",
      "text": "<text>"
    },
    "name": "send_from_alias"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesRecipient email address.
textYesPlain-text body.
aliasYesAlias address to send from.
subjectYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare non-read-only, open-world, non-idempotent behavior. The description adds crucial context beyond that: this sends real mail (a genuine external side effect), requires specific provider keys, and conceals the real address. It doesn't cover error modes such as a missing or disabled alias, but the essential behavioral profile is conveyed.

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 short sentences, each carrying distinct information: purpose/scope, prerequisites, and the send-gating warning. Nothing is redundant or buried, and the safety-critical instruction is placed last for emphasis.

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 a small, four-parameter mutation tool with annotations covering the safety profile, the description supplies what the structured fields don't: credential requirements and a firm send-only-when-asked rule. It omits return-value or failure behavior (e.g., an invalid alias), but with no output schema and clear annotations, the definition is nearly complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 75%, so most parameters are already documented. The description reinforces that 'text' is plain-text and clarifies why 'alias' matters (hiding the real address), but it adds nothing about 'subject', which lacks a schema description. Marginal added meaning over the schema.

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?

States a specific verb (Send), resource (plain-text email), and distinguishing scope (FROM one of the user's aliases so the real address stays hidden). This clearly separates it from sibling tools like create_alias, list_aliases, and recent_messages, which don't send mail.

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

Usage Guidelines5/5

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

Explicitly gates invocation: 'only call it when the user asked to send this exact message' — a strong when-to-use constraint that prevents unsolicited sending. It also names the prerequisite credentials (RESEND_API_KEY, BREVO_API_KEY, or Cloudflare Email Sending), so an agent can check readiness before calling.

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