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

preview landingpage document

preview_landingpage_document
Read-onlyIdempotent

Renders a complete unsaved native LandingDocument with the shared landingpage renderer and current tenant form settings. Returns HTML, normalizedDocument and validation/publication diagnostics; invalid documents return html:null. Read the guide and validate first. Preview creates no public URL, saves no draft and performs no signup. Inspect the candidate before saving. Choose sections for the user's audience, offer and ONE main conversion goal; do not use every section just because it exists. The full section catalog includes sections initially disabled in a newly created draft: enable them when useful. Sections enabled by the default preset may also be disabled when unnecessary; the initial selection is only a starting point. A short lead/signup page may need only hero, benefits and signup, with optional real trust evidence. Every optional section can be enabled or disabled independently via document.sections..enabled = true/false; hero.enabled must remain true. Keep every section object and its saved content in the full document when disabling it. Section order is fixed by inviomail; selecting fewer sections does not require rearranging keys. Header, pricing, testimonials, FAQ and finalCta are optional, not a checklist. If proof or content is missing, omit the optional section instead of inventing facts. Authoring reference: sendout://landingpages/authoring-guide/v1; use get_landingpage_content_reference if resources are unavailable.

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": {
      "pageId": "<pageId>",
      "document": "<document>"
    },
    "name": "preview_landingpage_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageIdYesID returned by inviomail for this tenant
documentYesComplete native LandingDocument v1; select only useful sections via sections.<key>.enabled, keep hero enabled and retain disabled section objects. Read the authoring reference first

Output Schema

NameRequiredDescriptionDefault
htmlYes
validYes
issuesYes
requestIdYes
publishableYes
publishErrorsYes
publishWarningsYes
normalizedDocumentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/idempotentHint/non-destructive, and the description reinforces this with concrete consequences: no public URL, no saved draft, no signup. It goes further by disclosing failure behavior ('invalid documents return html:null') and the shape of the payload (HTML, normalizedDocument, diagnostics), which annotations alone cannot convey.

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?

The core behavior is correctly front-loaded in the first two sentences, but the body then inlines a large amount of section-selection authoring advice that it simultaneously defers to via sendout://landingpages/authoring-guide/v1. That duplication inflates length well past what is needed to select and invoke the tool.

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 re-explained, and the description still flags the html:null failure case. Between the documented preconditions (validate first, read the guide) and the no-persistence guarantees, nothing an agent needs before calling is missing.

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, but the description adds real invariants the freeform `document` schema cannot express: per-section toggling via document.sections.<key>.enabled, 'hero.enabled must remain true', and keeping disabled section objects and their content intact. It adds less for `pageId`, which the schema already covers.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence names a specific verb and resource: 'Renders a complete unsaved native LandingDocument with the shared landingpage renderer and current tenant form settings.' An agent can tell this is a non-persisting render/preview step rather than a save or publish. It does not explicitly name the sibling it is distinct from (e.g. update_landingpage_document, commit_publish_landingpage), only gesturing at 'validate first'.

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?

'Read the guide and validate first' plus 'Inspect the candidate before saving' gives an explicit ordering against alternatives. The exclusions are stated positively: 'Preview creates no public URL, saves no draft and performs no signup', so an agent knows when not to reach for this tool expecting persistence.

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