Skip to main content
Glama
Ghost MCP Server

Ghost MCP Server

by proars

update_post

Destructive

Update a Ghost CMS post by ID, sending the current updated_at and changed fields; optionally save a revision, send HTML body, or email the post to a newsletter segment.

Instructions

Update a post by id. data must include the current updated_at. [PUT /admin/posts/{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_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesValue for {id} in the path.
dataYesFields of the posts object, as in the Ghost Admin API docs.
sourceNoSet to html to send the post body as HTML instead of Lexical.
newsletterNoNewsletter slug. When publishing a post, emails it to that newsletter.
email_segmentNoNQL member filter limiting email recipients: all, status:free or status:-free.
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.6/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 mutation risk is known. The description adds one genuinely non-obvious behavioral rule — data must carry the current updated_at, i.e. an optimistic-concurrency guard — but says nothing about whether unspecified fields are preserved or overwritten, nor about the email side effect implied by the newsletter/email_segment parameters.

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?

Two sentences plus the endpoint annotation, with the core action front-loaded and the hard precondition immediately after it. Nothing is repeated from the title or schema and there is no filler.

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 `data` object and six parameters, the description covers the action and the concurrency precondition but omits merge-vs-replace semantics and the publishing/email consequences of the newsletter fields. The reliance on an external doc reference for `data` and the absence of any statement about the response body leave real gaps.

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 a 3 is the baseline, and the description exceeds it by imposing a cross-parameter constraint (data must include the current updated_at) that appears nowhere in the schema. It still leaves the nested `data` object opaque by deferring to 'Ghost Admin API docs', so it is not a full substitute for schema detail.

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 states a specific verb and resource ('Update a post by id') and pins the endpoint (PUT /admin/posts/{id}/), which is enough to distinguish it from get_post or delete_post. It does not, however, differentiate it from the very close siblings update_post_seo and update_post_tags, so an agent must infer that this tool covers general post fields rather than those specialized sub-resources.

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 id' plus the required updated_at hints this is an edit of an existing post, and the updated_at prerequisite is a concrete precondition. There is no explicit guidance on when to prefer this over update_post_seo/update_post_tags or create_post, and no exclusion statement.

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