Skip to main content
Glama

Caper

Create or edit a DAO wiki page

save_wiki_page
Destructive

Create or edit a page on a DAO's company-layer wiki. Holders only – any amount of the DAO's token, its vote token or its founder badge. Pass the body as html, one HTML string that becomes a standard content block (headings, paragraphs, lists, tables), or as blocks, the block tree the site's editor saves. To edit an existing page, read it with get_page and blocks: true on the DAO's MCP server, revise those blocks, and pass its version as baseVersion: a page someone else changed since is refused rather than overwritten. newSlug moves an existing page to another slug in its tag path, with its history. Requires the Bearer token from the login tool, sent as an HTTP Authorization: Bearer <token> header on the POST carrying this call.

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": {
      "daoId": "<daoId>",
      "slug": "<slug>",
      "title": "<title>"
    },
    "name": "save_wiki_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlNoThe body as one HTML string, e.g. <h2>…</h2><p>…</p>, saved as a standard content block. Pass this or `blocks`.
slugYespage slug
daoIdYescashtag of the DAO whose wiki to edit
titleYespage title
blocksNocontent blocks – [{ id: uuid, type: "content", text: "<h2>…</h2><p>…</p>" }]. Validated by the editor's own validator. Pass this or `html`.
newSlugNooptional – moves an existing page to this slug in the same tag path, with its history
summaryNooptional edit summary for the page's history
tagPathNopage tag path (may be empty)
baseVersionNothe version the page's get_page read returned; a page changed since is refused with 409 (omit for a new page)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the authorization rule (any amount of the DAO's token, vote token, or founder badge), the optimistic-concurrency contract (a page changed since `baseVersion` is refused rather than overwritten), the side effect of `newSlug` (moves the page with its history), and the Bearer-header transport requirement.

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?

Purpose is front-loaded in the first clause and each subsequent sentence carries real information (auth scope, body format, edit workflow, move semantics). It is a single dense block with some overlap against the schema, which costs it a point.

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 destructive 9-parameter mutation with no output schema, the description covers the critical unknowns: permissions, concurrency safety, and the edit workflow. It never indicates what the call returns (e.g., the new version or page identity), which matters for chaining further edits.

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%, so the meaning of html, blocks, baseVersion, newSlug and tagPath is already documented in the schema. The description restates the html/blocks alternative and the baseVersion conflict behavior without adding format or syntax detail beyond the structured fields.

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 pair and resource: "Create or edit a page on a DAO's company-layer wiki." It also scopes the surface (company-layer wiki, holders only) and implicitly distinguishes itself from get_page and delete_wiki_page, which are named as read/delete siblings.

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

Usage Guidelines4/5

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

Gives clear usage context: it points at get_page with `blocks: true` as the required first step for edits, and at `login` for the Bearer token. It does not state when NOT to use it (e.g., for deleting or reading), so it falls short of full routing guidance.

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