Skip to main content
Glama

Update SEO fields

update_seo_fields

Writes a page's meta title and description and its social sharing (Open Graph) title and description, saved to the draft; a person publishes them. Only the fields you give change, and null clears one. Returns the page summary, the new docVersion and the draft's SEO. Use get_seo_issues or run_page_checks to see what needs fixing. Refused for entries without a web address, and when docVersion is out of date.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe page's id, as returned by search_content, list_pages or create_draft.
seoYesOnly the SEO fields you give change; the others are kept.
docVersionNoThe docVersion from your last get_page or update. If someone else has changed the page since, the call is refused with the current version, so nobody's newer change is overwritten: read it again and retry. Your own changes since that version don't count, so several steps on one page can each pass the version they read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / docVersion / description
      Previous value: -"The docVersion from your last get_page or update. If the page has changed since, the call is refused with the current version, so nobody's newer change is overwritten: read it again and retry."New value: +"The docVersion from your last get_page or update. If someone else has changed the page since, the call is refused with the current version, so nobody's newer change is overwritten: read it again and retry. Your own changes since that version don't count, so several steps on one page can each pass the version they read."
  2. Changed7 schema fields changed
    • addedInput schema / properties / docVersion / description
      Added value: +"The docVersion from your last get_page or update. If the page has changed since, the call is refused with the current version, so nobody's newer change is overwritten: read it again and retry."
    • addedInput schema / properties / id / description
      Added value: +"The page's id, as returned by search_content, list_pages or create_draft."
    • addedInput schema / properties / seo / description
      Added value: +"Only the SEO fields you give change; the others are kept."
    • addedInput schema / properties / seo / properties / description / description
      Added value: +"Meta description shown in search results, ideally 120 to 160 characters. null clears it."
    • addedInput schema / properties / seo / properties / ogDescription / description
      Added value: +"Description when the page is shared on social media. null clears it, so the meta description is used."
    • addedInput schema / properties / seo / properties / ogTitle / description
      Added value: +"Title when the page is shared on social media. null clears it, so the meta title is used."
    • addedInput schema / properties / seo / properties / title / description
      Added value: +"Meta title shown in search results, ideally 50 to 60 characters. null clears it."
  3. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and closed-world scope, and the description adds genuinely useful behavior on top: partial-update semantics, null-clears-field, optimistic-concurrency refusal with retry guidance, and what the response contains. Remaining gaps are minor for a safe, non-destructive write, so this sits above adequate but is not a standout behavioral disclosure.

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?

Front-loaded with the write action, then the return payload, then the routing hint and refusals, with no filler sentences. Slightly dense multi-clause sentences, but each clause carries information the agent needs.

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

Completeness5/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 helpfully names the return payload (page summary, new docVersion, draft SEO), and it covers the one non-obvious failure mode (stale docVersion) plus the eligibility constraint. Nothing needed to call this correctly is missing.

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%, so the schema already documents every field, including null-clearing, length limits and docVersion conflict behavior. The description's notes on partial updates and null clearing restate what the schema properties say rather than adding syntax, format or ordering detail, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (writes) and the exact resources (meta title/description plus Open Graph title/description), and clarifies the output goes to the draft rather than the live page. An agent can distinguish this from update_draft or the read-only SEO inspection siblings without opening a schema.

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

Usage Guidelines5/5

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

Explicitly routes the agent to get_seo_issues or run_page_checks to decide what to fix, and states the two refusal conditions (entries without a web address, stale docVersion). It also clarifies that publication is a separate human step, which tells the agent not to expect this call to go live.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources