Skip to main content
Glama
ATOM00blue

Drin MCP Server

by ATOM00blue

create_template

Create a reusable email template with subject, HTML or plain-text body, and optional slug. Supports Handlebars variable substitution for dynamic content.

Instructions

Create a reusable server-side template. subject and at least one of html/text are required; all fields support the {{handlebars}} subset. slug defaults to a slugified name and must be unique per sender.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
htmlNoHTML body (supports {{vars}}).
nameYesHuman-readable template name.
slugNoURL-safe id (lowercase letters/numbers/hyphens). Defaults to the slugified name.
textNoPlain-text body (supports {{vars}}).
senderNoProduct/sender externalId sent as X-Drin-Sender. Required only for account-wide API keys; overrides the server's default sender.
subjectYesSubject line (supports {{vars}}).
Behavior3/5

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

No annotations are provided, so the description carries full burden. It notes that the template is reusable, server-side, and uses Handlebars subset, and that slug must be unique per sender. It does not discuss auth requirements, side effects, or error conditions, which is adequate but not rich.

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?

The description is two sentences, front-loaded with purpose, and contains no extraneous information. Every sentence adds value.

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?

Given the high schema coverage and no output schema, the description covers the creation process, required fields, template language, and slug behavior. It does not mention return value or error handling, but for a creation tool with no output schema, it is reasonably complete.

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 coverage is 100%, but the description adds value by stating that 'subject and at least one of html/text are required' (schema only lists subject as required) and that slug defaults to slugified name. This clarifies usage beyond schema alone.

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 clearly states 'Create a reusable server-side template,' using a specific verb and resource. It distinguishes from siblings like update_template, delete_template, etc.

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 mentions required fields (subject and html/text) and slug uniqueness, but does not provide explicit when-to-use or when-not-to-use guidance compared to other template-related tools like render_template or send_email.

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

Install Server

Other Tools

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/ATOM00blue/drin-mcp'

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