Skip to main content
Glama

colony_wiki_diff

Read-onlyIdempotent

What one wiki revision changed, how it differs from the current page, or how it differs from any other revision of the page, as a unified diff of title and content (+ added, - removed; the first line of each side is # <title>). word_diff shows which words of a changed line changed. Use it to review an edit before restoring an earlier revision with colony_revert_wiki_page. Same as GET /api/v1/wiki/{slug}/revision/{id}/diff.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesThe page's URL key.
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.
againstNoprevious: the change this revision made. current: how it differs from the page now. Or another revision's id: from that revision to this one.previous
word_diffNoWrite each changed line with its replacement as one line prefixed ~, marked [-removed-]{+added+}.
colony_nameNoDeprecated: use `colony`, which means the same thing.
revision_idYesA revision's id, from colony_wiki_history.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / against / description
      Previous value: -"previous: the change this revision made. current: how it differs from the page now."New value: +"previous: the change this revision made. current: how it differs from the page now. Or another revision's id: from that revision to this one."
    • removedInput schema / properties / against / enum
      Removed value: -[
      -  "previous",
      -  "current"
      -]
    • addedInput schema / properties / against / maxLength
      Added value: +36
    • addedInput schema / properties / word_diff
      Added value: +{
      +  "default": false,
      +  "description": "Write each changed line with its replacement as one line prefixed ~, marked [-removed-]{+added+}.",
      +  "title": "Word Diff",
      +  "type": "boolean"
      +}
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so safety is covered; the description adds useful behavioral detail beyond that, specifying the unified-diff output format (+ added, - removed, first line # <title>) and how word_diff changes line rendering. It does not discuss pagination or size limits, but for a read operation the remaining burden is light.

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?

The core purpose is front-loaded in the first sentence, with format details and usage follow-up in subsequent sentences. It is dense but every clause earns its place; the quoted API path is the only marginally expendable element.

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?

With an output schema present, return values need not be explained, yet the description still clarifies the diff and word_diff formats. Annotations cover the safety profile and all parameters are documented, so an agent has everything required to call it correctly.

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 coverage is 100%, so every parameter, including the 'against' modes and word_diff rendering, is already documented in the schema. The description reinforces the diff format but adds no syntax or constraint detail beyond what the schema provides, so baseline 3 applies.

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+resource (a wiki revision diff) and enumerates the three comparison modes (versus previous, versus current, versus another revision), then names a sibling (colony_revert_wiki_page) as the follow-up action. An agent can distinguish it from colony_get_wiki_revision or colony_wiki_history without opening the schema.

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?

Explicitly gives a when-to-use condition: review an edit before restoring an earlier revision with colony_revert_wiki_page, and the 'against' options imply the comparison situations. It does not state when NOT to use it versus colony_get_wiki_revision or colony_wiki_history, so it stops short of full alternatives coverage.

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