Skip to main content
Glama

Read SEO title and meta description

wp_get_seo
Read-only

Retrieve a WordPress post's saved SEO title and meta description from Yoast SEO, Rank Math, or AI Site Auditor; empty values mean the metadata is not set. AI Site Auditor is required.

Instructions

Returns the SEO title and meta description saved for a post, from Yoast SEO, Rank Math or AI Site Auditor. Empty means not set. Needs AI Site Auditor.

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>"
    },
    "name": "wp_get_seo"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPost ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds useful context — that values come from third-party SEO plugins and that an empty result means unset — but the trailing 'Needs AI Site Auditor' is ambiguous and sits oddly next to the claim that values also come from Yoast or Rank Math.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences with the return values front-loaded and no padding. The final sentence is terse to the point of ambiguity, but nothing is wasted overall.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description must convey the return shape: it names the two fields and the empty-means-unset case, which is helpful. It does not say whether the result is a string, an object, or an error when no SEO plugin is active, and the source/dependency statement is unclear enough to leave an agent guessing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is a single parameter (id) with 100% schema description coverage, so the schema already explains it as a positive Post ID. The description adds nothing about how a missing or invalid post ID is handled, leaving the baseline 3 appropriate.

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 names a specific verb and resource — returns the SEO title and meta description saved for a post — and enumerates the sources (Yoast SEO, Rank Math, AI Site Auditor). It is clearly a read counterpart to wp_update_seo, though it never explicitly says so.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance and no mention of alternatives such as wp_get_content when the agent needs the full post body rather than just SEO fields. The only contextual hint, 'Empty means not set,' describes output interpretation rather than invocation conditions.

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