Skip to main content
Glama

Create a page

create_page

Creates a wiki page in a specified space at the root or under a parent page, using Markdown for the body and returning its ID, version, and URL.

Instructions

Create a page in a space (needs editor role there), at the root or under a parent page. Returns its id, version 1 and URL. To add files, create the page first, then upload_attachment and update_page. Body = GitHub-flavoured Markdown (tables, task lists, fenced code). Raw HTML is NOT rendered (shown as text), so convert it. Sophia syntax: files ![name](attachment:<uuid>); mentions @[Name](user:<uuid>); panels = blockquote whose first line is > [!INFO], > [!NOTE], > [!SUCCESS], > [!WARNING] or > [!ERROR]; internal links [Title](/sophia/spaces/<KEY>/pages/<pageId>); Kanbio ticket keys written as plain text (e.g. PROJ-12; not inside code or links) link automatically. Links may only point to http(s), mailto, /site-paths or #anchors; images only to attachment: or http(s).

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_key": "<space_key>",
      "title": "<title>"
    },
    "name": "create_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoMarkdown body (empty page when omitted).
titleYes
space_keyYesSpace key, e.g. ENG (uppercase letters and digits; see list_spaces).
parent_page_idNoParent page; omit for the root of the space.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare it is a non-destructive write; the description adds the authorization requirement (editor role), the exact return payload (id, version 1, URL), and the non-obvious rendering behavior that raw HTML is shown as text rather than rendered. It also discloses validation limits on links and images, which an agent could not infer from annotations or schema.

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 core action, permission, placement and return value in the first two sentences, then moves to detail. The syntax block is dense but each clause carries distinct, actionable rules; it is long only because the body format genuinely requires it.

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 four-parameter creation tool with no output schema, the description covers prerequisites, placement, return shape, body dialect and the follow-up workflow, so an agent has everything needed to call it correctly on the first attempt.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 75%, but the schema treats body as a bare Markdown string; the description compensates by specifying the dialect (GitHub-flavoured Markdown), the Sophia-specific syntax for files, mentions, panels, internal links and ticket keys, and the allowed link/image target schemes. That is substantial meaning beyond the structured fields.

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 ('Create a page') plus scope ('in a space ... at the root or under a parent page'), which distinguishes it from update_page and the import_* family. An agent can identify the operation 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?

Gives an explicit prerequisite ('needs editor role there') and an explicit sequencing rule for attachments: create the page first, then upload_attachment and update_page, naming both alternatives. It does not cover when to prefer update_page for edits or import_page for bulk, but the conditions it does state are concrete.

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