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

Get newsletter details

get_campaign_details
Read-onlyIdempotent

Returns metadata and settings for one newsletter campaign in the authenticated inviomail tenant, including status, subject, preview text, sender identity, audience target including tag criteria, clicks.include/exclude (campaignId and optional destinationUrl), opens.include/exclude (campaignId), and independent includeMatch/excludeMatch (any or all) for each group, content revision, recipient count, and timestamps. With the variant pipeline enabled, preparationDiagnostics contains up to ten preparation runs (current first), progress/error codes, frozen snapshot timestamps and recipient state counts by contentVariantKey; these are internal support diagnostics, not engagement reporting. It does not return contentJson; use get_campaign_content for structured content editing. After dispatch starts, live sender settings can differ from the frozen send snapshot.

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>"
    },
    "name": "get_campaign_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaignIdYesNewsletter campaign ID

Output Schema

NameRequiredDescriptionDefault
campaignYes
requestIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • 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.2/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, non-destructive and closed-world, yet the description still adds real behavioral context: preparationDiagnostics semantics (up to ten runs, current first, internal support data not engagement reporting) and the caveat that live sender settings can diverge from the frozen send snapshot after dispatch. That is information an agent cannot get from the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded and every caveat earns its place, but the long mid-sentence enumeration of returned fields is dense and hard to scan. Since an output schema already exists, that enumeration is largely redundant payload.

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?

The behavioral caveats around diagnostics and post-dispatch snapshot drift make this callable without surprises, and return values are covered by the output schema. The description slightly over-explains returns and under-explains when to prefer this over a listing or stats tool.

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?

With a single fully documented parameter at 100% schema coverage, the schema already carries the burden. The description adds only that the ID identifies "one newsletter campaign" in the authenticated tenant, which is marginal beyond the schema's "Newsletter campaign ID".

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 ("Returns metadata and settings for one newsletter campaign") and scopes it to the authenticated inviomail tenant. It explicitly differentiates itself from a sibling by declaring it does not return contentJson and pointing to get_campaign_content instead.

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 negative routing ("use get_campaign_content for structured content editing") gives a clear boundary for the most likely confusion. It lacks a positive when-to-use statement, e.g. when to fetch details versus list/search, so it does not reach the explicit when/when-not/alternatives bar of a 5.

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