Skip to main content
Glama

Create Landing Page From Brief

page_create_from_brief

Create a hosted landing page draft from a structured brief. Accepts business name, category, layout, palette, primary action, explicit final-audience publicSections, and optional hero image. Planning fields such as audience, offer, primaryGoal, location, businessType, style, and mustInclude are context only and are not rendered as public body copy. Draft previews are customer-facing: do not pass owner instructions, section-planning labels, or placeholder copy as public content. Keep sparse briefs sparse: use only facts supplied by the user or imported public sources, plus light wording polish; do not invent menus, services, hours, facilities, locations, testimonials, guarantees, staff details, prices, or operational claims. Prefer one short section or no extra section when the prompt is minimal. If a requested CTA lacks its real destination, ask for it before creation or provide fallbackLeadForm with public copy. Returns a preview URL, edit token, and next-step hints. This tool intentionally creates a draft only and does not return a publish action. After calling it, stop and show the preview URL. Do not call page_publish in the same turn unless the user's current message explicitly asks to publish, make the page live, or get a public share link. Anonymous pages expire unless claimed via page_claim. For a vague or first-page request, prefer running page_onboarding_start first (or at least pass onboardingMainCategory) so the page starts from the right template. The draft seeds the chosen preset's starter blocks (empty placeholder links, social row, save-contact) for you to fill in — they never block publishing and are pruned if left empty. Then guide the user the way a builder would: use the returned previewUrl directly (you do not need page_preview), and work through the returned nextSteps (add a real bio, a photo via media_upload, social links) before offering to publish.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bioNoOptional short bio for the header.
offerNoPlanning context only. Not rendered directly as public page copy; use bio and publicSections for final-audience copy.
styleNoPlanning context only. Not rendered directly as public page copy.
layoutNoDefaults to 'link_in_bio'.
localeNo
presetNoStyle preset id, or 'auto' to infer deterministically. Defaults to 'auto'.
audienceNoPlanning context only. Not rendered directly as public page copy.
locationNoPublic business address or service area intended for map/address actions, not direct body copy and not the user's private/current location.
sourceUrlNoProvenance reference only.
mustIncludeNoPlanning checklist only. Do not put section names, CTA labels, owner instructions, or private notes here; not rendered directly.
primaryGoalNoPlanning context only. Not rendered directly as public page copy.
publicPhoneNoPublic business phone number explicitly supplied by the user or a public source. Do not use the user's private/account phone.
businessNameYes
businessTypeNoPlanning context only. Not rendered directly as public page copy.
heroImageUrlNoExplicit user-provided image URL for featured-photo or full-image styles.
sourceHandleNo
initialPromptNo
preferredSlugNoDesired URL path. Ask the user for it near the end of onboarding. Use normal letters, numbers, and hyphens; the server normalizes and makes it unique.
publicSectionsNoFinal-audience text sections to render on the public page. Write in the target language with correct spelling/accents. Only include facts the user supplied or that came from an imported public source; for sparse prompts, keep this short and avoid invented service lists, hours, benefits, testimonials, prices, or operational details.
publicWhatsappNoPublic WhatsApp phone number explicitly supplied by the user or a public source. Do not use the user's account phone or invent placeholder numbers.
primaryActionIdNo
fallbackLeadFormNoPublic fallback contact/interest form to use when the requested primary action lacks a real destination. All copy must be final-audience copy in the page's target language.
onboardingLayoutNoLayout style: background_color (minimalist), full (featured photo), or background_image (full image background).
primaryActionUrlNoReal destination URL for the primary action when explicitly supplied by the user or imported public source, such as a booking link. Do not invent booking/order URLs; if missing, ask for it or use fallbackLeadForm.
onboardingPaletteNoPalette id returned by page_onboarding_* paletteChoices, for example atom_dark_plum.
primaryActionLabelNoPublic label for the primary action in the page's target language.
publicBusinessEmailNoPublic business contact email explicitly supplied by the user or a public source. Do not use the user's ChatGPT/account email.
onboardingSubCategoryNoValidated atom.bio subcategory id, for example health.
onboardingMainCategoryNoValidated atom.bio category id from page_onboarding_*, for example physical-business or online-business.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
slugYes
titleYes
pageIdYes
statusYes
actionsYes
contentNo
claimUrlYes
editTokenYes
expiresAtYes
isClaimedYes
nextStepsNoEnrichment hints to present to the user. Address 'required' items before publishing.
canPublishYes
previewUrlYes
isPublishedYes
publishedUrlYes
missingFieldsNo
publishPolicyNoFor edit tools on already-published pages, this is wait_for_separate_user_request to prevent same-turn publishing.
liveUpdateMessageNoPlain-language instruction explaining that an edit to an already-published page is draft-only and must not be published until a later explicit user request.
liveUpdateRequiredNoTrue after an edit to an already-published page when the public live page still needs page_publish to reflect the latest revision.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations are all false and provide no safety signal, so the description carries the full burden. It discloses many behaviors: previews are customer-facing, planning fields must not become public copy, sparse briefs must not be padded with invented facts, missing CTA destinations require either asking or fallbackLeadForm, anonymous pages expire unless claimed, and the draft seeds starter blocks that are pruned if empty.

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 long but front-loaded with the core purpose and organized into distinct behavioral and workflow concerns. It is dense rather than padded, though some warnings overlap with schema-level field descriptions, keeping it from a perfect score.

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 29-parameter, nested-object tool with an output schema and no meaningful annotations, the description is remarkably complete. It covers creation constraints, public-copy guardrails, CTA fallback behavior, page expiration, next steps, and the post-call workflow, so an agent has enough context to invoke 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 high at 83%, so the schema already documents individual parameters. The description adds meaningful cross-parameter semantics by grouping fields into planning-context versus final-audience publicSections, and by explaining that public contact fields must come from user-supplied or public sources. It does not enumerate every parameter, but the high-level grouping is valuable.

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: 'creates a hosted landing page draft from a structured brief.' It also clearly distinguishes this tool from nearby siblings by stating it is draft-only, steers vague requests toward page_onboarding_start, and notes page_preview is unnecessary.

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?

The description gives explicit when/when-not guidance: prefer page_onboarding_start for vague first-page requests, pass onboardingMainCategory otherwise, do not call page_publish in the same turn unless the user explicitly asks to publish, and use the returned previewUrl directly instead of page_preview. This makes tool selection actionable.

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