Skip to main content
Glama

Update page metadata

update_page_meta
Destructive

Update a page's SEO metadata: title, description, image (Open Graph image URL), index (whether search engines may index it), and jsonLD structured data. Partial update: fields you provide are changed, omitted fields are preserved. For JSON-LD prefer jsonLDPatch for surgical edits (changing one key cannot drop the rest of the document); use jsonLD only to replace or clear the whole document. Both are validated before saving: the document must be a schema.org node (object with @context and @type), an array of such nodes, or an object with @context and @graph. Does NOT change page content (use save_page_content or save_section_content for that) or the page's name and address (use update_page). Metadata has no draft and no history: on a published page the change is live at once, including index=false, which marks the live page noindex.

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": {
      "projectId": "<projectId>",
      "pageId": "<pageId>"
    },
    "name": "update_page_meta"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageNoOpen Graph image URL
indexNoWhether search engines should index this page
titleNoPage title / meta title
jsonLDNoComplete JSON-LD document as a JSON string. REPLACES the page's existing structured data. Pass "" to clear it. Mutually exclusive with jsonLDPatch.
pageIdYesThe page ID
projectIdYesThe project ID
descriptionNoMeta description
jsonLDPatchNoJSON object (as a string) merged into the page's current JSON-LD document (RFC 7396): matching keys are replaced, null deletes a key, arrays are replaced wholesale. Use for surgical edits, e.g. {"image":"https://…"}. Mutually exclusive with jsonLD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, but the description adds non-obvious behavior the annotations cannot convey: partial-update semantics (omitted fields preserved), server-side JSON-LD validation rules (must be a schema.org node, an array of nodes, or an object with @context and @graph), and critically that metadata has no draft and no history so a change is immediately live on a published page, including index=false marking the live page noindex.

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 field list, then routing, then validation, then side effects — a logical order with no filler sentences. It is a single dense paragraph of roughly 110 words; splitting the routing and validation clauses into separate sentences/bullets would make the dense text easier to scan, which keeps it just below top marks.

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?

For an eight-parameter destructive mutation with no output schema, the description covers everything needed to call it safely: which fields are touched, partial-update behavior, JSON-LD validation and mutual exclusivity intent, live-without-history consequences, and the sibling tools to use instead. Nothing an agent needs in order to invoke it correctly is missing.

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

Parameters5/5

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

Schema description coverage is 100%, so the baseline is 3; the description goes beyond it by explaining the jsonLD vs jsonLDPatch tradeoff (whole-document replacement vs merge that cannot drop other keys) and by stating the cross-field validation constraints that apply to the supplied document. It also clarifies the overall partial-update contract for the five optional fields.

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 and resource ("Update a page's SEO metadata") and enumerates the exact fields affected: title, description, image, index, jsonLD. It also explicitly disclaims what it is not ("Does NOT change page content ... or the page's name and address (use update_page)"), so an agent can separate it from save_page_content, save_section_content, and update_page without opening any 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?

Gives explicit routing rules: prefer jsonLDPatch for surgical edits because changing one key cannot drop the rest of the document, use jsonLD only to replace or clear the whole document, and use save_page_content/save_section_content/update_page for other concerns. Both the when-to-use and the when-not-to-use cases are stated with named alternatives.

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.