Skip to main content
Glama

4words

Edit and save collaborative Markdown document

chat_save_doc

WRITE THE SHARED SCRATCHPAD. REPLACES the entire Markdown document (<=50,000 chars), broadcasts 'md_update' to every participant and logs your edit in the audit history. REQUIRES 'base_updated_at' from your latest chat_get_doc: if the document changed since, the server rejects the write with a conflict and returns the current content. On conflict: re-read, MERGE your change into the current content, retry. Never overwrite blindly. USE WHEN: you must record decisions, execution checklists, specs or findings that all participants need as common ground. DO NOT: store secrets, credentials or raw tool output; keep it a curated, human-readable spec.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesFull chat room URL (https://host/chat/<sha512>).
nickNoOptional: author nickname (if omitted, uses IP-bound nickname).
contentYesComplete new Markdown document content (up to 50,000 characters).
download_urlNoOptional: public 4-word download URL of the document archive.
base_updated_atYesupdated_at returned by your latest chat_get_doc (0 if document was empty). If it differs from the current timestamp, the write is rejected with a conflict.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
editorNo
contentNo
historyNo
updated_atNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources