Skip to main content
Glama

List email template versions

lnkdrp_list_email_template_versions
Read-onlyIdempotent

Lists the versions of an email template, newest first: each version's number, the fields it changed, who saved it and the agent that acted for them, how (web, api, mcp, restore, draft, or backfill for version 1 of a template made before versions) and when, and restoredFromVersion for a restore. No subject or body. Every change to a template is a new version, and versions are kept as long as the template. Each version after 1 has compareUrl, the app's history page opened on the version before it and this one. currentVersion is the template's version now; sentCount counts the emails made from it that were sent. before pages back (versions below it); limit is 1-100 (default 25). With compare: { from, to }, the result also has what changed from version from to version to (to defaults to the current version): fieldChanges (name, description, format, align, subject, and tags added, removed or changed) and readText, the subject and body as a reader sees them with [-removed-] and {+added+} markers, plus changeKind, htmlChanged, sourceLines, summary and appUrl as lnkdrp_compare_email_template_versions returns them. A template that is not in this workspace, or is deleted, is not_found.

Input Schema

NameRequiredDescriptionDefault
limitNoHow many versions (1-100, default 25).
beforeNoOnly versions below this number (the next page).
compareNoTwo versions to compare.
templateIdYesEmail template id (24 hex chars), from lnkdrp_list_email_templates.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the read-only, idempotent, non-destructive profile, so the description's job is supplementary. It does add real behavioral context: no subject/body returned, versions preserved as long as the template, currentVersion/sentCount semantics, and not_found for deleted or cross-workspace templates. Return format is described but not exhaustively (e.g., exact JSON shape).

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

Conciseness4/5

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

Front-loaded with the core purpose, and the sentences are dense but mostly information-bearing. However, it reads as a dense run-on with multiple parenthetical asides (the version-1 backfill note, the marker notation), making it harder to scan than a structurally broken-up version would be.

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 and a nested compare object, the description compensates fully by enumerating returned fields, pagination behavior, compare outputs, version retention, and the not_found case. Nothing critical an agent needs to invoke this correctly is missing.

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 baseline is 3, but the description adds genuine meaning beyond the schema: it explains that 'before' pages back through lower version numbers, and expands the nested compare object into the resulting fieldChanges and readText diff behavior with '[-removed-]'/'{+added-}' markers. This is more than the schema's terse field descriptions.

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 ('Lists the versions of an email template, newest first') and immediately distinguishes itself from the template-list tool by describing per-version history fields. An agent can tell it apart from lnkdrp_list_email_templates and lnkdrp_get_email_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?

The description explains how to page ('before pages back', 'limit is 1-100') and gives a clear condition for the compare option ('With compare: { from, to }, the result also has what changed'). It references lnkdrp_compare_email_template_versions but doesn't explicitly state when to prefer that standalone tool over this listing.

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