Skip to main content
Glama
deyikong

SendGrid MCP Server

by deyikong

Create Template Version

create_template_version

Create a new version of an email template by specifying HTML content, subject, and name. Set the version as active or inactive, with options for plain text and test data.

Instructions

Create a new version of a template with HTML content and settings

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName for this version
activeNoSet as active version (1 = active, 0 = inactive)
subjectYesEmail subject line (supports Handlebars)
test_dataNoJSON string of test data for Handlebars variables
template_idYesID of the template to add version to
html_contentYesHTML content of the email template (supports Handlebars)
plain_contentNoPlain text version (optional)
generate_plain_contentNoAuto-generate plain text from HTML

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

B3.4/5.0
Behavior2/5

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

Annotations only indicate non-read-only, non-idempotent, non-destructive behavior. The description adds little beyond the creation action, omitting important behavioral context such as the effect of 'active' on the template's current version, auto-generation of plain content, or what response is returned. This is a meaningful gap for a mutation tool.

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?

The description is a single, front-loaded sentence with no filler. However, 'settings' is vague and could be more explicit, which slightly reduces structural payoff despite the overall compactness.

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?

With 8 parameters and no output schema, the description is minimal but not wholly inadequate because the schema documents each field. Still, it lacks context about versioning semantics, how active versions are managed, and what the caller should expect after creation, leaving notable gaps.

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 coverage is 100%, so parameters are individually documented in the schema. The description's phrase 'HTML content and settings' adds no specific parameter meaning beyond that, and it does not help disambiguate nuanced fields like active, test_data, or generate_plain_content.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description states a specific verb and resource: 'Create a new version of a template'. This clearly distinguishes it from sibling tools like create_template or update_template_version, and it names the core payload ('HTML content and settings').

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?

The description implies the tool is for adding a version to an existing template, but it gives no explicit when-to-use guidance or exclusions. It does not contrast with create_template or update_template_version, so the agent must infer when this tool is preferred.

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