Skip to main content
Glama
Lettr MCP Server

Lettr MCP Server

Official
by lettr-com

Get Template

get-template

Retrieve a template's full details by slug, including active version HTML/JSON content and version count, to inspect or reuse its current content.

Instructions

Retrieve full details of a template by its slug, including active version HTML/JSON content and version count.

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": {
      "slug": "<slug>"
    },
    "name": "get-template"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesThe template slug (URL-friendly identifier)
project_idNoProject ID to find the template in. If not provided, uses the team's default project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden; it does disclose the shape of what comes back (active version HTML/JSON plus a version count), which is real added value. It says nothing about behavior when the slug is unknown, whether inactive versions are ever returned, or any permission/auth requirements for reading a template.

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?

A single front-loaded sentence with no filler: the lookup key comes first and the returned content follows. Nothing is wasted, though the return-value clause arguably belongs in an output schema that does not exist.

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?

With no output schema and no annotations, the description must cover the return payload itself, and it does so only at a high level (HTML/JSON content and a count) without describing structure. It is adequate for a simple two-parameter read but leaves the agent without error or permission context.

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 description coverage is 100% and both parameters are documented inline, including the project_id fallback to the team's default project, so the schema does the heavy lifting. The description adds only that lookup is keyed by slug, matching what the schema already says.

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?

The description pairs a specific verb ('Retrieve') with a specific resource ('a template by its slug') and enumerates what detail is returned (active version HTML/JSON content, version count). This distinguishes it implicitly from get-template-html, which by name would return only the HTML, though the sibling is not named explicitly.

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

Usage Guidelines2/5

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

There is no guidance on when to reach for this tool versus get-template-html or get-template-html-adjacent siblings, and no stated prerequisites or exclusions. The only usage hint is implicit in 'full details', which the agent must infer means a heavier payload than the HTML-only variant.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.