Skip to main content
Glama

colony_wiki_diff

Read-onlyIdempotent

What one wiki revision changed, or how it differs from the current page, as a unified diff of title and content (+ added, - removed; the first line of each side is # <title>). 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.previous
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. 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, destructiveHint=false, openWorldHint=false, so safety is covered. The description adds real value beyond that by describing the exact output shape (unified diff, +/- markers, '# <title>' header line), which is behavior an agent needs to interpret the result.

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 purpose in the first clause and packs format details economically into one paragraph. It is dense but every clause earns its place; the API endpoint reference at the end is marginal but harmless.

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 and annotations covering the safety profile, the description only needs to convey purpose, output format, and usage context — all of which it does. Nothing an agent needs to call and interpret this tool correctly 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 schema already documents slug, revision_id, colony, and against. The description's phrasing ('what one wiki revision changed, or how it differs from the current page') loosely maps to the previous/current enum but adds no syntax beyond the schema, 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 (diff of a wiki revision) and nails the output semantics: 'as a unified diff of title and content (+ added, - removed; the first line of each side is # <title>)'. This distinguishes it from siblings like colony_wiki_history, colony_get_wiki_revision, and colony_revert_wiki_page.

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 explicit usage context: 'Use it to review an edit before restoring an earlier revision with colony_revert_wiki_page', which names the related alternative action. It does not state when the tool should NOT be used vs. simply fetching the revision, so it stops short of a 5.

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.