Skip to main content
Glama

Create page

create_page

Adds a page at /{slug} on the site’s address (slug: lowercase letters, numbers, inner hyphens). It starts with the home page’s header and footer bands (or the add_site_header_footer (area design) ones) and a starter band, answered as starter {sectionId, textId}: the title as a heading and "Placeholder text — replace this with your own words before you publish." (publish_site names pages still showing it). The page’s content belongs in sectionId after textId, its placeholder replaced — not under a second heading at the root. copyFromPageId duplicates a page (fresh node ids); fromTemplate starts from a finished page template, title defaulting to its own and slug to the title’s — "starter-pages/" for each common kind (about, team, services, pricing, faq, contact, reviews, gallery, shop, downloads, feed, thank-you). Added to the end of the site menu (inMenu:false keeps it out) — and of the site header’s menu when that one has its own links (headerMenu, menuNote). Answers pageId, rootId, starter, version (1) and navVersion. Live at the next publish_site (review: true holds it back).

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": {
      "siteId": "<siteId>"
    },
    "name": "create_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNoWeb address; default: from the title
titleNoWhat the page is called, e.g. "Pricing"
inMenuNofalse = do not add it to the site menu (default true)
reviewNotrue = hold it back from publishing
siteIdYesSite id (from list_sites)
fromTemplateNoA page template id (list_page_templates)
copyFromPageIdNoA page to duplicate

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false); the description adds substantial behavior beyond them — the starter band's exact contents, that the page is live only at the next publish_site, that review:true holds it back, menu insertion order including the header menu case, and the returned fields pageId, rootId, starter, version, navVersion.

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 opening clause is well front-loaded, but the body is a single dense paragraph of stacked parentheticals (starter band internals, template kind list, header-menu caveat) that is hard to parse in one pass. The template kind enumeration in particular consumes a lot of space for marginal decision value.

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 7-parameter creation tool with no output schema, the description covers what an agent needs: creation side effects, placeholder behavior, template/duplicate options, navigation side effects, return fields, and the publish lifecycle. Nothing material is left to guesswork.

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, but the description adds real meaning: slug character constraints, the exact template id shape ("starter-pages/<kind>") with the enumerated common kinds, fromTemplate's title and slug defaults, and inMenu's interaction with the site header menu. That is more than the schema's one-line parameter blurbs provide.

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?

Opens with a specific verb and resource — "Adds a page at /{slug} on the site's address" — and immediately narrows scope with the slug format rules. An agent can tell this apart from update_page, get_page, and delete_page from the verb alone, and the creation semantics (starter band, menu placement) are unambiguous.

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?

Gives clear conditional guidance for the optional paths: copyFromPageId duplicates a page with fresh node ids, fromTemplate starts from a finished template with title/slug defaulting behavior spelled out. It also ties the placeholder text to publish_site's validation. It stops short of explicit exclusions (e.g., "use update_page to edit an existing page"), so a 4 rather than a 5.

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