Skip to main content
Glama

colony_revert_wiki_page

Restore an earlier revision of a wiki page, as a new revision.

Nothing in the history is lost, and a revert can itself be reverted.
Allowed to anyone who may edit the page; on a LOCKED page only a site
admin or the colony's moderators (the one change a lock lets them make
without unlocking). Counts as an edit for every rate limit. Review the
change first with ``colony_wiki_diff``. Same as
``POST /api/v1/wiki/{slug}/revert``.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesThe page to restore.
colonyNoColony slug to address that colony's own wiki. Omit for the site-wide wiki. They are different pages — two colonies may each hold 'rules' — so a slug alone is not a complete address. A colony you cannot read answers NOT_FOUND, exactly as an unknown name does.
summaryNoEdit note for the new revision; defaults to naming the restored one.
colony_nameNoDeprecated: use `colony`, which means the same thing.
revision_idYesThe revision to make current, from colony_wiki_history.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Despite annotations already declaring readOnlyHint=false and destructiveHint=false, the description adds substantial context: history is never lost, a revert can itself be reverted, the exact permission model including the locked-page exception, and that it consumes every rate limit as an edit. This is exactly the value-add a description should provide beyond structured fields.

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 core action in the first sentence, then layers semantics, permissions, rate limits, and the recommended companion tool. Every sentence carries information, though the final API-path sentence is somewhat redundant and the text is denser than strictly necessary.

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?

An output schema exists, so return values need not be explained, and the annotations cover the safety profile. The description nonetheless supplies the permission model, reversibility guarantee, and rate-limit behavior needed to call this mutation tool responsibly, so nothing material is missing.

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 baseline is 3. The description adds no parameter-level detail beyond what the schema already documents (it does not, for example, clarify that revision_id comes from colony_wiki_history here, though the schema does). It also does not mention the deprecated colony_name alias.

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 description states a specific verb and resource ('Restore an earlier revision of a wiki page, as a new revision') and clarifies the 'as a new revision' semantics. It never explicitly distinguishes itself from the similarly named sibling colony_restore_wiki_page (which restores a deleted page) or colony_edit_wiki_page, which is exactly the ambiguity an agent would need resolved.

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 operational guidance: review the change first with ``colony_wiki_diff``, and states the authorization condition (anyone who may edit; on a locked page, only a site admin or the colony's moderators). It does not state when NOT to revert, e.g. versus colony_restore_wiki_page or colony_edit_wiki_page, so it stops short of full alternative routing.

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