Skip to main content
Glama
Ecomail MCP Server

Ecomail MCP Server

Official
by Ecomailcz

Update Campaign

update-campaign

Modify existing draft email campaigns by editing titles, subject lines, sender details, HTML content, or recipient lists before sending; only draft campaigns can be updated.

Instructions

Update an existing campaign. Only draft campaigns can be updated.

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": "update-campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoCampaign title
subjectNoSubject line
reply_toNoReply-to email
from_nameNoSender's name
html_textNoHTML content
from_emailNoSender's email
campaign_idYesCampaign ID
recepient_listsNoArray of list IDs

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/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 disclosure burden, and it does add one valuable constraint the schema does not express: the draft-only restriction. It does not say what happens when the constraint is violated, whether omitted optional fields are left untouched or cleared, or what permissions are needed for a mutation on 8 parameters.

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?

Two sentences, no filler, and the capability statement is front-loaded ahead of the precondition. Nothing in it is redundant with the name or title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with 8 parameters, no annotations and no output schema, the definition covers purpose and the draft-only precondition but leaves the update semantics (partial vs. full replacement) and failure behavior unexplained. An agent could call it, but not confidently predict the result of omitting fields.

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 description coverage is 100% and every property (title, subject, reply_to, from_name, html_text, from_email, campaign_id, recepient_lists) is documented in the schema, so the baseline applies. The description adds no meaning about which fields are patchable or how partial updates behave.

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 ("Update an existing campaign"), which cleanly separates it from create-campaign, get-campaign, send-campaign and the update-* siblings for other resources. It stops short of explicitly naming an alternative, but the resource-based distinction is self-evident from the name and text.

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?

The sentence "Only draft campaigns can be updated" is a real gating condition that tells the agent when the tool is applicable. However, there is no guidance on the counterpart flow (e.g., use create-campaign for new ones, or what to do when a campaign is already sending), leaving the agent to infer the alternatives.

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