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. This publishes at once; to show the person a draft first, use preview_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": {
      "business": "<business>",
      "version": "<version>",
      "blocks": "<blocks>"
    },
    "name": "put_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.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and openWorldHint=true, but the description still adds real value: omission deletes blocks with no warning, the version parameter makes stale writes fail loudly, remote images are downloaded and re-hosted, and an undownloadable image fails the write naming the offending block. That covers consequences, concurrency, and side effects beyond the annotations, though it doesn't describe rate limits or size limits.

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 most consequential fact (whole-document replacement with implicit deletion) and each subsequent sentence carries a distinct behavior. It is a dense paragraph rather than a list, and the return-value sentence is somewhat compressed, but there is no filler.

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, open-world write with a nested free-form block array, the description covers the required workflow, concurrency protection, deletion semantics, image handling, and failure mode, and it points to the keepp://capabilities resource for block shapes. The output schema covers return values, so nothing essential 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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning beyond the schema: `version` is framed as the token from get_page that protects against concurrent dashboard/chat edits, and `blocks` is framed as the complete retained list rather than a patch. The note that theme background URLs are also fetched clarifies the otherwise opaque free-form `theme` object.

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," which distinguishes it from a partial/edit tool and from preview_page. The agent knows immediately what the operation is and how complete its input must be.

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 the exact workflow ("Call get_page first, edit what it returned"), names the alternative for the draft case ("to show the person a draft first, use preview_page"), and warns that leaving out a block deletes it. When-to-use, prerequisites, and the alternative are all explicit.

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