Skip to main content
Glama
Ghost MCP Server

Ghost MCP Server

by proars

update_page

Destructive

Updates a Ghost CMS page by ID; include the current updated_at in the data to prevent conflicting edits.

Instructions

Update a page by id. data must include the current updated_at. [PUT /admin/pages/{id}/]

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": {
      "id": "<id>",
      "data": "<data>"
    },
    "name": "update_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesValue for {id} in the path.
dataYesFields of the pages object, as in the Ghost Admin API docs.
sourceNoSet to html to send the post body as HTML instead of Lexical.
save_revisionNoSet to true to save a revision of the post with this update.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the write/destructive nature is known. The description adds genuinely useful context beyond that — the optimistic-concurrency requirement that data must carry the current updated_at — but it never says what happens on a stale value (error vs overwrite), nor whether PUT replaces all fields or merges them, which matters for a destructive operation.

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 short, front-loaded sentences with no filler; the endpoint annotation sits at the end where it aids verification rather than blocking the read. Nothing is redundant, though the prose is terse enough that it borders on under-specified.

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

Completeness3/5

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

For a destructive mutation with a nested, loosely-specified data object and no output schema, the definition explains where field names come from (Ghost Admin API docs) but not the merge-vs-replace semantics or the conflict behavior when updated_at is stale. Adequate to call the tool, incomplete for calling it safely.

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?

Schema description coverage is 100%, so the baseline is 3, and the description earns an increment by adding a constraint absent from the schema: the data object must include the current updated_at. It does not elaborate on source or save_revision, but the schema already documents those adequately.

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 resource ("Update a page by id") plus the underlying endpoint PUT /admin/pages/{id}/, so the operation is unambiguous. It does not differentiate itself from the sibling update_page_seo, leaving the agent to infer that this is the general-purpose page update rather than the SEO-field-specific one.

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 only implied by the verb and the precondition that data must include the current updated_at. There is no explicit guidance about when to prefer this over update_page_seo, create_page, or copy_page, and no stated exclusions.

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