Update Post SEO Data is a WordPress ability from SiteSEO – SEO Simplified — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.
Install Free Plugin →Update Post SEO Data
WriteUpdate a post's SEO title, description, focus keyphrase, robots flags, canonical URL and social meta.
Requires the SiteSEO plugin on WordPress 6.9+ for the Abilities API (abilities are registered only when the wp_register_ability() function exists). Each ability is additionally gated by the caller holding the matching WordPress capability — edit_posts for the post abilities, or manage_options for settings, audit, and sitemap abilities.
What it does
This ability updates the SEO fields SiteSEO tracks for a post: title, meta description, canonical URL, focus keyphrase, robots meta flags (noindex, nofollow, noimageindex, noarchive, nosnippet), and Open Graph/Twitter title and description/image overrides. Only the fields provided in the input are changed; everything else already stored for the post is preserved. This lets an AI assistant rewrite meta titles and descriptions, set a focus keyphrase, or toggle indexing on a post directly from a conversation, then returns the updated snapshot for confirmation.
See it in action
You ask your AI assistant
"Update post 42's SEO title to 'Best Coffee Makers 2026', set its focus keyphrase to 'best coffee makers', and mark it noindex until we finish the review."
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| postId | integer | Yes | The post ID. |
| title | string|null | No | SEO title; pass null to clear. |
| description | string|null | No | SEO meta description; pass null to clear. |
| canonical_url | string|null | No | Canonical URL for the post; pass null to clear. |
| focus_keyphrase | string|null | No | Primary focus keyphrase for the post; pass null to clear. |
| robots | object | No | Robots meta flags for the post (noindex, nofollow, noimageindex, noarchive, nosnippet booleans). |
| social | object | No | Open Graph and Twitter title/description/image overrides used when the post is shared on social media. |
Returns
An object with an 'updated' boolean and a 'post' object containing the post's updated SEO snapshot (title, description, canonical_url, focus_keyphrase, seo_score, robots, social).
Permission
The current user must have the WordPress 'edit_posts' capability.
More SiteSEO – SEO Simplified abilities
Get Homepage SEO Audit
Get an SEO snapshot of the homepage, including title, meta description, robots flags, social meta and cached score.
Get Post SEO Data
Retrieve the SEO snapshot for a single post: title, meta description, focus keyphrase, robots flags, canonical URL and social meta.
Get Site SEO Audit
Get a site-wide SEO health snapshot covering the homepage, sitemap status, custom robots rules, and public post types.
Get Sitemap Status
Check whether the SiteSEO XML sitemap is enabled and get its index URL.
Get SiteSEO Settings
Read the full SiteSEO settings tree.
List Posts by SEO Score
List posts with their cached SEO content-analysis score.