Skip to main content
Glama

PageHub

Update page

update_page
DestructiveIdempotent

Update a page: name (changes the slug), SEO, home/404/hidden flags, per-page headCode/bodyClass, hideHeader/hideFooter/hideChrome. A page without seo.title / seo.description falls back to the site title (update_site), not its name. headCode holds third-party code, not page content. Guide: get_style_reference({ topic: "pages" }).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoSite id. Pass it on every call.
seoNoPer-page SEO fields to set.
nameNoNew name; changes the slug.
pageIdYesPage id from list_pages.
headCodeNoRaw HTML for this page's <head>, server-rendered. Empty string clears. Site-wide: ROOT.props.inject.head.
isHiddenNoHidden pages aren't reachable by URL.
bodyClassNoClasses on <body> for this page. Empty string clears.
is404PageNoMake it the 404 page.
hideChromeNoHide ALL ROOT-level chrome (header, footer, sticky bars, drawers) — for ad landing pages.
hideFooterNoHide the global footer on this page.
hideHeaderNoHide the global header on this page.
isHomePageNoMake it home (unsets the current one).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the mutation profile is partly covered. The description adds genuinely non-obvious behavior beyond that: renaming changes the slug, SEO fields fall back to the site title rather than the page name, and headCode is server-rendered third-party code. It does not cover permissions or what an omitted field does to existing values.

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 dense sentences, front-loaded with the field inventory and follow-up with the two caveats and the guide pointer. Every sentence carries information, though the parenthetical field list is packed and could read more cleanly.

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?

For a 12-parameter mutation tool with a nested seo object and no output schema, the description covers the high-risk semantics (slug change, SEO fallback, chrome hiding intent) plus a companion guide. Gaps remain around partial-update merge behavior and whether empty strings vs omission differ, which matters for an idempotent write.

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 coverage is 100%, so the baseline is 3, but the description adds meaning the schema lacks — notably that name changes the slug (a hidden side effect) and the seo.title/description fallback semantics. These are real semantic additions rather than restatements.

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 (update) plus resource (page) and enumerates the exact updatable surface: name, SEO, home/404/hidden flags, headCode/bodyClass, hideHeader/hideFooter/hideChrome. An agent can distinguish it from add_page, delete_page, and update_site 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 Guidelines3/5

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

It provides valuable routing context — the SEO fallback to site title via update_site, the note that headCode holds third-party code not page content, and a pointer to get_style_reference({topic:"pages"}). However, it never states when to use this tool versus alternatives such as patch_site_node or the site-level setters, and gives no when-not guidance.

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