Skip to main content
Glama

seo_get_post_seo

Retrieve all SEO meta fields for a WordPress post, including unset fields as null, plus language and translation data when Polylang is active.

Instructions

Get the SEO meta for a post (every field, null when unset; plus language and translations when Polylang is active).

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": {
      "site": "<site>",
      "id": "<id>"
    },
    "name": "seo_get_post_seo"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPost ID
siteYesSite id (see list_sites)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.14.0
    • changedInput schema / properties / id / type
      Previous value: -"number"New value: +"integer"
  2. Addedv3.4.0

TDQS

A3.8/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden, and it does disclose genuinely non-obvious behavior: all fields are returned, unset fields come back as null, and language/translation data appears conditionally when Polylang is active. It does not state read-only status explicitly, nor behavior for an invalid or missing post ID.

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

Conciseness5/5

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

One sentence with a parenthetical qualifier, front-loaded with the core action and packed with return-shape detail at zero waste.

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

Completeness4/5

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

A simple two-parameter read tool with no output schema, so the description usefully compensates by describing the returned payload (all fields, nulls, Polylang extras). Only error/empty-post behavior is left uncovered.

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?

Schema description coverage is 100% for both parameters (post id, site id), so the schema already documents them fully. The description adds no further parameter meaning, which is the baseline case.

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?

Specific verb+resource: 'Get the SEO meta for a post', which naturally distinguishes it from seo_update_post_seo / seo_delete_post_seo. It does not name a sibling explicitly, but the read-only framing is unambiguous.

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

Usage Guidelines3/5

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

Usage is only implied by the verb 'Get'; there is no statement of when to prefer this over seo_get_post_analysis or seo_get_term_seo, and no prerequisites such as site selection (beyond what the schema says). Adequate but with clear gaps.

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

Deploy Server

Other Tools