Skip to main content
Glama

Create Hosted Web Page

page_create_from_brief

Creates a real website hosted on its own public link (create-web-page.com/sites/) that customers or friends can open on any phone: a small-business page with WhatsApp, call, map or booking buttons, an Instagram link-in-bio, a digital business card, or a personal page such as a birthday, invitation or tribute. It returns a private preview first; page_publish makes it public. Call it directly when the request already has the business/page name and the main visitor action with its real destination (WhatsApp number with country code, booking/order link, phone, address or email); if the request is vague, ask at most one round of questions first (page_intake_start lists them). Creates a private draft and returns previewUrl, pageId, editToken (anonymous pages), claimUrl and expiresAt. Planning fields (audience, offer, primaryGoal, location, businessType, style, 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; never invent menus, services, hours, facilities, locations, testimonials, guarantees, staff details, prices, or operational claims. If a requested action lacks its real destination, ask for it, or use fallbackLeadForm with destinationEmail (ask the user which email should receive enquiries — without it the form cannot deliver anything and cannot be the page's only action at publish). Personal, gift or event pages (birthday, invitation, tribute, a poem) need no contact form and no action at all: a page with real text (bio + publicSections) can be published as is; add a link (primaryActionUrl, e.g. RSVP, gift list or playlist) only if the user has one, never primaryActionId 'lead'. After calling it, show the preview URL and stop; call page_publish only when the user explicitly asks to publish, make it live, or get a public link. Anonymous pages are deleted after expiresAt unless the user claims them via claimUrl. Passing onboardingMainCategory picks the matching template. The draft also seeds the preset's starter blocks (empty placeholder links, social row, save-contact) — they never block publishing and are pruned if left empty. Use the returned previewUrl directly (no need for page_preview). nextSteps marked recommended/optional (bio, photo, social links) are improvements to offer after the user has seen the preview; only 'required' ones block publishing.

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": {
      "businessName": "<businessName>"
    },
    "name": "page_create_from_brief"
  }
}

Input 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'.
localeNoBCP-47 tag of the language the page is written in (es-MX, pt-BR, ar-SA, fr, en). Stored on the page: it sets the HTML lang, right-to-left layout for Arabic/Hebrew/Persian/Urdu, and the language of the page's built-in labels (save contact, preview notice).
presetNoStyle preset id, or 'auto' to infer deterministically (falls back to classic_dark). Defaults to 'auto'. Looks: classic_dark: A timeless dark page with white pill buttons; sunset_gradient: Warm gradient page for musicians, DJs, and artists; editorial_serif: Cream page with serif headings; minimalist_light: Clean white page with soft-radius outline buttons; local_business: Dark mobile page with clear contact actions; bold_pop: Hot pink page with high-contrast white buttons and hard shadows; zen_neutral: Sage-toned page with serif typography; midnight_blue: Deep navy page with cool accent; card_warm_terracotta: Cream business card with a full-width photo, terracotta accent, and QR save-contact footer; card_navy_serif: Deep navy business card with brass accent and serif name; card_editorial_dark: Near-black card with an italic serif name and a 2×2 photo grid; card_bold_realestate: Cream card with brick accent, bold name, and a WhatsApp-first contact stack
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 email of the user's AI-assistant account.
onboardingSubCategoryNoValidated subcategory id from page_onboarding_*, for example health.
onboardingMainCategoryNoValidated category id from page_onboarding_*, for example physical-business or online-business.

Output Schema

