Skip to main content
Glama

Write Pages

kuickr_pages_write
Destructive

Publish or change a Page; edits keep its URL. A new Page takes its folder's visibility; Unfiled in your personal Space is private. HTML with #game is public and listed. create refuses replacement unless overwrite:true. Text uses utf8; small binaries use base64 (256KB per call). Above that limit, binaries and images on disk use upload_start, then upload_finish after the shell upload. Directories sync with the CLI (kuickr.co/cli).

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": {
      "action": "<action>"
    },
    "name": "kuickr_pages_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
onNoaction=intake or showcase: true/false; showcase requires explicit on. Off the Showcase, search follows the Folder.
toNoaction=move: the new page path.
altNoaction=media, or upload_finish for an image: alt text for the returned markdown (defaults to the file name).
orgNoOrg/Space slug (optional with folder; omit org+folder to use your personal Space / Unfiled).
revNoaction=restore: the revision id to roll back to (from action=history). action=diff: the revision to compare — against the page now, or against to_rev.
fromNoaction=move: the page's current path.
heroNoaction=hero (or create): the Page's animated hero — one <svg> (16:9 viewBox, CSS @keyframes, the reduced-motion rule, at most 20000 bytes). dry_run:true returns the first frame. Recipe: page-hero.
kindNoaction=intake: kind enabled or disabled on this Page only.
pathNoPage path, e.g. plans/index.md. Required for create/append/delete/history/restore/showcase.
clearNoaction=hero: remove the Page's hero (it falls back to the one Kuickr generates).
limitNoaction=history: how many revisions to return (default 20, max 100).
titleNoaction=meta: the Page's title; "" removes it.
actionYescreate: create a Page; overwrite is explicit. append: add a text chunk to the end. edit: replace matching text, preview a diff or retag. move: rename or move while preserving history and shares. delete: preview, then trash for 30 days. purge: preview, then permanently remove. history: list saved revisions. restore: restore a saved revision. diff: compare revisions or the current Page. hero: set or preview an animated Page hero. meta: set the Page's title, description or favicon. preview: inspect link-unfurl options. embed: manage a delivery grant; recipe page-embed. fork: copy a public Page whose owner permits forks. persistence: configure stored-state capabilities. intake: enable or disable this Page form. showcase: change Public Page listing (search follows its Folder). wall: manage a shared Wall. poll: configure or close a shared poll. media: store a small image sent as base64 on a Markdown Page. media_link: issue a signed-in person an image upload link. upload_start: reserve a file, video or image and return its signed storage upload. upload_finish: attach stored media and return Markdown for edit. upload_cancel: release an unfinished upload.
folderNoFolder slug (optional; omit org+folder to use your personal Space / Unfiled).
if_revNoaction=edit or meta: the rev you read. The edit is refused if the page changed since, so a stale read cannot overwrite newer work.
optionNoaction=preview dry_run:true: picture only this option.
sha256Noaction=upload_start: optional 64-character hexadecimal digest of the file bytes.
to_orgNoaction=move/fork: destination Space slug; enables cross-Space moves (optional).
to_revNoaction=diff: the far end of the comparison (from action=history). Omit to diff rev against the page as it stands now.
topicsNoaction=create: optional #topic tags (kebab-cased, max 8) for Showcase discovery. A game (#game) also carries a game type, e.g. racing, runner, platformer, puzzle; an HTML page created with #game is public and listed. action=edit: topics (with or without old_string) replace the page's topics; a retag never changes who can see the page.
confirmNodelete/purge: true to act; omit to preview.
contentNoPage text (markdown or html). Required for create/append. action=media: the image file's bytes, base64-encoded.
dry_runNoWrites nothing. action=edit: returns the diff and the comments it would orphan. action=hero: returns its verdict and first frame. action=preview: pictures each link-preview option.
faviconNoaction=meta: square PNG, 512px and 256 KB at most, base64; "" removes it.
optionsNoaction=poll operation=configure: 2-12 distinct labels. Cannot reword after votes.
checksumNoaction=upload_start: required base64 MD5 of the file bytes.
encodingNoDefaults to utf8 for Markdown, HTML and text; small binaries use base64. Files (.pdf, .xlsx, .docx and images) open in Kuickr's viewer. CSV text can feed a live table (recipe csv-source-table). utf8 is refused for binaries; base64 is refused for text. Markdown frontmatter title, description and topics render publicly and are returned by read.
filenameNoaction=media or upload_start: the file name (e.g. IMG_0001.jpg); names the stored file and the default alt text.
log_uuidNoaction=wall operation=clear: exact log_uuid returned by interaction_status.
questionNoaction=poll operation=configure: public poll question.
statefulNoaction=create: new interactive Pages default to interactive_personal; shared apps explicitly choose capabilities:[shared]. Game-tagged Pages default true. Existing Pages require explicit action=persistence.
byte_sizeNoaction=upload_start: required file size in bytes.
operationNoaction=embed: issue/enable/rotate return embed_path with a secret shown once; embed_status shows the result of an uncertain change; enable or rotate replaces a lost secret. Recipe: page-embed. action=poll: configure/close; action=wall: clear/lock/remove (remove takes message_id; owner only).
overwriteNoaction=create only: replace an existing page. Without it, create refuses rather than clobbering. The replaced text stays in action=history.
poll_nameNoStable poll identifier (1-64 letters, digits, underscores or hyphens).
public_idNoaction=embed except issue: grant selector from embed_status.
signed_idNoaction=upload_finish: the signed_id returned by upload_start.
to_folderNoaction=move/fork: destination folder slug (optional; fork defaults to your personal Space / Unfiled). A fork copy is private and credits the original.
upload_idNoaction=upload_finish/upload_cancel: the upload_id returned by upload_start, for the same Page. Recipe: page-upload-session.
message_idNoaction=wall operation=remove: the id of one message from interaction_status history.
new_stringNoaction=edit: the replacement text (empty string deletes the match).
old_stringNoaction=edit: the exact text to replace — must match the page source (as action=read returns it) exactly once unless replace_all.
descriptionNoaction=meta: up to 200 characters; "" removes it.
interactionNoaction=interaction_status: typed shared interaction.
replace_allNoaction=edit: replace every occurrence of old_string (default false = must match exactly once).
capabilitiesNoaction=persistence or stateful create: declared Page grants. [] disables server retention and closes an existing scope with its recovery policy. Local browser SDK use also needs its local metadata.
content_typeNoaction=upload_start: declared media type; the session admits images and supported video and file kinds.
enable_payerNoaction=persistence or stateful create: explicitly authorize the Space ceiling too. Defaults false; may activate other already-declared Pages in that Space. Never overrides a Folder deny or grants private-data access.
design_systemNoaction=create: optional explicit authored Page-look id. Omit to inherit Folder → Space → account.
expected_tokenNopurge: the preview token.
expected_versionNoaction=embed: exact frame_version; action=poll operation=configure: exact version from interaction_status.
persistence_modeNoaction=create with stateful: durable is default; local explicitly keeps local-only state. Parent capability ceilings and the runtime gate still apply; the response reports the resulting persistence metadata.
expected_capabilitiesNoaction=persistence: exact capabilities from kuickr_pages_read action=persistence_status; stale changes are refused.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / message_id
      Added value: +{
      +  "description": "action=wall operation=remove: the id of one message from interaction_status history.",
      +  "type": "string"
      +}
    • changedInput schema / properties / operation / description
      Previous value: -"action=embed: issue/enable/rotate return embed_path with a secret shown once; embed_status shows the result of an uncertain change; enable or rotate replaces a lost secret. Recipe: page-embed. action=poll: configure/close; action=wall: clear/lock."New value: +"action=embed: issue/enable/rotate return embed_path with a secret shown once; embed_status shows the result of an uncertain change; enable or rotate replaces a lost secret. Recipe: page-embed. action=poll: configure/close; action=wall: clear/lock/remove (remove takes message_id; owner only)."
    • changedInput schema / properties / operation / enum
      Previous value: -[
      -  "issue",
      -  "enable",
      -  "disable",
      -  "rotate",
      -  "revoke",
      -  "configure",
      -  "close",
      -  "clear",
      -  "lock"
      -]New value: +[
      +  "issue",
      +  "enable",
      +  "disable",
      +  "rotate",
      +  "revoke",
      +  "configure",
      +  "close",
      +  "clear",
      +  "lock",
      +  "remove"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / confirm / description
      Previous value: -"action=delete/purge: must be true to proceed; omit/false to preview impact."New value: +"delete/purge: true to act; omit to preview."
    • addedInput schema / properties / expected_token
      Added value: +{
      +  "description": "purge: the preview token.",
      +  "type": "string"
      +}
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag readOnlyHint=false, destructiveHint=true and openWorldHint=true, so safety is partly covered. The description earns credit beyond that by disclosing visibility inheritance ("A new Page takes its folder's visibility; Unfiled in your personal Space is private") and the public-listing consequence of #game HTML — exactly the kind of exposure detail an agent cannot infer from annotations.

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?

Five tight sentences with the primary purpose front-loaded and no filler. The back half drifts into a grab-bag of topics (visibility, #game, encodings, upload sessions, CLI sync), which reduces cohesion but each sentence still carries a distinct fact.

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?

Given a 24-action tool with 53 parameters and no output schema, the description covers only create/edit/upload while move, delete/purge, embed, poll, wall and persistence are left entirely to the schema. The prose is accurate but thin relative to the tool's surface area.

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% and the action enum documents each operation, so the schema carries nearly the full burden. The description adds only two facts not already in the schema: the 256KB per-call cap and the upload_start → shell upload → upload_finish sequencing. With 53 parameters, it cannot meaningfully annotate individual fields, so baseline 3 applies.

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 opening sentence pairs a specific verb with the resource ("Publish or change a Page") and adds a distinguishing trait ("edits keep its URL"), which separates it from the read sibling. It stops short of naming any alternative tool, and the 24 distinct actions in the schema are only partially reflected in the prose.

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

Usage Guidelines3/5

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

There is real routing guidance for a few paths: "create refuses replacement unless overwrite:true" and "Above that limit, binaries and images on disk use upload_start, then upload_finish." But there is no statement of when to use this tool versus kuickr_pages_read or the other writer siblings, and no when-not-to-use guidance for the destructive actions.

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