Skip to main content
Glama

mediawiki_get_revisions

Read-onlyIdempotent

Retrieve revision history for a specific page, including timestamps, users, and edit summaries. Filter by time range, user, or limit results.

Instructions

Get revision history for a specific page.

USE WHEN: User asks "who edited the FAQ", "show edit history of X", "when was this page last changed".

NOT FOR: Wiki-wide activity (use mediawiki_get_recent_changes). Not for comparing versions (use mediawiki_compare_revisions).

PARAMETERS:

  • title: Page name (required)

  • limit: Max revisions (default 50)

  • start, end: Time range (ISO 8601)

  • user: Filter by user

RETURNS: Revision list with timestamps, users, sizes, and edit summaries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rationaleNoOptional one-sentence explanation of why you are calling this tool. Used for audit trails when present.
titleYesPage title to get revision history for
limitNoMax revisions to return (default 20, max 100)
startNoStart from this timestamp (ISO 8601, newer first)
endNoEnd at this timestamp (ISO 8601)
userNoFilter to revisions by this user

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYes
page_idYes
revisionsYes
countYes
has_moreYes
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint. The description adds valuable context: it states the tool returns a revision list with timestamps, users, sizes, and edit summaries, and mentions default and max limits. It does not contradict annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with labeled sections (USE WHEN, NOT FOR, PARAMETERS, RETURNS) and is free of fluff. Every sentence either guides usage, clarifies behavior, or documents parameters/returns. It is both concise and informative.

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?

Given the tool's complexity (6 parameters, output schema exists), the description covers all essential aspects: purpose, usage conditions, parameter details, and return format. It leaves no critical gaps for an agent to misinterpret.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% coverage with descriptions, but the description adds a default limit (50) that differs from the schema default (20), and clarifies the purpose of each parameter concisely. It also specifies the return structure, which is not in the schema.

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?

The description begins with a clear statement 'Get revision history for a specific page.' It provides specific example queries like 'who edited the FAQ' and explicitly distinguishes from sibling tools such as mediawiki_get_recent_changes and mediawiki_compare_revisions, ensuring the agent understands the tool's exact scope.

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

Usage Guidelines5/5

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

The description includes a 'USE WHEN' section with concrete user intents and a 'NOT FOR' section that lists what the tool should not be used for, along with explicit alternative tool names. This gives the agent precise guidance on when to invoke this tool versus others.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/olgasafonova/mediawiki-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server