Skip to main content
Glama

volanea_render_template

Read-only

Render a template with sample variables and return the resulting subject and HTML, plus any {{placeholders}} that went unsubstituted — WITHOUT sending anything or writing a row to the send log. Use this while iterating on copy; use volanea_send_test_email only when you want a real logged message to inspect with volanea_check_delivery.

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": {
      "templateId": "<templateId>"
    },
    "name": "volanea_render_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
variablesNoSample values for {{variable}} placeholders.
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.
templateIdYesThe tmpl-... id.

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
Behavior4/5

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

The annotations already declare readOnlyHint=true and destructiveHint=false, but the description adds a genuinely non-obvious side-effect guarantee — nothing is sent and no row is written to the send log — which matters because a render could plausibly log. It also previews the return payload, though it says nothing about error behavior for invalid template ids or variable type mismatches.

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?

Two sentences, no filler. The behavioral guarantee (no send, no log row) is capitalized and positioned before the routing guidance, so the most decision-relevant fact lands first.

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?

Return values are covered by an output schema, parameter scoping is covered by a 100%-covered input schema, and safety is covered by annotations. The description fills the remaining gap — the not-sending guarantee and the sibling routing — with no meaningful omission for a read-only render tool.

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 templateId, project_id, and variables are all already documented in the input schema. The description restates that variables are sample values for {{placeholders}} but adds no format, typing, or scoping detail beyond the schema — correct baseline for a fully documented schema.

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?

Names a specific verb and resource (render a template with sample variables) and states exactly what comes back: subject, HTML, and unsubstituted {{placeholders}}. It also contrasts itself with volanea_send_test_email, so an agent can distinguish it from the send-path sibling without opening a schema.

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

Usage Guidelines5/5

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

Explicit both ways: 'Use this while iterating on copy' and 'use volanea_send_test_email only when you want a real logged message to inspect with volanea_check_delivery.' The condition that selects the alternative is named, and the chained follow-up tool is identified.

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.