Skip to main content
Glama

Create template

create_template

Create a draft email template (html or blocks format).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
htmlNoHTML body
nameYesTemplate name
textNoPlain-text body
aliasNoOptional short alias to reference the template by instead of its id
formatNoTemplate format (html or blocks)
subjectYesSubject line, may contain {{variables}}

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
templateYesThe template

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the safety profile is covered. The description adds the useful nuance that the result is a draft (not sendable until published) and that html/blocks formats are accepted, but it says nothing about auth requirements, uniqueness constraints, or whether repeated calls duplicate templates.

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 that states the action, the created artifact and its state with zero filler. It is tightly written, though arguably too terse for a six-parameter creation tool.

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?

An output schema exists, so return values need not be explained, and annotations carry the safety profile. What remains missing is the draft-to-live lifecycle and any constraints on name/alias, leaving the description only minimally adequate for a creation endpoint.

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 six parameters are already documented in the schema. The description only echoes the html/blocks format choice, adding no syntax, pairing, or default guidance beyond structured data; 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?

Clear verb+resource: 'Create a draft email template' with the supported formats named. The word 'draft' implicitly separates it from publish_template, but the sibling is never named explicitly.

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 stated when-to-use, prerequisite, or alternative. An agent must infer from 'draft' that publish_template exists to make a template live, and nothing tells it whether a name must be unique or whether alias collisions matter.

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