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

validate_landingpage_document
Read-onlyIdempotent

Validates and normalizes a complete unsaved native LandingDocument v1, including tenant media and active signup-form references. Read the authoring guide/schema first. valid concerns document schema and media references; publishable additionally checks signup-form availability and publication requirements. Repair issues by path and use normalizedDocument for preview/save. Warnings remain advisory under existing product rules. Does not save, publish, upload or submit a form. 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": "validate_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
validYes
issuesYes
requestIdYes
publishableYes
publishErrorsYes
publishWarningsYes
normalizedDocumentYes

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?

Annotations already declare readOnlyHint/idempotent/non-destructive, but the description adds substantive behavior: valid concerns schema and media references while publishable adds signup-form availability and publication requirements, warnings stay advisory, and nothing is persisted. That is real value beyond the annotation block, including what the normalizedDocument output is for.

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 first four sentences are tight and front-loaded with the essential contract. The long trailing passage about section selection, audience, conversion goals and not inventing facts is genuinely useful authoring advice but is verbose and sits far from the invocation semantics, making the definition read as two documents spliced together.

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?

With an output schema present and 100% parameter coverage, the description needn't document return shapes, and it covers the remaining risk areas: no persistence, mode differences, section-enable rules and a reference fallback. An agent has everything required to call this correctly on the first attempt.

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; the description goes further by defining what 'complete' means for document (retain disabled section objects, hero.enabled must remain true, toggle via sections.<key>.enabled). It does not add anything on pageId beyond the schema's own note that it comes from inviomail.

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 opening sentence gives a specific verb (validates and normalizes), a precise resource (complete unsaved native LandingDocument v1), and scope qualifiers (tenant media and active signup-form references). The explicit negative statement 'Does not save, publish, upload or submit a form' cleanly separates it from commit_publish_landingpage, update_landingpage_document and preview_landingpage_document.

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?

It states the prerequisite ('Read the authoring guide/schema first'), the follow-up workflow ('Repair issues by path and use normalizedDocument for preview/save'), and the fallback when resources are unavailable (get_landingpage_content_reference). It also distinguishes the two validation depths (valid vs publishable) so the agent knows which mode to pick for which question.

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