Skip to main content
Glama

Compare email template versions

lnkdrp_compare_email_template_versions
Read-onlyIdempotent

What changed between two versions of an email template, in either direction (from 6 to 3 is the older text against the newer). Returns fieldChanges (name, description, format, align, subject, and tags and documents added, removed or changed); readText, the subject and each changed paragraph as a reader sees them with [-removed-] and {+added+} markers, one per line, at most 4,000 characters (readTextTruncated and readTextLinesLeftOut when lines were left out; appUrl shows them all); changeKind: words (the subject or body reads differently; a paragraph break added or removed alone is not a word change), layout (the words read the same and the body as written differs: spacing, line breaks, paragraph breaks, images or styling), fields (only the details above changed) or none (the two versions are the same); wordsChanged, bodyWordsChanged and htmlChanged; sourceLines { added, removed }, the body's source lines that differ; summary, one sentence; deletedImages when an image in either version was deleted; and appUrl, the template's history page in LinkDrop opened on this comparison (side by side, as read and as source), the history page with no comparison open when from and to are the same version. to defaults to the current version. No AI and no credits. A template that is not in this workspace, or is deleted, is not_found; a version the template does not have is not_found with details.code version_not_found.

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>",
      "from": "<from>"
    },
    "name": "lnkdrp_compare_email_template_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoThe version compared to; the current version when left out.
fromYesThe version compared from.
templateIdYesEmail template id (24 hex chars), from lnkdrp_list_email_templates.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description nevertheless adds real value beyond annotations: not_found semantics for foreign/deleted templates, version_not_found with details.code, truncation behavior for readText, and 'No AI and no credits'. That is solid but mostly error/edge-case detail rather than exhaustive behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is largely purposeful given there is no output schema, but it is delivered as one enormous run-on paragraph with deeply nested parentheses, so field meanings and the changeKind enumeration are hard to scan. Front-loading the purpose is done well; the return-value enumeration is not structured into anything parseable.

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?

With no output schema, the description carries the burden of explaining return values and does so thoroughly, including changeKind semantics, truncation flags, and appUrl behavior including the same-version case. Error cases are covered too, leaving only minor gaps such as the cost/latency profile of a comparison.

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%, so all three parameters are documented in the schema. The description still adds meaning the schema lacks: the directional interpretation ('from 6 to 3 is the older text against the newer') and the default for 'to'. Baseline would be 3; the added direction semantics justify a 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?

States a specific verb and resource ('What changed between two versions of an email template') and clarifies the direction semantics of the comparison, which distinguishes it from read-only getters like get_email_template. It does not, however, name sibling tools such as list_email_template_versions as the source of version numbers, so routing relies on inference.

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?

Usage is only implied: you compare two versions of a template and 'to' defaults to the current version. There is no explicit statement of when to prefer this over get_email_template, preview_email_template, or list_email_template_versions, and no prerequisites beyond the templateId provenance hint.

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.

Resources