Skip to main content
Glama
Ghost MCP Server

Ghost MCP Server

by proars

update_post_seo

Destructive

Update a Ghost post’s SEO fields—meta title, meta description, Open Graph title, or description—by providing the post ID, current updated_at, and at least one field.

Instructions

Shortcut to update SEO fields of a post (meta_title, meta_description, og_title, og_description). Requires id and the current updated_at. At least one SEO field must be provided. [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>",
      "updated_at": "<updated_at>"
    },
    "name": "update_post_seo"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPost id.
og_titleNoOpen Graph title.
meta_titleNoSEO meta title.
updated_atYesCurrent updated_at value of the post, as returned by get_posts.
og_descriptionNoOpen Graph description.
meta_descriptionNoSEO meta description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and readOnlyHint=false, so the safety profile is already covered. Beyond that, the description surfaces the optimistic-concurrency contract ('the current updated_at'), a genuinely important behavior an agent must honor before mutating, plus the at-least-one-field rule; it omits what happens on a stale updated_at (error vs overwrite).

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?

Three short sentences with the purpose front-loaded, then prerequisites, then the field-count constraint, followed by the endpoint. No restated schema text and no filler.

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 destructive partial-update with full schema coverage and no output schema, the definition covers scope, required inputs, and the minimum-fields rule. The gaps are secondary: whether omitted SEO fields are cleared or preserved, and the failure mode when updated_at is stale.

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 coverage is 100%, so baseline would be 3, but the description adds a cross-parameter constraint that the flat schema cannot express: at least one of the four SEO fields must be supplied. It also flags updated_at as a concurrency token, reinforcing the schema note that it comes from get_posts.

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 gives a specific verb and resource ('update SEO fields of a post') and enumerates exactly which fields are in scope: meta_title, meta_description, og_title, og_description. That implicitly separates it from update_post and update_page_seo, but it never names those siblings, so the differentiation must be inferred from the field list.

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?

It states the call prerequisites ('Requires id and the current updated_at') and the cardinality rule ('At least one SEO field must be provided'), which tells an agent how to call it. It does not say when to choose this over update_post or update_page_seo, nor any when-not condition, so guidance is implied rather than explicit.

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