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

Validate Flow Email content

validate_flow_email_content
Read-onlyIdempotent

Validates a complete native inviomail Flow Email contentJson document against the current schema at sendout://newsletter/content/schema/v1. Flow Emails use the same native block document format as newsletters; read sendout://newsletter/content/authoring-guide/v1 or call get_newsletter_content_reference before constructing content. It does not save or change a Flow Email. Use normalizedContent for preview_flow_email_content and update_flow_email_content when valid. Button blocks support bold (default true) and optional fontSize (integer 10–30 px) for desktop; omit fontSize to inherit tenant body typography. Optional mobileFontSize (integer 16–24 px) controls mobile text separately, with tenant bodyMobilePx as the readability floor; omit it to retain the mobile standard. Long button labels wrap automatically. Own contact fields are supported only in heading.text and text.html, including two-column children: {{custom.key}} or {{custom.key | default: "replacement text"}}. Read list_contact_fields first and use its permanent keys; offer active fields for new insertion. Existing archived references still resolve. Missing/blank values use the fallback or empty text. Escape fallback JSON and HTML correctly; do not split a token with inline markup. Tenant validation reports invalid syntax, unsupported locations and unknown keys. Custom field placeholders are not supported in subjects, preheaders, buttons, URLs, footers, signatures or DOI emails.

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": {
      "contentJson": "<contentJson>"
    },
    "name": "validate_flow_email_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentJsonYesComplete native inviomail contentJson object to validate. For type button (also in two-column children), bold defaults to true and optional fontSize is an integer 10–30 px for desktop; omit fontSize for tenant body typography. Optional mobileFontSize (integer 16–24 px) controls mobile text separately, with tenant bodyMobilePx as the readability floor; omit it to retain the mobile standard. Long button labels wrap automatically.

Output Schema

NameRequiredDescriptionDefault
validYes
issuesYes
requestIdYes
schemaVersionYes
normalizedContentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior, and the description reinforces it by stating explicitly that nothing is saved or changed. Beyond that it discloses what validation actually catches — invalid syntax, unsupported locations, and unknown keys — plus the scope limits of custom field placeholders (not supported in subjects, preheaders, buttons, URLs, footers, signatures or DOI emails). It does not discuss error reporting format, but the output schema covers that.

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 and the no-mutation caveat are correctly front-loaded, but the body drifts into authoring detail (button bold defaults, fontSize ranges, label wrapping) that largely restates the input schema. The custom-field paragraph is dense but relevant to validating correctly; the button typography sentences are the weakest use of space.

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. Given a single free-form JSON parameter, the description covers prerequisites (schema URL, authoring guide, contact field listing), the validation surface, placeholder rules and their exclusions, and how to consume the result downstream. An agent has everything needed to call it correctly.

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 baseline is 3; the description earns an increment by adding constraint semantics the schema only partially carries — the contact-field token syntax ({{custom.key}} and the default filter), where those tokens are legal, how archived references still resolve, and how blank values fall back. Some of the button-related text is a near-duplicate of the schema's own contentJson description, so not every sentence adds new meaning.

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 first sentence names a specific verb (validates) and resource (a complete native inviomail Flow Email contentJson) and pins the target schema (sendout://newsletter/content/schema/v1). It also states what the tool does NOT do ('It does not save or change a Flow Email'), which cleanly separates it from siblings like update_flow_email_content and preview_flow_email_content.

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 concrete sequencing: read the authoring guide or call get_newsletter_content_reference before constructing content, and use the returned normalizedContent in preview_flow_email_content and update_flow_email_content when valid. It also says to read list_contact_fields first. It never explicitly says when NOT to reach for this tool (e.g., versus validate_campaign_content), so guidance is strong but not fully exhaustive.

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