Skip to main content
Glama

volanea_create_template

DestructiveIdempotent

Create a reusable email template with {{variable}} placeholders. Idempotent by name: an existing template with the same name is updated instead (content changes snapshot a new version, old versions are retained). The reply is a summary — id, version, and the detectedVariables a send must supply — not the body you just sent; read the stored HTML back with volanea_get_template if you need it. API docs: volanea_get_api_reference { resource: 'Templates' } or https://volanea.com/docs.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "subject": "<subject>",
      "body": "<body>",
      "fromEmail": "<fromEmail>"
    },
    "name": "volanea_create_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesHTML body. Supports {{variable}} placeholders.
nameYesTemplate name, e.g. 'Welcome email'. Acts as the idempotency key.
typeNoDecides who can receive it, so getting this wrong is a compliance problem rather than a cosmetic one. `transactional` reaches a recipient even when their contact is unsubscribed (password resets, receipts, verification codes). `marketing` is skipped for unsubscribed contacts and must carry an unsubscribe link. Default to `marketing` for anything promotional; use `transactional` only when the message is a direct response to something the user did.
subjectYesSubject line. Supports {{variable}} placeholders.
fromNameNoHuman-readable sender name.
fromEmailYesSender address — must be on a verified domain to deliver in live mode.
project_idNoWhich project to act on — a projectId from volanea_list_projects. Optional when this connection reaches exactly one project; required when it reaches several (the call fails with the list of projects instead of guessing). A project API key only ever reaches its own project.
previewTextNoInbox preview line (~100 chars visible).

Output Schema

NameRequiredDescriptionDefault
codeNoMachine-readable failure code to branch on. Present only when success is false.
dataNoPresent when success is true.
errorNoHuman-readable failure reason. Present only when success is false.
successYesFalse when the call failed; read `error` and `code` in that case.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / project_id
      Added value: +{
      +  "description": "Which project to act on — a projectId from volanea_list_projects. Optional when this connection reaches exactly one project; required when it reaches several (the call fails with the list of projects instead of guessing). A project API key only ever reaches its own project.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that content changes snapshot a new version and old versions are retained, which nuances the destructiveHint=true and materially affects an agent's willingness to overwrite. It also warns that the response is a summary (id, version, detectedVariables) rather than the submitted body, preventing a false read-back assumption.

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?

Front-loads the core action, then layers idempotency, versioning, and return-shape caveats in three tight sentences plus a docs pointer. Every sentence carries operational weight; nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema and full annotation coverage already present, the description supplies exactly the missing behavioral layer: overwrite semantics, version retention, and the fact that the response is not the submitted HTML. Nothing an agent needs to invoke this safely is absent.

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% and the schema itself carries rich parameter semantics, including an enum explanation for type and the idempotency-key note on name. The description reinforces the {{variable}} placeholder concept and links it to detectedVariables in the reply, but adds little parameter-level meaning not already present.

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?

States a specific verb and resource ("Create a reusable email template") and immediately qualifies it with placeholder support and name-based idempotency. An agent can distinguish this from volanea_get_template and volanea_render_template without opening any schema.

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?

Explains the create-or-update condition clearly ("an existing template with the same name is updated instead") and explicitly routes the agent to volanea_get_template when the stored body is needed. It does not explicitly exclude or compare against render/send-time tools, but the usage context is unambiguous.

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.