Skip to main content
Glama
Lettr MCP Server

Lettr MCP Server

Official
by lettr-com

Get Campaign

get-campaign

Retrieve a campaign by ID to inspect its engagement stats and preview its rendered HTML content.

Instructions

Retrieve a single campaign by its ID, including embedded engagement stats and a preview of its rendered HTML content.

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": {
      "campaignId": "<campaignId>"
    },
    "name": "get-campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaignIdYesThe campaign ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden, and it does disclose the return payload shape: embedded engagement stats and a preview of rendered HTML. That is genuinely useful because it tells the agent no separate stats call is needed and hints the response may be sizable, but nothing is said about read-only semantics, auth requirements, or behavior when the ID does not exist.

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?

One sentence, front-loaded with the core action and with the return contents appended as a qualifier. Nothing is padded and no sentence fails to earn its place.

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?

This is a simple one-parameter read tool with no output schema, so the description's summary of return contents compensates well for the missing output schema. The only real gap is the absence of failure or permission context, which matters little for a straightforward lookup.

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?

The single parameter campaignId has 100% schema description coverage, so the baseline is 3. The description's phrase "by its ID" merely restates what the schema already documents and adds no format, source, or validation meaning beyond it.

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 gives a specific verb and resource ("Retrieve a single campaign") plus the lookup key, and the word "single" implicitly separates it from list-style siblings such as list-campaign-events or get-scheduled-email. It stops short of naming any alternative tool explicitly, so differentiation is inferred rather than stated.

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: an agent can infer it should call this when it already holds a campaign ID. There is no guidance on how to obtain a campaign ID, no when-not-to-use clause, and no pointer to sibling tools for listing or scheduling campaigns.

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