Skip to main content
Glama

Create page at a path

create_page
Idempotent

Use this tool when making one page of the workspace's site at a known path, such as a guide, FAQ, or comparison page that answers a question customers ask an AI: 「/guides/ にこの質問に答えるページを作って」, "add a page at /guides/decaf" (ホームページ, Webサイト, ランディングページ).

Creates the page at path on the workspace's site, with the HTML as its first saved version. The page is a draft: nothing goes live until publish_pages or publish_site. The same path again makes no second page: status already_exists, with that page's siteId (save_page_content changes its HTML). page.status is created, already_exists, failed (with the reason), or limit_reached (a plan limit; nothing was made). create_preview gives a page's private preview link. create_landing_page_preview makes one landing page with goals and a preview link in a single call, and create_pages makes many pages at once. The answer names the workspace (brand.id, name, host); with expectedBrandId, a connection that now works on another workspace changes nothing (brand_mismatch).

New pages per UTC day, per workspace: Free 10, Pro 100, MAX 1000. The count resets at midnight UTC and includes pages created through the dashboard, uploads, built-in AI, MCP, and free tools. Deleting a page does not restore the day's allowance.

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

Input Schema

NameRequiredDescriptionDefault
htmlYesComplete HTML document using Tailwind CSS v3, up to 2 MB. Must include the Tailwind CDN script in <head>.
nameYesThe page's name in the dashboard
pathYesThe page's path, such as '/guides/how-to-choose'
localeNoLanguage of the pageen
expectedBrandIdNoThe workspace's id from get_brand. When the connection now works on another workspace (the dashboard's active workspace was switched), the call changes nothing and answers brand_mismatch.

Output Schema

NameRequiredDescriptionDefault
pageYes
brandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / html / description
      Previous value: -"Complete HTML document using Tailwind CSS v3, up to 4 MB. Must include the Tailwind CDN script in <head>."New value: +"Complete HTML document using Tailwind CSS v3, up to 2 MB. Must include the Tailwind CDN script in <head>."
  2. Changed1 schema field changed
    • changedInput schema / properties / html / description
      Previous value: -"Complete HTML document using Tailwind CSS v3, up to 2 MB. Must include the Tailwind CDN script in <head>."New value: +"Complete HTML document using Tailwind CSS v3, up to 4 MB. Must include the Tailwind CDN script in <head>."
  3. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  4. Changed1 schema field changed
    • changedInput schema / properties / expectedBrandId / description
      Previous value: -"The brand's id from get_brand. When the connection now works on another brand (the dashboard's active workspace was switched), the call changes nothing and answers brand_mismatch."New value: +"The workspace's id from get_brand. When the connection now works on another workspace (the dashboard's active workspace was switched), the call changes nothing and answers brand_mismatch."
  5. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover safety and idempotency, but the description adds materially: the page is a draft until publish_pages/publish_site, re-submitting the same path does not create a duplicate and returns already_exists with the siteId, and the four possible outcome statuses including limit_reached and failed with a reason. It also discloses per-workspace daily quotas by plan, the UTC reset, cross-channel counting, and the brand_mismatch guard behavior with expectedBrandId.

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?

Front-loaded with the trigger and scenario before the mechanics, and the status/quota details are pull-quoted in a compact way. It is somewhat dense and mixes a Japanese quoted utterance, a marketing-keyword parenthetical (ホームページ, Webサイト, ランディングページ), and quota policy in one block, which costs a bit of scannability.

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 create tool with an output schema available, the description covers what an agent still needs: draft-vs-live lifecycle, duplicate-path outcome, failure modes, rate limits, and the cross-workspace safety check. Nothing that affects a correct call is left unstated.

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 baseline is 3; the description goes slightly beyond by explaining what reusing a path means (no second page, already_exists, use save_page_content to change HTML) and by expanding on expectedBrandId's failure mode across workspace switches. It does not add much on html, name, or locale, which the schema already documents.

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?

States a specific verb and resource ("Creates the page at path on the workspace's site") and immediately scopes it to a single page at a known path, naming the sibling that does many pages at once (create_pages). An agent can distinguish it from create_landing_page_preview, save_page_content, and publish_pages without opening any 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?

Begins with an explicit when-to-use trigger ("making one page of the workspace's site at a known path"), gives concrete example intents in two languages, and names alternatives with their selecting conditions: create_preview for private links, create_landing_page_preview for a page with goals, create_pages for bulk, save_page_content for changing HTML of an existing page.

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.