Tools Catalog / Plugin integrations / Yoast SEO / yoast_set_meta

yoast_set_meta tool reference for Yoast SEO

Write
Group Yoast SEOCapability edit_posts

sets Yoast SEO metadata for a post.

Description

sets Yoast SEO metadata for a post.

What it is for

  • Generating SEO titles and descriptions.
  • Adjusting indexing or social previews.

Example use case

updating social previews.

Sample prompt

Set a stronger SEO title, meta description, and Open Graph description for post ID 245.

Sample response

{
  "tool": "yoast_set_meta",
  "status": "ok",
  "updated": true
}

What does yoast_set_meta do?

sets Yoast SEO metadata for a post.

Does yoast_set_meta modify site data?

Yes. It can create, update, activate, deactivate, or delete data depending on arguments.

Which capability is commonly required?

It usually runs with controls compatible with edit_posts and the active MCP profile.

How should yoast_set_meta be used safely?

Require confirmation, test in staging first, and verify rollback coverage.

Which plugin is required?

Yoast SEO must be installed and active in the target WordPress environment.