Read SEO Data of a Post


Reads the SEO data of one post or page: the SEO title and meta description, each as saved and as search engines actually get it, the focus keywords, canonical URL, noindex and nofollow, and the social titles and images. Needs only permission to read the post, so it works for read-only and Subscriber accounts, and it changes nothing. Works with Rank Math, Yoast SEO; with no SEO plugin it reports what WordPress itself outputs.

Also known as: Rank Math SEO meta, Yoast SEO meta, get SEO title, read meta description, focus keyword, read-only SEO.

Property Value
Ability slug mosmcp/seo-get-post
Wire tool name mosmcp__seo-get-post
Category SEO (read-only) (mosmcp-seo-read)
Plan Free

 

Required access

Requirement Value
Capability read_post (checked against the specific post)
Minimum default role Subscriber
Annotations readOnly: true · destructive: false · idempotent: true · openWorld: false

 

Input schema

Field Type Required Default Description
id integer (min 1) Yes — The ID of the post or page.

 

Output schema

Field Type Required Description
id integer Yes
title string The post's own title.
post_type string
status string
url string
seo_plugin object Yes
seo_plugin.slug string rank-math, yoast, aioseo, seopress, or none when no SEO plugin is active.
seo_plugin.name string
seo_plugin.version string
seo_title object Yes The SEO title. saved is what was typed for this post ("" when the site-wide template applies); effective is what search engines get.
seo_title.saved string
seo_title.effective string
seo_title.length integer Length of the effective text in characters.
meta_description object Yes The meta description, saved and effective as for the title.
meta_description.saved string
meta_description.effective string
meta_description.length integer Length of the effective text in characters.
focus_keywords string[] The focus keywords, main one first.
canonical object
canonical.saved string
canonical.effective string
robots object
robots.noindex boolean True when search engines are asked not to list the page.
robots.nofollow boolean
social object
social.og_title string
social.og_description string
social.og_image string
social.twitter_title string
social.twitter_description string
social.twitter_image string
issues string[] What is worth fixing, if anything.
notes string[]

 


<< Previous Next >>
List Posts with SEO Data

For more information about the Secure MCP Server for WordPress plugin, explore the following resources:

Product Overview | Pricing | Try for Free | Documentation

If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.