Skip to main content
Glama

Replace a page

put_page
DestructiveIdempotent

Writes the WHOLE page document at once. Send every block you want the page to keep — a block you leave out is deleted, and that is a valid request nothing will warn you about. Call get_page first, edit what it returned, and send the version it gave you so a change made since then, in the dashboard or another chat, fails loudly instead of being overwritten. Image URLs (in blocks and in a theme background) are downloaded and stored on Keepp as part of the write, so the page never loads them from the site they came from and nothing needs uploading. An image that cannot be downloaded fails the write and says which block. Returns the page url and, in pages, the link to each block that opens as its own page.

Input Schema

NameRequiredDescriptionDefault
themeNoThe page-wide theme.
blocksYesThe complete ordered list of blocks the page should have after this call. Read the keepp://capabilities resource for every block type and its fields — it is not repeated here, so that it is fetched once rather than carried in every tool listing.
versionYesThe version from the get_page you are editing. Required, so a stale write fails.
businessYesThe page handle, as it appears in keepp.link/<handle>. For example "janedoe".

Output Schema

NameRequiredDescriptionDefault
urlNoWhere visitors find the page.
pagesNoEach block that opens as its own page, with the link straight to it.
versionYesThe new version. The next put_page needs it.
warningsYesPublished anyway. Things only visible once rendered — worth fixing.
blockCountYes
publishedAtNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations: omitted blocks are deleted with no warning, concurrency is guarded by version, image URLs are downloaded and stored (with a failing-write behavior naming the offending block), and nothing needs uploading. This surfaces destructive and side-effect detail the destructiveHint/idempotentHint flags 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 replace semantics, then layers warnings, workflow, image behavior, and return values in a tight sequence. Four dense sentences with no filler, though the final return-value sentence is somewhat redundant given an output schema exists.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, nested-object, whole-document write, it covers the data-loss risk, concurrency protection, side effects, prerequisite read, and even return shape. An output schema exists, so the brief mention of url/pages is bonus rather than necessity.

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 real meaning: version's role as a stale-write guard, blocks must be the complete list, and the pointers into the keepp://capabilities resource and keepp.link/<handle> handle format. It stops short of documenting the theme object's contents.

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 with scope: 'Writes the WHOLE page document at once.' The word WHOLE plus 'a block you leave out is deleted' makes the replace semantics unambiguous and distinguishes it from partial-update siblings. It also names get_page as the paired read tool.

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 an explicit workflow: call get_page first, edit what it returned, send the version it gave you. It explains why (stale writes fail loudly) and covers the image-handling case, so the agent knows both when to use it and what prerequisites to satisfy.

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