Skip to main content
Glama

preview_campaign_sequence_tool

Destructive

Preview how a campaign's sequence step renders for sample prospects on its lists (variables filled in). The previews are only returned: it sends nothing, stores no messages, changes no campaign, contact or list, and charges no credits, with one exception: when it previews an AI-written step and the campaign's owner has no writing style yet, it first creates that owner's default writing style with style learning switched on, and a daily job then keeps adding and replacing that style's rules, which every later AI-written campaign message and reply follows. To write the preview it may look up the sample prospects' company websites and public LinkedIn posts and search the web. sequenceNumber is the step's sequenceNumber from get_campaign_sequence_steps_tool; samples is how many prospects to preview (1-10, default 3). Optional sequenceStepType renders the step as ai_generated (an AI-written message), ai_reply (an AI-written reply) or manual (the step's saved template with variables filled in) instead of its saved type; the saved step is not changed. Optional fromEmail, for email steps: the address of one of the user's connected mailboxes whose saved sender name, title and signature fill the preview's sender variables; nothing is sent from it. Useful to show the user the copy before activating; AI-written steps are written afresh for each contact when their message is queued, so the sent wording will differ.

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>",
      "sequenceNumber": "<sequenceNumber>"
    },
    "name": "preview_campaign_sequence_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
samplesNo
fromEmailNo
campaignIdYes
sequenceNumberYes
sequenceStepTypeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

The description discloses substantial behavior beyond the annotations: no messages stored, no campaign/contact/list changes, no credits charged, external lookups of company websites and public LinkedIn posts, and web search. It also clearly discloses the important exception that previewing an AI-written step may create the owner's default writing style with style learning enabled, and that later AI messages follow that style. This aligns with readOnlyHint=false and destructiveHint=true rather than contradicting them.

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?

The purpose is front-loaded and most sentences add necessary caution about side effects and parameter meaning. The AI writing-style exception is long and clause-heavy, making the description somewhat dense, but it is not padded with irrelevant material.

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?

Given the tool's complexity, external lookups, AI-writing side effect, and lack of an output schema, the description covers the critical behavioral and parameter context an agent needs. It explains what is returned conceptually, what is not changed, the one meaningful mutation, and why sent AI wording may differ from the preview.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full parameter burden and does so well. It explains sequenceNumber's source, samples range and default, the sequenceStepType enum meanings including that the saved step is unchanged, and fromEmail as a connected mailbox whose saved sender details fill preview variables without sending. campaignId is not explicitly described, but its meaning is evident from the campaign context.

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 states a specific verb and resource: preview how a campaign sequence step renders for sample prospects on its lists with variables filled in. It clearly distinguishes the tool from send/test or mutation siblings by emphasizing that it only returns previews and sends nothing, while also naming the related get_campaign_sequence_steps_tool for the sequenceNumber source.

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?

It gives clear usage context: useful to show the user the copy before activating. It also implies when not to use it by saying it sends nothing, but it does not explicitly name an alternative such as send_test_sequence_email_tool for actually sending a test.

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