Skip to main content
Glama

One email template

get_email_template
Read-onlyIdempotent

One email template whole: its words as written (placeholders and fallbacks as they are, for editing with save_email_template), and as a merchant with nothing known reads them.

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": "get_email_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
template_idYesThe template (list_email_templates).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavioral information: that the response carries two representations, the unrendered source with placeholders/fallbacks and a rendered preview computed with no known merchant data, which is important for interpreting the output.

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

Conciseness3/5

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

It is a single compact sentence with no filler, and the defining concept ('one template') is front-loaded. However the parenthetical and the phrase 'as a merchant with nothing known reads them' are syntactically dense and slow the reader down, costing clarity.

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 one-parameter read with no output schema, the description does the necessary work of explaining that both raw and rendered content come back. It stops short of describing the response structure (field names, how the two views are separated) or error behavior for an invalid id, leaving gaps an agent will hit at call time.

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?

Only one parameter with 100% schema description coverage; the schema already documents template_id and points to list_email_templates as the source of valid ids. The description adds no format, range or lookup detail beyond that, so baseline 3 applies.

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 specifies a single-resource retrieval ('One email template whole') and enumerates what is returned: raw source with placeholders/fallbacks and a rendered view. That is more specific than a bare restatement of the name, though the elliptical phrasing ('whole', 'as a merchant with nothing known reads them') takes effort to decode.

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?

It implies usage by noting the raw text is 'for editing with save_email_template', which tells the agent this is the pre-edit fetch. It never states when to use this instead of list_email_templates, nor what to do when the id is unknown, so guidance is implied rather than explicit.

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