Skip to main content
Glama
deyikong

SendGrid MCP Server

by deyikong

Create Complete HTML Template

create_html_template

Create an HTML email template with subject, version, test data, and optional plain text in one step. Supports Handlebars variables for personalized email campaigns via SendGrid.

Instructions

Create a new template with HTML content in one step - perfect for AI-generated designs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
subjectYesEmail subject line (supports Handlebars like {{firstName}})
test_dataNoJSON string with test data for preview (e.g., '{"firstName":"John","company":"Acme"}')
html_contentYesComplete HTML email template (supports Handlebars)
version_nameYesName for the initial version
plain_contentNoPlain text version (will auto-generate if not provided)
template_nameYesName of the template

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changedv1.1.1
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed2 schema fields changedv1.0.0
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / additionalProperties
      Added value: +false
  3. First observed

TDQS

A3.7/5.0
Behavior3/5

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

With all annotations set to false, the description carries the behavioral disclosure burden. The 'in one step' phrase usefully implies an atomic create-template-plus-initial-version operation, which is a key behavior given the required version_name param. However, it does not explicitly state that a version is also created, nor mention side effects, idempotency, or failure modes, leaving gaps.

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

Conciseness5/5

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

A single scannable sentence that front-loads the action ('Create a new template with HTML content in one step') and then adds the use case. No filler, no repetition of the title, and every clause adds information.

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?

The description is adequate for a create tool with fully documented params, but it leaves some context implicit: that this operation also creates an initial version, how duplicates or naming conflicts behave, and what the response will be (no output schema). For a tool sitting among many template and version siblings, a bit more explicit context would help.

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 param meaning is fully documented in the schema. The description adds only a general 'HTML content' mention and the AI-design use case, but no per-parameter insight beyond what the schema already gives. Baseline 3 is appropriate.

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 clearly states a specific action ('Create a new template with HTML content') and resource ('new template'), and it adds a distinctive 'in one step' qualifier that hints at what separates it from sibling create_template or create_template_version. However, the differentiation is not fully explicit since it doesn't name or contrast with those siblings directly.

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

Usage Guidelines4/5

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

The phrase 'perfect for AI-generated designs' provides a clear use context: use this when you have complete HTML content ready to be turned into a template in a single call. It does not explicitly state when not to use it or list alternatives, but the context is reasonably clear.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/deyikong/sendgrid-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server