Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as AttachPage.

Update page

update_page
Destructive

Rename a page, change its address label (slug), or switch private/public. Also sets its one-line description and the project it is filed under.

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

Input Schema

NameRequiredDescriptionDefault
nameNoNew page name.
slugNoNew address label, 3-40 lowercase letters, digits or hyphens.
siteIdYesPage id (siteId) returned by a publish tool or list_pages.
projectNoOptional project to file the page under, by name or id from list_projects, e.g. "Q4 proposal". A new name starts that project. An empty string takes the page out of its project.
visibilityNoprivate (invitation-only, default) or public (anyone with the link).
descriptionNoOptional one-line description shown in the user's pages list. An empty string clears it.

Output Schema

NameRequiredDescriptionDefault
idNoPage id (siteId).
urlNoPage address.
nameNoPage name.
sharesNoSends, each with recipients and when they opened the page.
visibilityNoprivate or public.
deploymentsNoRecent versions, newest first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / description
      Added value: +{
      +  "description": "Optional one-line description shown in the user's pages list. An empty string clears it.",
      +  "maxLength": 500,
      +  "type": "string"
      +}
    • addedInput schema / properties / project
      Added value: +{
      +  "description": "Optional project to file the page under, by name or id from list_projects, e.g. \"Q4 proposal\". A new name starts that project. An empty string takes the page out of its project.",
      +  "maxLength": 80,
      +  "type": "string"
      +}
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the mutation risk is known without the text. The description adds which attributes are mutable and that description/project are also set, but it never says whether unspecified fields are left untouched, whether changes are immediate or reversible, or what permissions are needed for a destructive open-world update.

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?

Two short sentences, front-loaded with the primary mutating actions before the secondary fields. No filler, though the second sentence slightly duplicates the first's field list.

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?

With an output schema present and annotations covering safety and open-world behavior, the description only needs to frame the update surface, which it does. The remaining gap is partial-update semantics and permission requirements, which are minor given the full schema coverage.

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 all six parameters, including the visibility enum and the empty-string-clears behavior for project and description, are already documented in the schema. The description's parenthetical 'address label (slug)' and 'one-line description' restate schema meaning rather than adding new semantics.

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 opens with a specific verb-plus-resource statement ('Rename a page, change its address label (slug), or switch private/public') and enumerates the editable fields. It is clearly distinguishable from read-only siblings like get_page or publish_page, though it never names a sibling to contrast against.

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

Usage Guidelines2/5

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

There is no when-to-use guidance: nothing states that this applies to an existing page, that a page id is required first, or how it differs from publish_page/publish_document for changing content. The only signal is the implicit framing of 'rename/change/switch' on an existing page.

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