Skip to main content
Glama

seo_update_post_seo

Update a post's SEO meta fields partially, delete values with null, and purge its page cache; returns the full SEO meta after changes.

Instructions

Update the SEO meta for a post (partial: only the fields you give change; null deletes a field). Purges the post's page cache. Returns the post's full SEO meta.

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_update_post_seo"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPost ID
siteYesSite id (see list_sites)
titleNoSEO title (template tokens like %title%, %sep%, %sitename% allowed). null deletes the stored value.
robotsNoRobots directives, comma separated (e.g. "noindex,nofollow"). null deletes the stored value.
schemaNoCustom JSON-LD (object, array or JSON string); overrides schema_type. Invalid JSON is stored as []. null deletes the stored value.
og_imageNoOpen Graph image attachment ID. null deletes the stored value.
og_titleNoOpen Graph title. null deletes the stored value.
canonicalNoCanonical URL. null deletes the stored value.
seo_scoreNoStored SEO score (0-100). null deletes the stored value.
descriptionNoMeta description. null deletes the stored value.
schema_typeNoSchema type built from post data: BlogPosting, Article, NewsArticle, WebPage or Product. null deletes the stored value.
software_appNoPer-post SoftwareApplication schema: { enabled, name, applicationCategory, operatingSystem, description, url, offers: [{ name, price, priceCurrency, url, unitText, unitCode }] (max 20), aggregateRating }. Omitted enabled = true. null deletes the stored value.
twitter_cardNoTwitter card type; unset falls back to the default_twitter_card setting. null deletes the stored value.
twitter_imageNoTwitter image attachment ID. null deletes the stored value.
twitter_titleNoTwitter title. null deletes the stored value.
focus_keywordsNoFocus keywords, max 5 (extra ones are dropped). null deletes the stored value.
og_descriptionNoOpen Graph description. null deletes the stored value.
pillar_contentNoMark as pillar (cornerstone) content. null deletes the stored value.
advanced_robotsNoAdvanced robots directives; other keys are dropped by the server. null deletes the stored value.
breadcrumb_titleNoTitle used in breadcrumbs. null deletes the stored value.
twitter_descriptionNoTwitter description. null deletes the stored value.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed22 schema fields changedv3.14.0
    • addedInput schema / properties / advanced_robots
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "max-image-preview": {
      +          "description": "none | standard | large",
      +          "type": "string"
      +        },
      +        "max-snippet": {
      +          "description": "e.g. -1 or 160",
      +          "type": [
      +            "string",
      +            "number"
      +          ]
      +        },
      +        "max-video-preview": {
      +          "description": "e.g. -1 or 30",
      +          "type": [
      +            "string",
      +            "number"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Advanced robots directives; other keys are dropped by the server. null deletes the stored value."
      +}
    • addedInput schema / properties / breadcrumb_title
      Added value: +{
      +  "description": "Title used in breadcrumbs. null deletes the stored value.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / canonical
      Added value: +{
      +  "description": "Canonical URL. null deletes the stored value.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / description
      Added value: +{
      +  "description": "Meta description. null deletes the stored value.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / focus_keywords
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Focus keywords, max 5 (extra ones are dropped). null deletes the stored value."
      +}
    • changedInput schema / properties / id / type
      Previous value: -"number"New value: +"integer"
    • removedInput schema / properties / meta
      Removed value: -{
      -  "additionalProperties": {},
      -  "description": "SEO meta fields to set",
      -  "type": "object"
      -}
    • addedInput schema / properties / og_description
      Added value: +{
      +  "description": "Open Graph description. null deletes the stored value.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / og_image
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Open Graph image attachment ID. null deletes the stored value."
      +}
    • addedInput schema / properties / og_title
      Added value: +{
      +  "description": "Open Graph title. null deletes the stored value.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / pillar_content
      Added value: +{
      +  "description": "Mark as pillar (cornerstone) content. null deletes the stored value.",
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / robots
      Added value: +{
      +  "description": "Robots directives, comma separated (e.g. \"noindex,nofollow\"). null deletes the stored value.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / schema
      Added value: +{
      +  "anyOf": [
      +    {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "type": "object"
      +        },
      +        {
      +          "type": "array"
      +        },
      +        {
      +          "type": "string"
      +        }
      +      ]
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Custom JSON-LD (object, array or JSON string); overrides schema_type. Invalid JSON is stored as []. null deletes the stored value."
      +}
    • addedInput schema / properties / schema_type
      Added value: +{
      +  "description": "Schema type built from post data: BlogPosting, Article, NewsArticle, WebPage or Product. null deletes the stored value.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / seo_score
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Stored SEO score (0-100). null deletes the stored value."
      +}
    • addedInput schema / properties / software_app
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": {},
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Per-post SoftwareApplication schema: { enabled, name, applicationCategory, operatingSystem, description, url, offers: [{ name, price, priceCurrency, url, unitText, unitCode }] (max 20), aggregateRating }. Omitted enabled = true. null deletes the stored value."
      +}
    • addedInput schema / properties / title
      Added value: +{
      +  "description": "SEO title (template tokens like %title%, %sep%, %sitename% allowed). null deletes the stored value.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / twitter_card
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "summary",
      +        "summary_large_image"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Twitter card type; unset falls back to the default_twitter_card setting. null deletes the stored value."
      +}
    • addedInput schema / properties / twitter_description
      Added value: +{
      +  "description": "Twitter description. null deletes the stored value.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / twitter_image
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Twitter image attachment ID. null deletes the stored value."
      +}
    • addedInput schema / properties / twitter_title
      Added value: +{
      +  "description": "Twitter title. null deletes the stored value.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedInput schema / required
      Previous value: -[
      -  "site",
      -  "id",
      -  "meta"
      -]New value: +[
      +  "site",
      +  "id"
      +]
  2. Addedv3.4.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does real work: it discloses that the update is partial/merge-style, that null is the deletion sentinel, that a page cache purge is a side effect, and that the full SEO meta is returned. It does not say whether meta is created when absent, nor whether permissions or site-level defaults apply.

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?

Three short sentences, each carrying distinct information: mutation mode, side effect, and return value. The partial-update rule is front-loaded immediately after the verb, so an agent sees the most failure-prone detail first with zero filler.

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?

For a 21-parameter mutation tool with no annotations and no output schema, the description covers the essentials (merge semantics, null deletion, cache purge, return shape) but omits upsert behavior, permission requirements, and any validation-failure reporting. It is adequate rather than complete given the tool's complexity.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline would be 3, but the description adds aggregate semantics the per-parameter text cannot convey: unspecified fields are left unchanged and any field set to null is removed. That is the key meaning an agent needs beyond the individual field descriptions.

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 gives a specific verb and resource ("Update the SEO meta for a post") and the scoping phrase "for a post" implicitly separates it from term-level and bulk siblings such as seo_update_term_seo and seo_bulk_update_posts_seo. It never names a sibling or explicitly rules one out, so routing still needs some inference.

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?

It clearly explains the write mode ("partial: only the fields you give change; null deletes a field"), which tells an agent how to call it but not when to prefer it. There is no guidance on reading before writing (seo_get_post_seo) or on using the bulk variant for multiple posts, and no stated preconditions.

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