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

edit landingpage draft

edit_landingpage_draft
DestructiveIdempotent

Preferred way to author or edit a landingpage: submit only changed native document fields, without copying the full draft, unused sections or image renditions. Read get_landingpage first and pass its exact draftVersion. Each change replaces the value at an existing path, e.g. {path:["sections","hero","title"],value:"Mein Webinar"} or {path:["sections","socialProof","enabled"],value:false}. Set page-wide base text color with {path:["textColor"],value:"#243145"}; null restores the default base. Automatic contrast remains active for sections, cards, buttons and legal pages: use the base at contrast >=4.5:1, otherwise white or black. Glass hero applies the same rule to its light/dark overlay. Replace whole items arrays to add/remove items. Unmentioned fields and disabled sections remain unchanged. The backend assembles the full candidate, validates and renders a preview automatically, then saves in mode save (default). mode preview renders without saving. Invalid candidates return diagnostics and are never saved. publishable:false can still be a valid draft, e.g. with an inactive form; repair publication blockers before publishing. A successful save returns the new draftVersion. No need to call full-document validation/preview/save separately. Does not publish or activate forms. Version conflicts require rereading; never overwrite concurrent changes. 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>",
      "changes": "<changes>"
    },
    "name": "edit_landingpage_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNosave
titleNo
pageIdYesID returned by inviomail for this tenant
changesYes
draftVersionYesExact saved version returned by inviomail; reread after conflicts

Output Schema

NameRequiredDescriptionDefault
htmlYes
savedYes
titleYes
validYes
issuesYes
pageIdYesID returned by inviomail for this tenant
requestIdYes
publishableYes
draftVersionYesExact saved version returned by inviomail; reread after conflicts
publishErrorsYes
publishWarningsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (destructive=true, idempotent=true), the description discloses the destructive boundary precisely: only the targeted paths are replaced, 'Unmentioned fields and disabled sections remain unchanged.' It also reveals the backend pipeline (assemble → validate → render preview → save), that invalid candidates are never saved and return diagnostics, that publishable:false may still be a valid draft, and that a successful save returns the new draftVersion.

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?

It is well front-loaded — purpose, prerequisite, and semantics come before the section catalog — but the body is very long for a tool definition, with a 13-entry section catalog and authoring-strategy prose (audience, one conversion goal, page-length heuristics) that duplicates the authoring guide resource it itself links. The core contract could be stated in a third of the words.

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?

For a destructive, version-guarded document mutation, everything an agent needs is present: prerequisite read, version pinning, atomic patch semantics, mode selection, failure mode, and conflict recovery. An output schema exists, so return-value detail can be omitted, and the description still notes the new draftVersion is returned.

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?

With only 40% schema description coverage, the description carries the load for the important parameters: it explains path replacement semantics with concrete examples, clarifies that whole arrays must be replaced to add/remove items, defines mode preview vs save, and elaborates the draftVersion conflict rule. The `title` parameter is never mentioned in the description or schema, leaving one meaningful gap.

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?

First sentence states a specific verb+resource+mechanism: 'Preferred way to author or edit a landingpage: submit only changed native document fields.' It explicitly distinguishes itself from the siblings that perform the work it subsumes ('No need to call full-document validation/preview/save separately') and from publishing ('Does not publish or activate forms').

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?

Gives an explicit prerequisite ('Read get_landingpage first and pass its exact draftVersion'), a mode decision rule (save is default, preview renders without saving), and conflict handling ('never overwrite concurrent changes'). It also states negative guidance — what not to do (don't invent testimonials, don't include every section, don't ask permission to replace starter prefill).

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