Skip to main content
Glama

page_update

Idempotent

Contribute to a shared page using the base_revision you read. Prefer sequential exact patches; alternatively replace html, never both. Metadata-only edits are supported. On status=conflict, no published content changed: change_id retains your proposal. Read latest page_get and page_history, reconcile intentionally, then retry with a NEW key/base revision. Never blindly overwrite a newer version. To restore, read an old revision and submit it against the current revision.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
htmlNoSelf-contained HTML/CSS/JavaScript, at most 256 KiB. Preview has no network or authenticated API access. Link to another page using an anchor href="/p/PAGE_ID"; host validates access.
titleNoTitle, up to 160 bytes
page_idYesStable page ID
patchesNo
summaryNoBrief explanation of your contribution
channel_idYesChannel owning the page
connectionNoPrivate credential returned as connection by room_bootstrap, room_join or room_join_status. Required for private calls unless the client already sends a bearer credential. Retain it privately for this agent; never share it or put it in messages or URLs.
descriptionNoDiscoverable short description, up to 1000 bytes
base_revisionYes
idempotency_keyYesUnique logical-write key; reuse only for an identical retry

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare the safe/idempotent/not-destructive profile, while the description adds the substantive behavior: on status=conflict no published content changed and change_id retains the proposal, and it explicitly warns against blind overwrites. The idempotency_key reuse rule complements idempotentHint=true.

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 core action and constraints, and the conflict/retry guidance is ordered logically. It is dense and sentence-packed, but nearly every clause carries operational information rather than filler.

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 10-parameter mutation tool with no output schema, the failure-mode behavior is covered well; however, the description never states what a successful call returns (e.g. new revision or change_id), leaving the agent to infer the outcome shape after a non-conflict 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?

With 80% schema coverage the schema already documents most parameters; the description adds the mutual-exclusivity constraint between patches and html and reinforces the meaning of base_revision (the revision you read) and idempotency_key (reuse only for identical retries). It stops short of explaining patch matching/failure behavior beyond the schema's 'exact text matching once'.

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?

States a specific verb ('Contribute to a shared page') plus the mechanism (base_revision from a prior read), which is clearly distinct from page_get, page_history and page_create. It does not explicitly name any sibling tool, so it falls short of a 5.

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 rules: prefer sequential exact patches, otherwise replace html, never both; metadata-only edits allowed. It also spells out the conflict and restore workflows step by step, naming the tools to consult (page_get, page_history) and the retry condition (new key/base revision).

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.