Get post SEO title and meta description is a WordPress ability from SEOPress — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

Get post SEO title and meta description

Read-only
SEOPress SEO seopress/get-post-title-description

Retrieve the custom SEO title and meta description set for a specific post, page or custom post type entry.

Requires the SEOPress plugin on WordPress 6.9+ for the Abilities API — abilities are registered only when wp_register_ability() exists, gated by the plugin's own seopress_abilities_api_available() check. Each per-post ability additionally requires the current user to hold the WordPress 'edit_post' capability for the target post (and the post must exist); the global title settings ability instead requires the SEOPress capability for managing title settings, which defaults to manage_options and is filterable via seopress_capability().

What it does

This ability wraps SEOPress's TitleDescriptionMeta REST controller (processGet) to return the custom SEO title and meta description saved for a given post. Both fields come back as empty strings when the post is using SEOPress's global title/description template instead of a per-post override, so an AI assistant can immediately tell whether a post has been customized. It's a fast way to audit a single post's title tag and snippet before proposing a rewrite, without opening the block editor's SEOPress panel. The call is rejected with a WP_Error if the post doesn't exist.

See it in action

You ask your AI assistant

"What's the custom SEO title and meta description set on post 128? I want to know if it's using the global template or something custom before I rewrite it."

Inputs

Name Type Required Description
post_id integer Yes The ID of the post, page or custom post type entry.

Returns

An object with 'title' and 'description' strings — the custom SEO title and meta description saved for the post; each is an empty string if the post is using the global title/description template instead of a custom override.

Permission

The current user must be able to edit the target post (the WordPress 'edit_post' capability for that post ID); the ability also verifies the post exists and returns a WP_Error otherwise.

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.