Skip to main content
Glama

create_brevo_email_campaign

Destructive

Create a Brevo email campaign as a DRAFT (POST /emailCampaigns) — it is not sent. Required: name, subject, sender ({ name, email } or { id }), and htmlContent, htmlUrl or templateId. Optional: recipients ({ listIds, exclusionListIds, segmentIds }), replyTo, previewText, scheduledAt (ISO; schedules the send!), tag, params, inlineImageActivation, utmCampaign.

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": {
      "name": "<name>",
      "subject": "<subject>",
      "sender": "<sender>"
    },
    "name": "create_brevo_email_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNoTag for grouping the campaign in Brevo
nameYesName of the Brevo email campaign
paramsNoTemplate parameters used in the campaign content
senderYesSender as { name, email } or { id } of a Brevo sender
htmlUrlNoURL from which Brevo loads the HTML body
replyToNoReply-to email address
subjectYesSubject line
recipientsNoTarget audience: { listIds, exclusionListIds, segmentIds }
templateIdNoBrevo template ID used as the campaign content
htmlContentNoHTML body of the campaign (or use htmlUrl or templateId)
previewTextNoPreview text shown next to the subject in the inbox
scheduledAtNoISO timestamp; setting it schedules the actual send
utmCampaignNoValue for the utm_campaign parameter appended to links

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changed
    • addedInput schema / properties / htmlContent / description
      Added value: +"HTML body of the campaign (or use htmlUrl or templateId)"
    • addedInput schema / properties / htmlUrl / description
      Added value: +"URL from which Brevo loads the HTML body"
    • addedInput schema / properties / name / description
      Added value: +"Name of the Brevo email campaign"
    • addedInput schema / properties / params / description
      Added value: +"Template parameters used in the campaign content"
    • addedInput schema / properties / previewText / description
      Added value: +"Preview text shown next to the subject in the inbox"
    • addedInput schema / properties / recipients / description
      Added value: +"Target audience: { listIds, exclusionListIds, segmentIds }"
    • addedInput schema / properties / replyTo / description
      Added value: +"Reply-to email address"
    • addedInput schema / properties / scheduledAt / description
      Added value: +"ISO timestamp; setting it schedules the actual send"
    • addedInput schema / properties / sender / description
      Added value: +"Sender as { name, email } or { id } of a Brevo sender"
    • addedInput schema / properties / subject / description
      Added value: +"Subject line"
    • addedInput schema / properties / tag / description
      Added value: +"Tag for grouping the campaign in Brevo"
    • addedInput schema / properties / templateId / description
      Added value: +"Brevo template ID used as the campaign content"
    • addedInput schema / properties / utmCampaign / description
      Added value: +"Value for the utm_campaign parameter appended to links"
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=true, openWorld=true, idempotent=false, so the safety profile is covered. The description adds genuinely new behavior: the campaign is created in draft state and is not dispatched, and setting scheduledAt actually schedules a send — a non-obvious side effect that matters for a creation call. It does not say what is returned (e.g., the new campaign id) or how duplicate names are handled.

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 draft/not-sent constraint and endpoint are front-loaded, followed by a compact required-then-optional enumeration — no filler sentences. The dense comma-separated optional list is slightly harder to scan than bulleted structure would be, but every item carries information.

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 13-parameter, nested-object mutation with no output schema, the definition covers the essentials: required vs optional split, the content one-of, sender shapes, and the scheduling side effect. The remaining gap is return behavior — with no output schema, the description should indicate what the created campaign yields (an id, a status) so the agent knows what it can chain into.

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 per-field meanings are already documented and baseline would be 3. The description adds real value by grouping the content parameters into a one-of (htmlContent, htmlUrl or templateId), restating the sender's two accepted shapes, and flagging that scheduledAt triggers the send. It omits a couple of listed optionals such as replyTo/previewText details, but those are already covered by the schema.

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 ('Create a Brevo email campaign') plus the concrete endpoint (POST /emailCampaigns), and immediately disambiguates from the send-now siblings by declaring the result is a DRAFT that 'is not sent'. An agent can distinguish this from send_brevo_email_campaign_now without opening either 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?

The 'as a DRAFT … it is not sent' framing effectively defines when to use this tool versus the send-now alternative, and the note that scheduledAt schedules the actual send warns when this tool crosses into sending territory. It does not explicitly name the sibling tools to use instead, so it falls short of a full when/when-not routing statement.

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.