Skip to main content
Glama
This connector has been deprecated

Replaced by Inviomail.

Duplicate listing under a wrong namespace; the canonical listing is de.inviomail/mcp

Update newsletter settings

update_campaign_settings

Updates metadata and delivery settings for one newsletter campaign in the authenticated inviomail tenant. First call get_campaign_details and use its draftRevision as expectedDraftRevision. Draft campaigns may update name, subject, previewText, senderIdentityId, and target. target.includeMatch and target.excludeMatch independently accept any (default when omitted) or all. Include any requires at least one selected tag; include all requires every selected tag. Exclude any rejects a contact with at least one selected tag; exclude all rejects only contacts with every selected exclusion tag. Empty includeTags imposes no restriction; empty excludeTags excludes nobody; exclusions win. Read and preserve tag arrays, clicks, opens and every group’s match modes when replacing target; omitting a match mode resets it to any. For non-draft campaigns, only subject may be changed, and only while scheduled or paused. This tool never changes contentJson, never schedules or sends, and clears prepared queued/scheduled recipients when draft targeting or sender settings change.

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": {
      "campaignId": "<campaignId>",
      "expectedDraftRevision": "<expectedDraftRevision>"
    },
    "name": "update_campaign_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoInternal newsletter name; draft campaigns only
targetNoAudience target with optional clicks.include/clicks.exclude criteria (campaignId and optional destinationUrl), independently combined by clicks.includeMatch/clicks.excludeMatch any or all. Tag, click and open criteria all apply together; exclusions win. opens.include/opens.exclude select recorded newsletter opens by campaignId, combined by opens.includeMatch/opens.excludeMatch. Open data is unreliable due to privacy protections and blocked images; no recorded open does not prove unread. Preserve saved clicks and opens unless explicitly changed; use empty arrays to clear. Complete replacement audience target; draft only. Use mode all with empty tag arrays for no tag restriction, or mode tags with include/exclude tag names. Everyone additionally requires clearing clicks and opens. Preserve saved includeMatch/excludeMatch; omitted values become any.
subjectNoEmail subject. Draft campaigns, or scheduled/paused campaigns when this is the only changed setting.
campaignIdYesNewsletter campaign ID
previewTextNoEmail preview text; use null to clear it; draft only
senderIdentityIdNoActive sender identity ID for this tenant, or null to clear; draft only
expectedDraftRevisionYesExact draftRevision returned by get_campaign_details

Output Schema

