Skip to main content
Glama

Create page

create_page

Add a page to a file (pages split a board: a flow, a platform, a feature, an exploration). Returns its id: create_frame, add_note and arrange_board put things on it with parentId. Refused when the file already has a page of that name: its id is given.

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

Input Schema

NameRequiredDescriptionDefault
nameYesPage name, e.g. "Onboarding".
fileIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare the write, non-destructive, closed-world profile, and the description adds genuinely new behavior: it returns the new page's id, and it is refused when a page of that name already exists in the file, returning the existing id instead. That refusal/idempotency semantics are exactly the kind of thing annotations cannot convey; only auth requirements and whether pages are renamable/deletable are absent.

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?

Three tight sentences, front-loaded with purpose then return value then failure mode; no filler. The colon construction in the second sentence ('Returns its id: create_frame, add_note...') is compressed to the point of being slightly awkward to parse, which is the only real cost.

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 two-parameter creation tool with no output schema, the definition covers purpose, return value, follow-on tools, and the duplicate-name refusal case, so an agent can call it correctly. The remaining gap is fileId's expected format, which neither schema nor description supplies.

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?

With 50% schema coverage the schema only documents 'name' (with a maxLength and example), leaving fileId bare. The description compensates partly by revealing that 'name' must be unique within the file and that collisions are refused rather than silently deduplicated, but it says nothing about which kind of file identifier fileId expects or where to obtain it.

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 ('Add a page to a file') and then defines what a page actually is ('pages split a board: a flow, a platform, a feature, an exploration'), which lets an agent distinguish this from create_file or create_branch without opening other schemas.

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?

The definition implies the follow-on workflow by naming create_frame, add_note and arrange_board as consumers of the returned id with parentId, but it never states when an agent should create a new page versus work on an existing one, nor any prerequisites for the parent file.

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.