Skip to main content
Glama

Update page

update_page
Idempotent

Change a landing page draft: name, slug, SEO title, description, signup form_id (null clears it) or the whole blocks array. A published page keeps serving its snapshot until publish_page. Errors: invalid_page_link, too_many_blocks, too_many_signup_blocks, page_slug_taken, invalid_page_form. Next: publish_page.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe page id (pg_...).
nameNo
slugNo
titleNoSEO title.
blocksNoThe whole ordered blocks array. Types: hero, features, signup, cta, footer.
form_idNoThe signup form (frm_...).
clear_formNoSet true to remove the signup form from the page.
descriptionNoSEO description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well past the annotations by disclosing the null-clears-field convention, that blocks is replaced wholesale rather than merged, and that a published page continues serving its snapshot until publish_page is called. It also enumerates concrete failure modes (invalid_page_link, too_many_blocks, too_many_signup_blocks, page_slug_taken, invalid_page_form), which annotations cannot convey.

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-loads the mutable field list, then the publish-state caveat, then errors, then the next step — a sensible ordering with no filler. Some phrases are telegraphic ('SEO title, description, signup form_id (null clears it) or the whole blocks array') and the error dump is dense, costing a bit of readability.

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 an 8-parameter mutation with no output schema, the definition covers mutation scope, replace-vs-merge semantics, the draft/published distinction, and error codes. It leaves unstated whether omitted fields are left untouched and whether editing a published page mutates the live snapshot or creates a new draft revision, but no critical calling information is missing.

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?

With 75% schema coverage the schema already documents most fields, but the description adds real meaning: form_id null clears the form, and blocks is 'the whole ordered blocks array' (replacement, not patch). Minor tension: the schema exposes a separate clear_form boolean while the description only mentions null-clearing via form_id, leaving the two mechanisms' relationship slightly ambiguous.

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 (change) and resource (landing page draft) and enumerates exactly which fields are mutable: name, slug, SEO title, description, form_id, blocks. It also distinguishes itself from publish_page by noting a published page keeps serving its snapshot, so an agent can tell draft-editing apart from publishing 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 Guidelines4/5

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

The opening 'Change a landing page draft' plus 'A published page keeps serving its snapshot until publish_page' tells the agent clearly when this tool applies and what the follow-up step is. It does not name an alternative for cases the agent might wrongly reach here (e.g. creating a page or unpublishing), so guidance is strong but not exhaustive.

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