Skip to main content
Glama
Protonmail MCP Server

Protonmail MCP Server

by jagjourney

send_from_template

Render an email template with dynamic variables and send it, optionally overriding To, CC, or BCC recipients.

Instructions

Render an email template with variables and send it. Overrides to/cc/bcc if provided.

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": {
      "template_id": "<template_id>"
    },
    "name": "send_from_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNoOverride CC recipients
toNoOverride recipient(s), comma-separated
bccNoOverride BCC recipients
variablesNoKey-value map to replace {{variable}} placeholders
template_idYesThe template ID to use

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.3

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses one non-obvious behavior, that to/cc/bcc arguments override the template's recipients when provided, but it says nothing about delivery being immediate and irreversible, what happens when template_id is unknown, or whether the template's own recipients are used when the overrides are omitted.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with the primary action front-loaded and no filler. The second sentence is arguably redundant with the schema field descriptions, which keeps it from a 5.

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?

For a five-parameter mutation tool with a nested object, no annotations, and no output schema, the definition is only minimally adequate. An agent can call it, but gets no guidance on send semantics, error conditions, or the shape of a successful response.

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 100%, so the baseline is 3. The sentence about overriding to/cc/bcc essentially restates the schema's own field descriptions rather than adding new meaning, and it adds nothing about the nested variables map beyond what the schema already documents.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb pair (render + send) and a specific resource (an email template with variables), which cleanly separates it from send_email and from list_templates. It does not explicitly name a sibling or state what it is not, so it stops short of a 5.

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?

Usage is only implied: the agent can infer this is the tool for sending from a stored template rather than composing a message. There is no statement of when to prefer this over send_email, nor any prerequisite such as needing an existing template_id from list_templates.

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