Skip to main content
Glama

My email templates

email_templates
Read-only

The workspace's saved email templates (Email Connections). action list: every template. get: one by slug, with its subject, body and versions. render: fill a template (slug, optionally a version) or unsaved subject/html/text with sample variables and return exactly what a recipient would see; nothing is sent.

Input Schema

NameRequiredDescriptionDefault
htmlNorender: an unsaved HTML body.
slugNoget and render: the template's slug, e.g. 'order-receipt'.
textNorender: an unsaved plain-text body.
actionYesWhat to do with templates: list, get or render.
personNoLinked person to run this call as (first name). Omit to run as the connection's holder.
projectNoWorkspace to run this call in (id or name).
subjectNorender: an unsaved subject line instead of a slug.
versionNorender: a saved version; omit for the published one.
variablesNorender: sample values for the {{placeholders}}.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the description earns credit for adding context the agent would not otherwise have: 'render' returns exactly what a recipient would see and 'nothing is sent', and 'get' returns subject, body and versions. It never contradicts the annotations, though it doesn't cover error cases or limits on the sample-variable rendering.

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?

One long, dense paragraph that front-loads the resource and then walks the actions in order, with zero filler sentences. The run-on framing ('action list: ... get: ... render: ...') is slightly compressed but still scannable and every clause carries actionable information.

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 9-parameter tool with no output schema and a nested variables object, the description covers the resource, all three action modes, and roughly what comes back from get and render. It omits what a list entry contains and how variables are bound to placeholders when a version is not specified, which keeps it short of a 5.

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%, so the baseline is 3; the description beats that by mapping parameter combinations to actions ('render: fill a template (slug, optionally a version) or unsaved subject/html/text'), which tells the agent that slug and unsaved fields are mutually exclusive alternatives for render — a relationship the flat schema does not express.

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 first sentence names the resource precisely ('workspace's saved email templates') and the description then enumerates the three verbs (list, get, render) with what each does. It's distinguishable from email_drafts/email_sent by the 'templates' framing, but it never explicitly contrasts with those siblings, 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?

'render' is clearly framed as a preview ('nothing is sent'), which implies when to use it rather than email_send. However, there is no explicit when-to-use/when-not-to-use guidance, and no routing statement distinguishing this tool from email_drafts or email_campaigns, leaving the agent to infer.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources