Skip to main content
Glama
This connector has been deprecated

Replaced by Inviomail.

Duplicate listing under a wrong namespace; the canonical listing is de.inviomail/mcp

Send newsletter test email

send_campaign_test

Sends a real external test email for every actual content variant of the saved draft newsletter to one address, without creating a contact or tracking data. The tool automatically calculates and waits for variants, creates the internal test-send identity, and sends every actual variant; the caller only supplies the campaign, its exact saved contentRevision, and the recipient address. If the user has not provided the recipient address, ask for it before calling this tool. Any valid email address is accepted and it does not need a special tag or an existing contact. Conditional content requires the tenant's conditional-content capability. Partial or unknown per-variant results are not success. Never schedules or starts a real campaign dispatch. Own contact fields are supported only in heading.text and text.html, including two-column children: {{custom.key}} or {{custom.key | default: "replacement text"}}. Read list_contact_fields first and use its permanent keys; offer active fields for new insertion. Existing archived references still resolve. Missing/blank values use the fallback or empty text. Escape fallback JSON and HTML correctly; do not split a token with inline markup. Tenant validation reports invalid syntax, unsupported locations and unknown keys. Custom field placeholders are not supported in subjects, preheaders, buttons, URLs, footers, signatures or DOI emails.

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>",
      "expectedContentRevision": "<expectedContentRevision>",
      "toEmail": "<toEmail>"
    },
    "name": "send_campaign_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
toEmailYesSingle recipient email address for this test send
campaignIdYesNewsletter campaign ID
personalizationNoOptional personalization: {mode:"contact",contactId:"tenant-contact-uuid"} uses that contact as the data source; {mode:"empty"} renders fallbacks without custom field values. Omit for literal preview tokens or, on test sends, values of an existing contact matching toEmail. The test email is always delivered to toEmail; the selected contact is not subscribed, tagged, or unsubscribed by selecting it. Find contact IDs with search_contacts or get_contact_by_email.
expectedContentRevisionYesExact contentRevision returned by get_campaign_content for the saved content to send

Output Schema

NameRequiredDescriptionDefault
okYes
subjectYes
toEmailYes
responseYes
requestIdYes
campaignIdYes
contentRevisionYes
variantWorkflowNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: a genuinely external email is sent, no contact or tracking data is created, the tool internally waits for and resolves variants, and partial or unknown per-variant results must not be treated as success. These are exactly the side-effect and interpretation details an agent needs for a non-readOnly, open-world send.

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 opening sentences are front-loaded and efficient, but the tail expands into a long block of custom-field placeholder rules ({{custom.key}}, fallback escaping, supported locations, subjects/preheaders/buttons exclusion) that belongs to content editing/validation rather than a test-send call. Roughly half the text does not help an agent decide or invoke this tool.

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?

Annotations and a full output schema are present, and the description still covers the important extras: prerequisite capability for conditional content, no-contact side effects, variant coverage, and no real dispatch. It does not mention cost/rate implications of sending multiple real emails or what a failed send leaves behind, but the core is covered.

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 coverage is 100% and the descriptions already explain campaignId, expectedContentRevision provenance, and the personalization oneOf, so the baseline is 3. The description does add real meaning for toEmail ('any valid email address ... does not need a special tag or an existing contact') and stresses that the revision must be the exact saved one, but it adds little to campaignId or personalization.

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 (sends), a specific resource (real external test email of every saved content variant), and precise scope limits (one address, no contact, no tracking). The distinction from the flow-email sibling is carried by 'saved draft newsletter' versus flow email, and from dispatch tools by 'Never schedules or starts a real campaign dispatch'.

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?

Gives an explicit precondition to satisfy before calling ('If the user has not provided the recipient address, ask for it') and a clear negative boundary ('Never schedules or starts a real campaign dispatch'). It also names when conditional content is allowed. What's missing is a direct routing statement such as 'use preview_campaign_content instead when the user only wants to see the content without a real email'.

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