Skip to main content
Glama

Perpetuus CRM

Preview Email Template

crm_preview_email_template
Read-onlyIdempotent

Renders an existing email template or inline subject/HTML against a safe sample contact without sending email. Use it before publishing content or sending a test to inspect token substitution, footer, and optional tracking markup. Requires email/campaign read permission. The preview is not a recipient-specific delivery and has no external side effect.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "crm_preview_email_template"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive, so the safety profile is covered; the description still adds real value by stating no email is sent, there is no external side effect, and email/campaign read permission is required. It does not describe what the preview response contains (rendered HTML vs. subject vs. diagnostics), which is the remaining behavior gap.

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: capability first, usage second, constraints third. Every clause carries information and nothing is repeated from the title.

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?

There is no output schema, so the description should clarify what a preview returns; it only hints at inspection targets (token substitution, footer, tracking markup). Combined with the unaddressed gap that no template/inline inputs exist in the schema, an agent could get stuck deciding how to invoke it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema declares zero parameters, yet the description talks about rendering 'an existing email template or inline subject/HTML', implying a template identifier and inline content inputs that the schema does not accept. That mismatch is actively misleading rather than merely uninformative, which outweighs the usual 0-param baseline of 4.

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

Purpose4/5

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

Uses a specific verb ('renders') on a specific resource (an email template or inline subject/HTML) and explicitly negates the sending behavior, which separates it from delivery tools. It does not name a sibling (e.g. crm_get_email_template) to draw the read-vs-render line, so it stops short of 5.

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?

Gives clear when-to-use context: run it before publishing content or sending a test to check token substitution, footer, and tracking markup. It offers no explicit when-not or named alternative, so the agent must infer that crm_get_email_template is the raw-fetch counterpart.

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.