NameRequiredDescriptionDefault
campaignYes
requestIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / target / description
      Previous value: -"Complete replacement audience target; draft only. Use mode all with empty tag arrays for everyone, or mode tags with include/exclude tag names. Preserve saved includeMatch/excludeMatch; omitted values become any."New value: +"Audience target with optional clicks.include/clicks.exclude criteria (campaignId and optional destinationUrl), independently combined by clicks.includeMatch/clicks.excludeMatch any or all. Tag, click and open criteria all apply together; exclusions win. opens.include/opens.exclude select recorded newsletter opens by campaignId, combined by opens.includeMatch/opens.excludeMatch. Open data is unreliable due to privacy protections and blocked images; no recorded open does not prove unread. Preserve saved clicks and opens unless explicitly changed; use empty arrays to clear. Complete replacement audience target; draft only. Use mode all with empty tag arrays for no tag restriction, or mode tags with include/exclude tag names. Everyone additionally requires clearing clicks and opens. Preserve saved includeMatch/excludeMatch; omitted values become any."
    • addedInput schema / properties / target / properties / clicks
      Added value: +{
      +  "properties": {
      +    "exclude": {
      +      "default": [],
      +      "items": {
      +        "properties": {
      +          "campaignId": {
      +            "format": "uuid",
      +            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +            "type": "string"
      +          },
      +          "destinationUrl": {
      +            "format": "uri",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "campaignId"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 200,
      +      "type": "array"
      +    },
      +    "excludeMatch": {
      +      "default": "any",
      +      "enum": [
      +        "any",
      +        "all"
      +      ],
      +      "type": "string"
      +    },
      +    "include": {
      +      "default": [],
      +      "items": {
      +        "properties": {
      +          "campaignId": {
      +            "format": "uuid",
      +            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +            "type": "string"
      +          },
      +          "destinationUrl": {
      +            "format": "uri",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "campaignId"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 200,
      +      "type": "array"
      +    },
      +    "includeMatch": {
      +      "default": "any",
      +      "enum": [
      +        "any",
      +        "all"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • changedInput schema / properties / target / properties / mode / description
      Previous value: -"Use all for everyone, or tags to target contacts by include/exclude tags"New value: +"Use all when no tag criteria are needed, or tags to filter by include/exclude tags. Click and open criteria apply independently of this mode."
    • addedInput schema / properties / target / properties / opens
      Added value: +{
      +  "properties": {
      +    "exclude": {
      +      "default": [],
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "campaignId": {
      +            "format": "uuid",
      +            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "campaignId"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 200,
      +      "type": "array"
      +    },
      +    "excludeMatch": {
      +      "default": "any",
      +      "enum": [
      +        "any",
      +        "all"
      +      ],
      +      "type": "string"
      +    },
      +    "include": {
      +      "default": [],
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "campaignId": {
      +            "format": "uuid",
      +            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "campaignId"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 200,
      +      "type": "array"
      +    },
      +    "includeMatch": {
      +      "default": "any",
      +      "enum": [
      +        "any",
      +        "all"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / campaign / properties / target / properties / clicks
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "exclude": {
      +      "default": [],
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "campaignId": {
      +            "format": "uuid",
      +            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +            "type": "string"
      +          },
      +          "destinationUrl": {
      +            "format": "uri",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "campaignId"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 200,
      +      "type": "array"
      +    },
      +    "excludeMatch": {
      +      "default": "any",
      +      "enum": [
      +        "any",
      +        "all"
      +      ],
      +      "type": "string"
      +    },
      +    "include": {
      +      "default": [],
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "campaignId": {
      +            "format": "uuid",
      +            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +            "type": "string"
      +          },
      +          "destinationUrl": {
      +            "format": "uri",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "campaignId"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 200,
      +      "type": "array"
      +    },
      +    "includeMatch": {
      +      "default": "any",
      +      "enum": [
      +        "any",
      +        "all"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "include",
      +    "exclude",
      +    "includeMatch",
      +    "excludeMatch"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / campaign / properties / target / properties / opens
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "exclude": {
      +      "default": [],
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "campaignId": {
      +            "format": "uuid",
      +            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "campaignId"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 200,
      +      "type": "array"
      +    },
      +    "excludeMatch": {
      +      "default": "any",
      +      "enum": [
      +        "any",
      +        "all"
      +      ],
      +      "type": "string"
      +    },
      +    "include": {
      +      "default": [],
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "campaignId": {
      +            "format": "uuid",
      +            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "campaignId"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 200,
      +      "type": "array"
      +    },
      +    "includeMatch": {
      +      "default": "any",
      +      "enum": [
      +        "any",
      +        "all"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "include",
      +    "exclude",
      +    "includeMatch",
      +    "excludeMatch"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, it discloses important side effects: drafts can change targeting and sender settings, non-drafts only allow subject changes while scheduled or paused, and queued or scheduled recipients are cleared when draft targeting or sender settings change. It also confirms the tool never changes contentJson and never schedules or sends.

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 most important prerequisite and scope constraints are front-loaded. The paragraph is dense and repeats some details already present in the schema, but each sentence generally carries actionable meaning for a complex mutation.

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?

Given the complex nested target schema, optimistic concurrency requirement, and draft/non-draft behavior differences, the description provides enough context to invoke the tool correctly. The presence of an output schema means return value details are not required here.

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. The description adds meaningful cross-field semantics beyond the schema, especially that includeMatch and excludeMatch independently default to any when omitted, that exclusion rules win, and that saved tag, click, and open criteria must be preserved when replacing target.

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?

The description opens with a specific verb and resource: updating metadata and delivery settings for one newsletter campaign. It distinguishes scope from adjacent operations by stating it never changes contentJson and never schedules or sends.

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?

It gives a clear prerequisite to call get_campaign_details and pass its draftRevision as expectedDraftRevision. It also defines draft versus non-draft usage rules. It does not name alternative update tools such as update_campaign_target, so it stops short of explicit sibling routing.

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