Skip to main content
Glama

Space Monkey Mailchimp Dashboard

Get campaign report

sm_get_campaign
Read-onlyIdempotent

Load one campaign's full report — delivery, open, click, click-to-open and bounce rates plus campaign metadata. Use after you have identified a campaign of interest. Returns a fixed-size set of campaign-level aggregates in one call regardless of audience size; per-variant, funnel and geography breakdowns are on sm_get_variate, not here.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdYesRequired. The opaque alphanumeric project identifier of 8 or more characters to scope this request to. Call GET /_api/public/v1/enterprise/projects to list the project IDs available to your API key. Omitting it returns 400 VALIDATION_ERROR.
campaignIdYesThe opaque string identifier for the campaign as assigned by Mailchimp. List campaigns to obtain this ID. If the ID is invalid or does not exist in the project, the endpoint will return a 404 error.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNoA machine-readable identifier for the error type. For the full code taxonomy, see the sm_get_schema tool or the Enterprise API OpenAPI ErrorResponse component.
errorNoA human-readable error message detailing what went wrong.
reportNoComprehensive details for a single campaign. May be null.
projectIdNoAn opaque alphanumeric project identifier of 8 or more characters identifying a Space Monkey Project. Treat this value as entirely opaque; do not parse, sequentialize, or auto-generate it.
performanceNoDetailed performance for individual campaigns. May be null.
campaignMetaNoMetadata for a campaign, including raw stringified JSON variate settings. May be null.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed39 schema fields changed
    • changedOutput schema / description
      Previous value: -"Output for the sm_get_campaign tool. Failure payloads arrive in the same envelope as { error, message, code }."New value: +"Output for the sm_get_campaign tool. Failure payloads arrive in the same envelope as { error, code }."
    • addedOutput schema / properties / campaignMeta / properties / campaignType / description
      Added value: +"Mailchimp campaign type, or null when unknown."
    • addedOutput schema / properties / performance / properties / bounceRate / description
      Added value: +"Bounces divided by emails sent, as a percentage from 0 to 100."
    • addedOutput schema / properties / performance / properties / campaignId / description
      Added value: +"Campaign identifier."
    • addedOutput schema / properties / performance / properties / clickRate / description
      Added value: +"Unique clicks divided by delivered, as a percentage from 0 to 100."
    • addedOutput schema / properties / performance / properties / clickToOpenRate / description
      Added value: +"Unique clicks divided by unique opens, as a percentage from 0 to 100."
    • addedOutput schema / properties / performance / properties / clicksTotal / description
      Added value: +"Total click events, counting repeat clicks."
    • addedOutput schema / properties / performance / properties / deliveries / description
      Added value: +"Number of emails accepted for delivery by the receiving mail system."
    • addedOutput schema / properties / performance / properties / deliveryRate / description
      Added value: +"Delivered divided by emails sent, as a percentage from 0 to 100."
    • addedOutput schema / properties / performance / properties / emailsSent / description
      Added value: +"Emails the campaign sent."
    • addedOutput schema / properties / performance / properties / openRate / description
      Added value: +"Unique opens divided by delivered, as a percentage from 0 to 100."
    • addedOutput schema / properties / performance / properties / opensTotal / description
      Added value: +"Total open events, counting repeat opens by the same member."
    • addedOutput schema / properties / performance / properties / subjectLine / description
      Added value: +"Campaign subject line."
    • addedOutput schema / properties / performance / properties / totalBounces / description
      Added value: +"Hard plus soft bounces for the campaign."
    • addedOutput schema / properties / performance / properties / uniqueClicks / description
      Added value: +"Number of distinct members who clicked at least once."
    • addedOutput schema / properties / performance / properties / uniqueOpens / description
      Added value: +"Number of distinct members who opened at least once."
    • addedOutput schema / properties / performance / properties / unsubscribeRate / description
      Added value: +"Unsubscribes divided by delivered, as a percentage from 0 to 100."
    • addedOutput schema / properties / performance / properties / unsubscribed / description
      Added value: +"Unsubscribes for the campaign."
    • addedOutput schema / properties / report / properties / abuseReports / description
      Added value: +"Number of recipients who reported the campaign as spam."
    • addedOutput schema / properties / report / properties / bounceRate / description
      Added value: +"Bounces divided by emails sent, as a percentage from 0 to 100."
    • addedOutput schema / properties / report / properties / campaignId / description
      Added value: +"Stable identifier for a Mailchimp campaign. Use it to join rows across tools or drill into sm_get_campaign."
    • addedOutput schema / properties / report / properties / campaignType / description
      Added value: +"Mailchimp campaign type."
    • addedOutput schema / properties / report / properties / clickRate / description
      Added value: +"Unique clicks divided by delivered, as a percentage from 0 to 100."
    • addedOutput schema / properties / report / properties / clickToOpenRate / description
      Added value: +"Unique clicks divided by unique opens, as a percentage from 0 to 100."
    • addedOutput schema / properties / report / properties / delivered / description
      Added value: +"Number of emails accepted for delivery by the receiving mail system."
    • addedOutput schema / properties / report / properties / deliveryRate / description
      Added value: +"Delivered divided by emails sent, as a percentage from 0 to 100."
    • addedOutput schema / properties / report / properties / emailsSent / description
      Added value: +"Number of emails the campaign attempted to send to recipients."
    • addedOutput schema / properties / report / properties / forwardsCount / description
      Added value: +"Number of forward events. Forwards are not a working metric and must never be used to rank, recommend, or brief."
    • addedOutput schema / properties / report / properties / hardBounces / description
      Added value: +"Emails rejected for permanent reasons such as an invalid address. Not retried."
    • addedOutput schema / properties / report / properties / listName / description
      Added value: +"Audience the campaign was sent to."
    • addedOutput schema / properties / report / properties / openRate / description
      Added value: +"Unique opens divided by delivered, as a percentage from 0 to 100."
    • addedOutput schema / properties / report / properties / previewText / description
      Added value: +"Preview text for the campaign."
    • addedOutput schema / properties / report / properties / softBounces / description
      Added value: +"Emails rejected for temporary reasons. Mailchimp may retry delivery."
    • addedOutput schema / properties / report / properties / subjectLine / description
      Added value: +"The campaign subject line as sent."
    • addedOutput schema / properties / report / properties / totalClicks / description
      Added value: +"Total click events, counting repeat clicks."
    • addedOutput schema / properties / report / properties / totalOpens / description
      Added value: +"Total open events, counting repeat opens by the same member."
    • addedOutput schema / properties / report / properties / uniqueClicks / description
      Added value: +"Number of distinct members who clicked at least once."
    • addedOutput schema / properties / report / properties / uniqueOpens / description
      Added value: +"Number of distinct members who opened at least once."
    • addedOutput schema / properties / report / properties / unsubscribes / description
      Added value: +"Number of unsubscribe events for the campaign."
  2. Changed3 schema fields changed
    • addedInput schema / properties / campaignId / description
      Added value: +"The opaque string identifier for the campaign as assigned by Mailchimp. List campaigns to obtain this ID. If the ID is invalid or does not exist in the project, the endpoint will return a 404 error."
    • addedInput schema / properties / projectId / description
      Added value: +"Required. The opaque alphanumeric project identifier of 8 or more characters to scope this request to. Call GET /_api/public/v1/enterprise/projects to list the project IDs available to your API key. Omitting it returns 400 VALIDATION_ERROR."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "Output for the sm_get_campaign tool. Failure payloads arrive in the same envelope as { error, message, code }.",
      +  "properties": {
      +    "campaignMeta": {
      +      "additionalProperties": true,
      +      "description": "Metadata for a campaign, including raw stringified JSON variate settings. May be null.",
      +      "properties": {
      +        "campaignType": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "variateSettings": {
      +          "description": "Raw JSON string passed verbatim",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "code": {
      +      "description": "A machine-readable identifier for the error type. For the full code taxonomy, see the sm_get_schema tool or the Enterprise API OpenAPI ErrorResponse component.",
      +      "type": "string"
      +    },
      +    "error": {
      +      "description": "A human-readable error message detailing what went wrong.",
      +      "type": "string"
      +    },
      +    "performance": {
      +      "additionalProperties": true,
      +      "description": "Detailed performance for individual campaigns. May be null.",
      +      "properties": {
      +        "bounceRate": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "campaignId": {
      +          "type": "string"
      +        },
      +        "clickRate": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "clickToOpenRate": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "clicksTotal": {
      +          "type": "integer"
      +        },
      +        "deliveries": {
      +          "type": "integer"
      +        },
      +        "deliveryRate": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "emailsSent": {
      +          "type": "integer"
      +        },
      +        "openRate": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "opensTotal": {
      +          "type": "integer"
      +        },
      +        "sendTime": {
      +          "description": "ISO 8601 UTC timestamp.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "subjectLine": {
      +          "type": "string"
      +        },
      +        "totalBounces": {
      +          "type": "integer"
      +        },
      +        "uniqueClicks": {
      +          "type": "integer"
      +        },
      +        "uniqueOpens": {
      +          "type": "integer"
      +        },
      +        "unsubscribeRate": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "unsubscribed": {
      +          "type": "integer"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "projectId": {
      +      "description": "An opaque alphanumeric project identifier of 8 or more characters identifying a Space Monkey Project. Treat this value as entirely opaque; do not parse, sequentialize, or auto-generate it.",
      +      "type": "string"
      +    },
      +    "report": {
      +      "additionalProperties": true,
      +      "description": "Comprehensive details for a single campaign. May be null.",
      +      "properties": {
      +        "abuseReports": {
      +          "type": "integer"
      +        },
      +        "bounceRate": {
      +          "type": "number"
      +        },
      +        "campaignId": {
      +          "type": "string"
      +        },
      +        "campaignType": {
      +          "type": "string"
      +        },
      +        "clickRate": {
      +          "type": "number"
      +        },
      +        "clickToOpenRate": {
      +          "type": "number"
      +        },
      +        "delivered": {
      +          "type": "integer"
      +        },
      +        "deliveryRate": {
      +          "type": "number"
      +        },
      +        "emailsSent": {
      +          "type": "integer"
      +        },
      +        "forwardsCount": {
      +          "type": "integer"
      +        },
      +        "hardBounces": {
      +          "type": "integer"
      +        },
      +        "listName": {
      +          "type": "string"
      +        },
      +        "openRate": {
      +          "type": "number"
      +        },
      +        "previewText": {
      +          "type": "string"
      +        },
      +        "sendTime": {
      +          "description": "ISO 8601 UTC timestamp.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "softBounces": {
      +          "type": "integer"
      +        },
      +        "subjectLine": {
      +          "type": "string"
      +        },
      +        "totalClicks": {
      +          "type": "integer"
      +        },
      +        "totalOpens": {
      +          "type": "integer"
      +        },
      +        "uniqueClicks": {
      +          "type": "integer"
      +        },
      +        "uniqueOpens": {
      +          "type": "integer"
      +        },
      +        "unsubscribes": {
      +          "type": "integer"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the safety profile is covered. The description adds a genuine behavioral trait beyond that: the return is a fixed-size set of campaign-level aggregates in one call regardless of audience size, which tells the agent the cost/shape is constant. No contradiction with annotations.

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, front-loaded with the core action and payload, followed by usage routing and scoping exclusions. Every clause carries information; no filler.

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

Completeness5/5

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

An output schema exists, so return values need not be explained in prose. The description covers purpose, timing, scope limits, and the sibling that handles excluded breakdowns — everything an agent needs to invoke it 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%, and both projectId and campaignId are fully documented in the schema including error behavior (400 VALIDATION_ERROR, 404). The description adds no additional parameter meaning, so the baseline of 3 is correct.

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 (load one campaign's full report) and enumerates the metric families returned (delivery, open, click, click-to-open, bounce). It explicitly names what it is not, contrasting with sm_get_variate for per-variant, funnel and geography breakdowns, so an agent can distinguish it from siblings without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit timing guidance ('Use after you have identified a campaign of interest') and routes the agent to the alternative (sm_get_variate) with the condition that selects it. Nothing about when/when-not is left to inference.

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