Skip to main content
Glama
Ecomail MCP Server

Ecomail MCP Server

Official
by Ecomailcz

List Campaigns

list-campaigns

Retrieve and filter email marketing campaigns by status, title, subject, date, or ID, with pagination to browse and locate specific sends.

Instructions

List all campaigns with pagination and filtering.

Status codes: 0=Draft, 1=Preparing, 2=Sending, 3=Sent, 4=Errored, 7=Scheduled.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list-campaigns"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoFilter by campaign ID
toNoFilter to date (YYYY-MM-DD)
fromNoFilter from date (YYYY-MM-DD)
titleNoFilter by campaign title
statusNoFilter by status code
subjectNoFilter by subject
updatedNoFilter by updated date (YYYY-MM-DD)
per_pageNoItems per page

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 behavioral burden: it discloses that results are paginated and filterable, which is real information. It omits default and maximum page size, sort order, what the response array contains, and whether any authentication or scope is required, leaving meaningful gaps for a read tool with no annotation coverage.

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?

Two sentences with zero filler: the core action is front-loaded and the status legend is isolated in a clearly labelled block. The bold heading markup is slightly noisy but aids scanning rather than padding the text.

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 an eight-parameter, zero-required, no-output-schema tool with no annotations, the description covers the essentials but leaves a notable inconsistency unaddressed: it advertises pagination while the schema exposes only per_page with no page or offset parameter, so an agent cannot tell how to advance pages. Return shape and default ordering are also unstated.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, and the description earns an increment by supplying the status-code legend (0=Draft through 7=Scheduled) that the schema's status property lacks — it declares no enum. The date-format and filtering semantics remain entirely in the schema, so it does not exceed a 4.

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 opens with a specific verb and resource ("List all campaigns") and states the two operational modes, pagination and filtering. It is clearly a collection-enumeration tool, though it never names the single-record sibling get-campaign to sharpen the distinction.

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?

Usage is implied by the words "List all," which signals bulk retrieval rather than fetching one campaign. However, there is no explicit statement of when to prefer this over get-campaign or get-campaign-stats, and no exclusions or prerequisites are given.

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