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 landingpage document

update_landingpage_document
DestructiveIdempotent

Replaces the complete native landingpage document and internal title using the exact draftVersion from get_landingpage. Validate and preview the complete candidate first. Covers all editor section, item, design, SEO, language, image, form and legal-source settings. Optional document.textColor sets the page-wide base text color (#RRGGBB); null or omission restores the default base. Automatic contrast remains active (4.5:1 minimum, otherwise white or black). Use normalizedDocument; preserve unedited fields and disabled sections. Saving increments draftVersion and does not change the public page. On version conflict reread and reapply intended changes without overwriting other edits. 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. When the user asks you to create a new landingpage, that request authorizes replacing the generated starter copy, example headings, CTAs, placeholder items and starter media in the new default draft to fulfill the requested page. Do not ask for separate permission merely because the freshly created draft already contains prefilled text. Continue directly with authoring, preview and saving. Preserve user-authored content outside the requested changes, including content in an existing page or a sourceId duplicate; generated default prefill is intended to be customized. Available sections in fixed display order:

  • header: Header / navigation: optional logo or page name, a few navigation links in items[].cta and an optional section CTA; hide it for a focused campaign without a menu.

  • hero: Hero / opening: required opening headline, audience and main benefit, supporting copy, primary CTA and optional image; make the next action clear.

  • socialProof: Social proof / trust: compact early reassurance through real customer logos, references or verified figures in items[].image/title/text; omit when no authentic proof is available.

  • problemSolution: Problem & solution: describe the audience's situation in text and the proposed improvement in solution, with an optional image; useful when the need requires explanation.

  • benefits: Benefits: explain what the visitor gains, usually three to six concise cards in items[].title/text/icon; focus on outcomes rather than technical details.

  • features: Features / services: explain concrete deliverables or product details in items with alternating text and images; useful for demonstrating the offer.

  • howItWorks: How it works / process: show the steps from signup or purchase to the result, often three simple steps; omit when the action is self-explanatory.

  • testimonials: Testimonials / results: real quotes, case examples or substantiated outcomes, using items[].text/author/role/image; do not invent testimonials or keep example claims as facts.

  • pricing: Offer / pricing: packages using items[].title/price/features/cta; use only when a concrete offer or price helps the conversion goal.

  • faq: FAQ: address actual questions and objections; item.title is the question and item.text the answer, rendered as an accordion.

  • signup: Signup / form: one embedded active Invio form selected by formId, with page-specific introduction; use for newsletter, freebie or registration goals.

  • finalCta: Final CTA: repeat the central benefit and one clear next action at the end; omit if the signup form already provides a sufficient conclusion.

  • footer: Footer: optional contact and closing content; legal links remain visible even when its content section is disabled. 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>",
      "draftVersion": "<draftVersion>",
      "title": "<title>",
      "document": "<document>"
    },
    "name": "update_landingpage_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesInternal page name
pageIdYesID returned by inviomail for this tenant
documentYesComplete replacement document, preferably from validation. Each optional section is independently enabled/disabled via sections.<key>.enabled; hero stays enabled and disabled objects retain their content.
draftVersionYesExact draftVersion last read; conflicts require rereading

Output Schema

NameRequiredDescriptionDefault
pageYes
requestIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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, the description discloses critical behavior: saving increments draftVersion, does not change the public page, and requires rereading on conflict. It explains that the document is a complete replacement, that disabled section content must be preserved, and that automatic contrast remains active. This gives the agent the operational context needed for a destructive, idempotent mutation.

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 description is front-loaded with the core operation and constraints, then organized into workflow guidance and a section catalog. It is long, but the length is largely justified by the complexity of a full-document replacement. The section catalog is somewhat verbose and partly duplicates the referenced authoring guide, keeping it from a 5.

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 tool's complexity, nested schema, and available output schema, the description covers what an agent needs: replacement semantics, version handling, preview/validate workflow, section enablement rules, textColor behavior, and preservation of unedited content. It also points to an authoring reference for deeper material.

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 schema already documents the parameters. The description still adds useful meaning: draftVersion must be the exact value last read, textColor semantics and fallback behavior, normalizedDocument preservation rules, hero.enabled remaining true, and independent section toggling. It does not explain every parameter but adds substantial semantic guidance beyond the schema.

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: it replaces the complete native landingpage document and internal title. It immediately distinguishes the operation as a full replacement rather than a partial edit, and it names the required source for draftVersion. An agent can identify the tool's role without opening the schema.

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 clear workflow guidance: validate and preview the candidate first, reread on version conflict, and reapply intended changes. It also explains that creating a new landingpage authorizes replacement of starter copy. However, it does not explicitly name sibling tools such as edit_landingpage_draft or explain when to prefer them over a full replacement.

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