Skip to main content
Glama

create_page_draft

Create a private resource draft from an accessible version (defaults to live). Returns a new draftId.

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": {
      "target": "<target>"
    },
    "name": "create_page_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceNoSource for save. Defaults to working; live saves the currently published content.
targetYesTarget page resource; kind must be page.
versionNoSaved version name for save or restore. Save requires a new name; live and draft: names are reserved.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / target / properties / designId
      Added value: +{
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / target / properties / kind / enum
      Previous value: -[
      -  "page",
      -  "email"
      -]New value: +[
      +  "page",
      +  "email",
      +  "wallet",
      +  "apple-wallet",
      +  "google-wallet"
      +]
  2. Changed2 schema fields changed
    • removedInput schema / properties / expectedRevision
      Removed value: -{
      -  "description": "Latest page snapshot revision; required for every action except list.",
      -  "type": "string"
      -}
    • removedInput schema / properties / target / properties / organizationId
      Removed value: -{
      -  "minLength": 1,
      -  "type": "string"
      -}
  3. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare a non-read-only, non-idempotent, non-destructive write; the description usefully adds that the resulting draft is private, that the source version must be accessible, and that a fresh draftId is returned (consistent with idempotentHint=false). It omits permission requirements and what happens when a draft already exists, and its 'defaults to live' claim contradicts the schema's documented default of 'working'.

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?

Two short sentences, front-loaded with the action and followed by the return value — no filler. The parenthetical default is the one piece that costs clarity rather than saving words.

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 tool with a nested target object and no output schema, the description covers the essentials: it is a write, produces a new draftId, and drafts are private. Gaps remain around the multi-kind target enum and the draftId targeting case, but the fully-described schema carries most of that weight.

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 source, target, version, and the nested target fields are all documented in the schema itself. The description adds nothing about which target.kind values are valid here (the enum admits email and wallet kinds that have dedicated sibling tools) and only loosely gestures at the source parameter.

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?

States a specific verb and effect: create a private draft from an accessible version, and names the return value (a new draftId). The resource is called 'resource' rather than 'page', so the agent must rely on the sibling set (create_email_draft, create_wallet_draft) to infer this is the page-specific variant.

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

Usage Guidelines2/5

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

No statement of when to use this instead of create_page, duplicate_page, or the email/wallet draft siblings, and no prerequisites or follow-up (publish_page_draft / discard_page_draft) are mentioned. The only guidance-like clause, '(defaults to live)', conflicts with the schema's own default of 'working', which actively misleads rather than guides.

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.