Skip to main content
Glama

Publish a new version of a page

update_page

Replace one of the user's HTML pages with a new version on the same review link, so the client sees the update without a new link. The new version starts with no comments; earlier versions keep theirs. Get the current code with get_page_html if you don't have it. Only for pages shared as HTML, not live websites. To bring back an earlier version, use restore_version; to rename the page or set a due date, use update_page_settings.

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": {
      "page": "<page>",
      "html": "<html>"
    },
    "name": "update_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlYesThe full new HTML document.
noteNoOptional short note for that email, like what changed.
pageYesWhich page: its name, its review link (/v/...) or its manage link.
version_nameNoOptional short name for the new version, like "Shorter hero, new photo". Shown in the version menu.
notify_reviewersNoEmail everyone who commented that a new version is ready. Ask the user first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false and openWorldHint=true; the description adds genuinely non-obvious behavior beyond that: the review link stays stable, the new version starts with no comments while earlier versions keep theirs. It stops short of covering auth requirements or what the call returns, so it is strong but not exhaustive.

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 tight sentences, front-loaded with the core replacement behavior, then the prerequisite, then the scope limit and alternatives. Every sentence carries distinct information with no repetition of the title or name.

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 five-parameter mutation tool with annotations but no output schema, the description covers purpose, prerequisites, scope and sibling routing well. It leaves the return value unstated (whether the agent gets a version id or link back) and doesn't mention the notify_reviewers confirmation step, which the schema does carry.

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 every parameter including 'note', 'version_name' and 'notify_reviewers' is already documented in the schema. The description adds no format or syntax detail about the parameters themselves, so the baseline 3 is appropriate.

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 ('Replace one of the user's HTML pages with a new version') plus the key outcome ('on the same review link'), which is exactly what distinguishes it from a plain page edit or a fresh share. An agent can tell it apart from update_page_settings and restore_version without opening either 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 when-to-use guidance ('Get the current code with get_page_html if you don't have it'), an explicit exclusion ('Only for pages shared as HTML, not live websites'), and names two alternatives with the conditions that select them ('restore_version' for reverting, 'update_page_settings' for rename/due date). Nothing is left to inference.

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