Skip to main content
Glama

Create a page

create_page

Creates a new page in a Folio Wiki space as a document or data table; requires a write-scoped token, and in review mode returns a proposal instead.

Instructions

Creates a new page in a space — a document (default) or, since round 26, a data table. Requires a write-scoped token. In a space set to review mode the page is not created: the answer is status "proposed" with a proposalId, the page appears when an editor accepts it, and you must not repeat the call. For kind "table", use folio_table_create instead if you want a fuller, dedicated schema-authoring tool; this one also accepts an optional starter columns schema for convenience.

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": {
      "space": "<space>",
      "parentPath": "<parentPath>",
      "title": "<title>"
    },
    "name": "create_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo"doc" (default) or "table" (round 26 data table). markdown is ignored for "table".
spaceYesSpace slug
titleYesPage title
columnsNoTable only: starter column schema. Column `id` is auto-derived from `name` when omitted.
markdownNoInitial body markdown (doc only); omit for a blank starter page (just the title as an H1). A page's title is the first "# Heading" of its body: if your markdown does not open with one, "# <title>" is added above it, so you can send body text only. If it does open with an H1, that heading is kept as is and becomes the page title (the `title` argument then only names the file) — the reply shows the resulting title. A leading front matter block with icon/cover is applied as page metadata. Underline is `++text++` (no `<ins>`/`<u>` tags). Ignored for "table".
parentPathYesParent directory path relative to the space root; "" for the space root

Output Schema

NameRequiredDescriptionDefault
idNoPage id
iconNoEmoji icon, if the page has one
kindNoPage kind: doc, board, table, form, base, canvas, artifact, pdf or office
pathNoPath relative to the space root
coverNoCover image URL, if the page has one
orderNoPosition among its siblings
spaceNoSpace slug the page belongs to
titleNoPage title
statusNoPage status
messageNoReview mode only: what happened and what to do next
updatedAtNoLast change, ISO timestamp
proposalIdNoReview mode only: id of the proposal that was queued instead of writing the page

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the write-scoped token requirement, the non-obvious review-mode behavior (status "proposed" with a proposalId, page materializes only on editor acceptance, do not retry), and the asymmetric idempotency that the annotations only imply. These are exactly the side effects an agent needs before invoking a non-readOnly, non-idempotent mutation.

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-loads the core action, then layers token requirement, review-mode exception, and sibling routing in a logical order with no wasted filler. The "since round 26" version aside is slightly incidental but small enough not to disrupt scanning.

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?

An output schema exists, so return values need not be detailed, yet the description still names the important non-default return shape (proposed plus proposalId). For a six-parameter creation tool with nested column schema, auth needs and failure mode are both covered.

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 description coverage is 100%, so the baseline is 3, but the description adds cross-parameter meaning the schema does not: markdown is doc-only and ignored for tables, and columns is a convenience starter schema whose fuller counterpart lives in folio_table_create. It does not detail the title-vs-H1 precedence, but the schema's markdown description already carries that.

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 a new page in a space") and immediately scopes the two variants it supports, document (default) or data table. It also names the sibling it overlaps with (folio_table_create), so an agent can separate it from related creation tools without opening a 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?

Gives an explicit conditional: for kind "table" with fuller schema authoring, use folio_table_create instead, while this tool still accepts a starter columns schema for convenience. It also carves out a when-not case (review-mode spaces produce a proposal, not a page) and instructs not to repeat the call, which is actionable routing guidance rather than a restatement of the name.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.