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 or schedule confirmed newsletter

commit_campaign_dispatch
DestructiveIdempotent

Starts a REAL external newsletter send or schedules it for the exact time bound in the confirmation token. Scheduled sends use the saved audience targeting and rebuild recipients at send time; the prepared count is a preview. Requires explicitly enabled campaigns.dispatch. Call only after prepare_campaign_dispatch returned ready:true, you presented its full summary including all tag, newsletter-click and newsletter-opening filters and their independent include/exclude any/all rules, and the user explicitly approved sending that exact newsletter to that audience now or at the exact scheduled time shown in the summary. Never replace an elapsed scheduled time with immediate dispatch; prepare a new future time and obtain renewed approval. A test-send approval or a general request to edit a newsletter is insufficient. Use the unchanged confirmationToken and matching idempotencyKey. The backend checks tenant/access binding, expiry, current draft/content revisions, sender, the complete saved target (tags, clicks and opens), and recipient preparation under lock. Any changed click or opening filter requires fresh preparation and renewed approval. Conflicts require reading current state, fresh preparation and renewed user approval. Retry an uncertain request only with the identical token/key; idempotentReplay means no second send or schedule was created. queuedCount is queued work, not proof of delivery; warmup and sending limits still apply. Inspect get_campaign_details for progress. Never claim all recipients already received the newsletter.

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": {
      "confirmationToken": "<confirmationToken>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "commit_campaign_dispatch"
  }
}

Input Schema

NameRequiredDescriptionDefault
idempotencyKeyYesUnique operation key; generate once for preparation and reuse unchanged for commit and retries. Use a new key after preparing a changed operation.
confirmationTokenYesUnmodified short-lived confirmationToken returned by the matching prepare tool after showing the summary and receiving explicit user approval

Output Schema

NameRequiredDescriptionDefault
okYes
modeYes
requestIdYes
campaignIdYes
queuedCountYes
scheduledAtNo
outboundIpIdYes
scheduledCountNo
idempotentReplayYes
dailyEffectiveLimitYes
remainingAfterDispatchYes
availableBeforeDispatchYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and idempotentHint=true, but the description goes well beyond them: it enumerates what the backend re-validates under lock (tenant binding, expiry, revisions, sender, complete saved target), explains idempotentReplay semantics, and warns that queuedCount is not proof of delivery and that warmup/sending limits still apply.

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?

It is front-loaded with the core action and the highest-risk constraints come early, and nearly every sentence carries an operational rule rather than filler. It is nonetheless a single dense block that would scan better with separated precondition/conflict/retry groupings.

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?

For a destructive, open-world, idempotent commit tool, the description covers preconditions, failure/conflict paths, retry safety, and even points to get_campaign_details for progress. An output schema exists, yet it still clarifies the meaning of the key output fields (idempotentReplay, queuedCount) without redundantly describing the shape.

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 both parameters already carry their own descriptions, so the schema does the heavy lifting. The description reinforces the critical constraint — 'Use the unchanged confirmationToken and matching idempotencyKey' — and the retry rule, but adds little format or semantic detail beyond what the schema states.

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 opening sentence names a specific verb and resource — 'Starts a REAL external newsletter send or schedules it' — and immediately distinguishes the two modes (immediate dispatch vs. scheduled at the token-bound time). It is clearly separable from the sibling prepare_campaign_dispatch, which only prepares.

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

Usage Guidelines5/5

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

Gives explicit preconditions ('Call only after prepare_campaign_dispatch returned ready:true'), required user-approval steps, and exclusions ('A test-send approval or a general request to edit a newsletter is insufficient'). It also handles edge cases: never substitute an elapsed scheduled time with immediate dispatch, and conflicts require fresh preparation plus renewed approval.

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