Skip to main content
Glama

Create a Docmost page

create_page

Creates a Markdown page at a space root or under a parent page and returns its ID and URL; duplicate titles are allowed, so existing pages remain unchanged.

Instructions

Creates a page from Markdown at the root of a space or under a parent page, and returns its id and URL; titles need not be unique, so an existing page with the same title is left alone.

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

Input Schema

NameRequiredDescriptionDefault
iconNoOptional emoji shown next to the title.
titleYesPage title.
spaceIdNoSpace id from get_workspace; optional when parentPageId is given.
markdownYesPage body in Markdown; do not repeat the title as a leading # heading.
parentPageIdNoCreate the page under this page instead of at the space root.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.0.0
    • changedInput schema / properties / spaceId / description
      Previous value: -"Space id from list_spaces; optional when parentPageId is given."New value: +"Space id from get_workspace; optional when parentPageId is given."
  2. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-idempotent, non-destructive, open-world behavior, so the bar is lower. The description still adds real value beyond them: it discloses the return shape (id and URL) despite no output schema, and clarifies the duplicate-title behavior so an agent knows creation will not overwrite or fail on an existing page.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence front-loads the action, then the placement options, then the return values, with no redundant or filler wording. Every clause carries information an agent would otherwise have to infer.

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 5-parameter creation tool with full schema coverage and no output schema, the description covers action, placement, return values, and the duplicate-title side effect. Nothing an agent needs in order to call it correctly is missing.

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

Parameters3/5

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

Schema description coverage is 100%, so every parameter including the markdown no-leading-heading rule and the spaceId/parentPageId relationship is already documented in the schema. The description restates the root-vs-parent placement semantics but adds no format, constraint, or validation detail beyond what the schema provides, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ("Creates a page from Markdown") and states both placement modes (space root vs. under a parent page) plus the return values (id and URL). It is clear enough to separate from get_page/update_page/move_page by implication, but it never explicitly contrasts itself with a sibling such as update_page or create_space.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage context is implied rather than stated: the note that "titles need not be unique, so an existing page with the same title is left alone" tells an agent this is a safe create rather than an upsert, which is a meaningful when-to-use cue. However, there is no explicit guidance on choosing this over update_page when a page already exists, and no prerequisites (e.g., required permissions or a valid spaceId source) are spelled out.

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