Skip to main content
Glama

Create pages

create_pages
Idempotent

Use this tool when making many pages of the workspace's site at once, such as one guide or FAQ page for each question customers ask an AI: 「質問ごとにページをまとめて作って」, "create these 30 guide pages" (ページの一括作成, ホームページ, Webサイト, ランディングページ).

Creates up to 20 pages a call, each {path, name, html} at its path on the workspace's site with the HTML as its first saved version, all drafts: nothing goes live until publish_pages. Paths in one call are different; all the HTML together is up to 10 MB. A path that already has a page makes no second one: status already_exists, with that page's siteId, so the same call again is safe. Per page the status is created, already_exists, failed (with the reason), or limit_reached: a plan limit stopped the batch there, and the pages before it are made. summary counts each status. A bigger job runs as several calls of up to 20 pages each. create_preview gives a page's private preview link. 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": {
      "pages": "<pages>"
    },
    "name": "create_pages"
  }
}

Input Schema

NameRequiredDescriptionDefault
pagesYesThe pages to make, each at its own path
localeNoLanguage of the pagesen
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
brandYes
pagesYes
summaryYes
guidanceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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"
  2. 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."
  3. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, it discloses that every created page is a draft, that paths within a call must differ, the 10 MB aggregate HTML ceiling, the per-page status vocabulary (created/already_exists/failed/limit_reached) with partial-batch semantics, and that re-running the same call is safe. It also covers auth/identity behavior (expectedBrandId → brand_mismatch) and daily quota by plan tier including the fact that deleting does not restore allowance — all consistent with idempotentHint=true and destructiveHint=false.

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?

It is long but well ordered — usage trigger first, then creation semantics, then identity, then quota — so the important information is front-loaded. The parenthetical Japanese/SEO keyword list (ページの一括作成, ホームページ, Webサイト, ランディングページ) is the one stretch that reads as padding rather than operative guidance.

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 batch mutation tool with quota and identity concerns, everything an agent needs is present: batch size, draft state, per-item outcome handling, partial failure semantics, idempotency, workspace verification, and rate limits. With an output schema present, return-value documentation is unnecessary and the extra status/summary detail is a bonus rather than a gap.

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: the uniqueness constraint on paths across one call, the shared 10 MB HTML budget, and the concrete consequence of expectedBrandId (a switched workspace yields brand_mismatch with no change). Only the locale parameter goes undiscussed beyond the schema.

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 names a specific verb and resource with its scope: 'making many pages of the workspace's site at once', plus a concrete example (one guide/FAQ page per customer question). It distinguishes itself from publish_pages ('nothing goes live until publish_pages') and from create_preview, so an agent can identify it 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 Guidelines4/5

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

The trigger condition is explicit and front-loaded ('Use this tool when making many pages ... at once'), and it points to publish_pages for going live and create_preview for preview links, plus guidance that a bigger job runs as several calls of up to 20 pages. It stops short of stating when not to use it — e.g. that a single page has its own path — so the boundary against single-page creation is left implicit.

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.