NameRequiredDescriptionDefault
okYes
slugYes
titleYes
pageIdYes
statusYes
actionsYes
contentNo
claimUrlYes
editTokenYes
expiresAtYes
isClaimedYes
nextStepsNoImprovement hints. Only 'required' items block publishing (they mirror the publish guard); 'recommended' and 'optional' are suggestions to offer after the user has seen the preview, never prerequisites.
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.
publicUrlAfterPublishNoThe public address this page has once published (its slug is reserved). Same as publishedUrl after publishing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / locale / description
      Added value: +"BCP-47 tag of the language the page is written in (es-MX, pt-BR, ar-SA, fr, en). Stored on the page: it sets the HTML lang, right-to-left layout for Arabic/Hebrew/Persian/Urdu, and the language of the page's built-in labels (save contact, preview notice)."
    • changedInput schema / properties / preset / description
      Previous value: -"Style preset id, or 'auto' to infer deterministically. Defaults to 'auto'."New value: +"Style preset id, or 'auto' to infer deterministically (falls back to classic_dark). Defaults to 'auto'. Looks: classic_dark: A timeless dark page with white pill buttons; sunset_gradient: Warm gradient page for musicians, DJs, and artists; editorial_serif: Cream page with serif headings; minimalist_light: Clean white page with soft-radius outline buttons; local_business: Dark mobile page with clear contact actions; bold_pop: Hot pink page with high-contrast white buttons and hard shadows; zen_neutral: Sage-toned page with serif typography; midnight_blue: Deep navy page with cool accent; card_warm_terracotta: Cream business card with a full-width photo, terracotta accent, and QR save-contact footer; card_navy_serif: Deep navy business card with brass accent and serif name; card_editorial_dark: Near-black card with an italic serif name and a 2×2 photo grid; card_bold_realestate: Cream card with brick accent, bold name, and a WhatsApp-first contact stack"
    • addedOutput schema / properties / publicUrlAfterPublish
      Added value: +{
      +  "description": "The public address this page has once published (its slug is reserved). Same as publishedUrl after publishing.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / publicBusinessEmail / description
      Previous value: -"Public business contact email explicitly supplied by the user or a public source. Do not use the user's ChatGPT/account email."New value: +"Public business contact email explicitly supplied by the user or a public source. Do not use the email of the user's AI-assistant account."
  3. Changed4 schema fields changed
    • addedInput schema / properties / fallbackLeadForm / properties / destinationEmail
      Added value: +{
      +  "description": "Private email that receives the form's enquiries (never shown on the page). Ask the user which email should receive them; without it the form cannot deliver anything and cannot be the page's only action at publish.",
      +  "format": "email",
      +  "type": "string"
      +}
    • changedInput schema / properties / onboardingMainCategory / description
      Previous value: -"Validated atom.bio category id from page_onboarding_*, for example physical-business or online-business."New value: +"Validated category id from page_onboarding_*, for example physical-business or online-business."
    • changedInput schema / properties / onboardingSubCategory / description
      Previous value: -"Validated atom.bio subcategory id, for example health."New value: +"Validated subcategory id from page_onboarding_*, for example health."
    • changedOutput schema / properties / nextSteps / description
      Previous value: -"Enrichment hints to present to the user. Address 'required' items before publishing."New value: +"Improvement hints. Only 'required' items block publishing (they mirror the publish guard); 'recommended' and 'optional' are suggestions to offer after the user has seen the preview, never prerequisites."
  4. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond annotations, the description discloses the full workflow and lifecycle: it creates a private draft and returns previewUrl, pageId, editToken, claimUrl, and expiresAt; anonymous pages are deleted after expiration unless claimed; draft previews are customer-facing and must not contain owner instructions or placeholder copy. It also explains starter-block behavior, nextSteps blocking rules, and the fallback form's delivery requirement, which materially informs safe invocation.

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 the complexity and number of rules justify much of the length. It is front-loaded with what the tool does and how to use it, then layers constraints; some sentences are dense, but each generally carries operational significance.

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 29 parameters, nested objects, an output schema, and a multi-step publishing workflow, the description is complete enough: it explains creation, preview return values, draft expiration, publishing gating, fallback form requirements, and content fidelity rules. An agent has what it needs to call the tool correctly and decide when to move to page_publish.

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 (86%), so the schema already documents most parameters. The description adds important cross-field meaning: planning fields are context-only and not rendered, publicSections must contain final-audience copy in the target language, primaryActionUrl must be a real user-supplied destination, fallbackLeadForm needs destinationEmail to function, and onboardingMainCategory selects the template.

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 states a specific verb and resource: it creates a real website hosted on a public link, with concrete examples (business page, link-in-bio, digital card, personal page). It explicitly distinguishes page_publish (makes it public) and page_intake_start (asks questions), so an agent can identify the tool 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit when-to-call guidance: call directly when the request already has the business/page name and main visitor action with its real destination; if vague, ask at most one round using page_intake_start. It also states when not to call page_publish, and how to handle personal pages, missing action destinations, and fallbackLeadForm.

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