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), absent 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.

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

A4.5/5.0
Behavior5/5

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

Annotations already cover the read-only, idempotent, non-destructive, closed-world profile, and the description adds substantial behavioral detail beyond them: truncation limits, readTextTruncated/readTextLinesLeftOut, appUrl, changeKind semantics, and specific not_found cases. This is exactly the kind of context an agent needs to interpret results and handle errors correctly.

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 purpose is front-loaded, but the description is a single dense run-on paragraph with semicolon-separated return-field explanations. Most details are relevant given the absence of an output schema, but the structure is hard to scan and could be more concise.

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 no output schema, the description carries the full burden of explaining return values, and it does so thoroughly: fieldChanges, readText, changeKind variants, word/body/html change flags, sourceLines, summary, deletedImages, appUrl, and error behavior. An agent has enough information to invoke and interpret the tool correctly.

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 the baseline is 3, but the description adds meaningful directionality: 'from 6 to 3 is the older text against the newer' and 'to defaults to the current version.' That interpretation goes beyond the parameter descriptions, though templateId is only referenced via its source list and not further clarified.

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 opens with a specific verb and resource: 'What changed between two versions of an email template.' It immediately explains the directional comparison semantics, so an agent can distinguish this from siblings like list_email_template_versions or get_email_template.

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?

The context for use is clear: compare a `from` version against a `to` version, with `to` defaulting to the current version. It also documents not_found behavior for missing templates/versions. It stops short of explicitly naming alternatives such as list_email_template_versions for discovering version numbers, so it is not a full when/when-not/alternatives statement.

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