Skip to main content
Glama

My email campaigns

email_campaigns

The workspace's email campaigns - one message to a list of people (Email Connections). action list: every campaign. get: one with its recipient tally. create: draft a campaign; it is saved as a DRAFT and nothing is sent until the workspace owner approves it in the Email console. status: how a campaign is doing (sent, delivered, opened, clicked, bounced, unsubscribed). An A/B test is part of a campaign: pass variants (two or more versions of the subject or body) and abTest on create.

Input Schema

NameRequiredDescriptionDefault
fromNocreate: the sender, on a domain this workspace has connected and verified.
htmlNocreate: the HTML body. May use {{tags}}.
nameNocreate: an internal name, e.g. 'September newsletter'.
textNocreate: the plain-text body. May use {{tags}}.
abTestNocreate, with variants: testPercent (1-50, default 20), metric (clicks, replies, opens or manual) and waitHours (1-72, default 24).
actionYesWhat to do with campaigns: list, get, create or status.
listIdNocreate: send to a list from the contact book.
personNoLinked person to run this call as (first name). Omit to run as the connection's holder.
projectNoWorkspace to run this call in (id or name).
replyToNocreate: where replies should go, when that is not the sender.
subjectNocreate: the subject line. May use {{tags}}.
variantsNocreate: the A/B versions, each a {subject, html, text} object.
segmentIdNocreate: send to a saved segment.
campaignIdNoget and status: the campaign.
postalAddressNocreate: the postal address printed in every footer (bulk-mail law).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

The description adds critical behavior beyond annotations: create saves as a DRAFT and nothing is sent until workspace owner approval in the Email console, and it explains the A/B test structure. The annotations already state readOnlyHint=false and destructiveHint=false, and the description is consistent with them while providing valuable workflow context.

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?

The description is front-loaded with the core definition and then organizes the action-specific behavior compactly. It is appropriately sized for a multi-action tool and avoids wasted sentences, though it could be slightly tighter.

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?

Given 15 parameters, nested objects, and no output schema, the description covers the key action semantics, the draft approval workflow, status metrics, and A/B testing. It does not describe return formats for list/get/status beyond brief mentions, but is otherwise complete enough to call the tool correctly.

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%, so the schema already documents all 15 parameters thoroughly. The description adds some relational context around variants and abTest, but this mostly repeats or lightly elaborates on what the schema already provides.

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 clearly defines the resource (email campaigns) and enumerates the four supported actions, making the tool's scope understandable. It does not explicitly name or differentiate from sibling tools like email_send or email_drafts, but the core purpose is unambiguous.

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 description implies when each action applies and notes that create produces a DRAFT requiring owner approval, which is useful context. However, it provides no explicit guidance on when to use this tool versus alternatives such as email_send, email_drafts, or email_templates.

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