Skip to main content
Glama
Gmail MCP Server

Gmail MCP Server

by Abhitkumar89

send_template_email

Send an email using a stored template with variable interpolation and an optional fallback subject. Use it for consistent, repeatable outreach and automated messaging.

Instructions

Send an email using a stored template with variables

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": {
      "to": "<to>",
      "template": "<template>"
    },
    "name": "send_template_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesRecipient email address
templateYesTemplate name (filename without extension)
variablesNoKey-value variables for template interpolation
fallbackSubjectNoSubject if not specified in template

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and does not meet it. It never states that this performs an irreversible send, what happens if the named template is missing or a variable is unresolved, or how fallbackSubject interacts with a template-defined subject.

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?

A single front-loaded sentence with no filler, which is well structured. Its brevity is efficient rather than padded, though the same brevity leaves behavioral questions unanswered.

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 four-parameter mutation tool with a nested variables object and no annotations or output schema, the definition is thin. It is adequate to identify the tool and its two required inputs but omits failure modes, template-existence prerequisites, and what a successful send returns.

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 description coverage is 100%, so all four parameters are already documented, which sets the baseline at 3. The description's only added meaning is that variables are interpolated into the template, and it says nothing about fallbackSubject precedence or variable-name matching.

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 pairs a specific verb with a specific resource and mechanism: 'Send an email using a stored template.' That clearly signals template-driven sending rather than a plain send, but it never names the sibling send_email or send_introduction_email, so an agent must infer the distinction from the name alone.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no mention of the obvious alternative (send_email) for non-templated messages. The phrase 'using a stored template' weakly implies the precondition that a template exists, but the agent is left to infer it.

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