Skip to main content
Glama

nevent_create_template

Create and persist a new email template with MJML or raw HTML content. Prefer MJML for responsive email (set format="MJML"). The template is saved and available for reuse across campaigns. After creation, call nevent_create_campaign with the returned template id to send it to a segment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesHuman-readable name for the template, e.g. "Event Reminder — Spring 2026"
tagsNoList of string tags to categorise the template (e.g. ["promotional", "event", "reminder"]). Omit to create with no tags.
formatYesTemplate format: "html" for raw HTML, "mjml" for MJML source code
html_bodyNoRaw HTML content for the template. Provide this field when format is "html".
mjml_bodyNoMJML source code for the template. Provide this field when format is "mjml".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already convey a non-read-only, non-destructive mutation. The description adds that the template is saved and reusable across campaigns, which is useful but does not disclose additional behavioral traits such as idempotency, uniqueness constraints, or required permissions.

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?

Three tight sentences: core action first, a targeted format preference second, and a follow-up workflow step third. Every sentence earns its place with no redundant content.

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?

Since there is no output schema, the description usefully explains that a template id is returned and how to use it in nevent_create_campaign. The relationship between format and body fields is left to the schema, but the schema covers it. The description is adequate for correct invocation.

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 description coverage is 100%, so the schema already documents all parameters. The description adds meaningful guidance beyond the schema by recommending format='MJML' for responsive email, which helps the agent choose the correct enum value and corresponding body field.

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?

The description states a specific verb and resource: 'Create and persist a new email template.' It identifies the content options (MJML or raw HTML) and distinguishes creation from related sibling tools like nevent_update_template and nevent_clone_template.

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?

Clear context is given: use this tool to create a reusable template, prefer MJML for responsive email, and then call nevent_create_campaign with the returned template id. However, it does not explicitly state when to use alternatives like update, clone, or preview.

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.