Skip to main content
Glama
Ecomail MCP Server

Ecomail MCP Server

Official
by Ecomailcz

Send Campaign

send-campaign

Queues a draft email campaign for immediate sending; only draft campaigns can be sent, and the action is irreversible, so confirm with the user first.

Instructions

Put a campaign in the sending queue immediately. This action is IRREVERSIBLE. Only draft campaigns can be sent. You MUST confirm with the user before sending.

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": {
      "campaign_id": "<campaign_id>"
    },
    "name": "send-campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaign_idYesCampaign ID to send

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses irreversibility, that the campaign is queued rather than delivered synchronously, and that only drafts are eligible. It omits permission/auth requirements and error behavior for invalid or non-draft IDs, which are the remaining gaps.

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?

Four short sentences, front-loaded with the action, then the risk, then the precondition, then the confirmation rule. Every sentence carries distinct, decision-relevant information with no filler.

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?

For a one-parameter mutation with no annotations and no output schema, the description covers the essential risks: irreversibility, draft-only eligibility, and mandatory confirmation. A note on what is returned (e.g. queued status) or on failure modes would make it fully complete.

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 single parameter is already documented as 'Campaign ID to send', so the description adds only the indirect constraint that the referenced campaign must be in draft state. No guidance on where to obtain the ID or how invalid IDs behave.

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 and resource — putting a campaign into the sending queue — and adds the precondition that only draft campaigns qualify, which distinguishes it from create-campaign/update-campaign at a glance. An agent can identify the operation without opening the schema.

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?

Explicitly scopes usage to draft campaigns and mandates user confirmation before invocation, which is clear when-to-use guidance. It does not name an alternative tool or state what to do if the campaign is already sent/scheduled, but the preconditions cover the main selection decision.

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