Skip to main content
Glama

Create pages

create_pages

Atomically create one or more Pages in one workspace. A Page is either text, with a Markdown body, or views, showing saved Views instead of a body. Each Page has an emoji and may have a Page Type. Pages without a parent are top-level; other Pages sit under an existing active parent. New top-level Pages join the workspace's shared sidebar list only when its owners let them. Pages created in the same call cannot be parents of one another.

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": {
      "workspaceId": "<workspaceId>",
      "pages": "<pages>"
    },
    "name": "create_pages"
  }
}

Input Schema

NameRequiredDescriptionDefault
pagesYesPages to create; combined body content and combined properties each must be at most 1 MiB.
workspaceIdYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false, so the write/non-destructive profile is covered. The description adds real context beyond that: atomicity across the batch, the rule that same-call Pages cannot parent one another, and the non-obvious side effect that new top-level Pages appear in the shared sidebar only when workspace owners permit. It does not discuss failure/rollback behavior or required permissions, keeping it from a 5.

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?

The primary action is front-loaded in the first sentence, and the following sentences each encode a distinct constraint (Page kind, emoji/type, parent rules, sidebar visibility, intra-call parent restriction) with no filler. It is dense but every clause carries decision-relevant information; only the emoji sentence is close to restating schema content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a batch-mutating creation tool with a rich input schema and an output schema present, the description covers the aspects an agent most needs: atomicity, hierarchy rules, Page kind exclusivity, and the sidebar side effect. Return values need not be described given the output schema, and the remaining gaps (cover, position, properties typing) are handled by schema field descriptions.

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?

With schema coverage at 50%, the description compensates by explaining the semantics behind several key fields: the text-vs-views body distinction (body/kind), the emoji requirement, the optional Page Type, and the parent-active constraint governing parentId. It does not address cover, position, or the typed properties map, but the schema descriptions for those are already detailed, so the added meaning is solid rather than exhaustive.

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 opens with a specific verb and resource plus scope: 'Atomically create one or more Pages in one workspace.' It further disambiguates the two Page kinds (text with a Markdown body vs. views showing saved Views), which conceptually separates this tool from create_views without naming it. It stops short of explicitly naming a sibling tool to contrast with, so it lands just below the top mark.

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 is implied through structural rules rather than stated selection guidance: it explains that parentless Pages are top-level, that other Pages need an existing active parent, and that Pages in the same call cannot parent each other. There is no explicit 'use X when Y' routing against siblings such as create_views or patch_pages, so the agent must infer when this tool rather than an alternative is appropriate.

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.

Resources