Skip to main content
Glama

OpenAny

Wikipedia Revision Comparison

wikimedia_get_revision_from_compare_to

Compare two revisions of the same English Wikipedia article and return a line-by-line diff. Attribute reused text to Wikipedia contributors and link to the source article and its license. Uses the caller's OpenAny gateway credentials. Charges and authorization are determined by the gateway.

Input Schema

NameRequiredDescriptionDefault
toYesTarget revision ID from the same article.
fromYesBase revision ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose real behavior beyond the signature: English-Wikipedia-only scope, a line-by-line diff return, an attribution/license obligation for reused text, and that charges/authorization come from the caller's OpenAny gateway credentials. It omits error behavior for cross-article IDs and any read-only framing, so key operational details are still missing.

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?

Two sentences, front-loaded with the operation and its output, followed by the license obligation and gateway note. No redundant restatement of the title or the schema.

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?

No output schema exists, and the description compensates by stating the return is a line-by-line diff plus attribution/license requirements and cost handling. What remains thin is the operational path to the inputs (how to get revision IDs) and mismatch handling, which matter for a two-ID comparison tool.

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?

Schema coverage is 100% ("from" = base revision ID, "to" = target revision ID from the same article), so the baseline is 3. The description adds a constraint the schema only gestures at: both IDs must belong to the same English Wikipedia article, which tells the agent the pair is not arbitrary.

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?

"Compare two revisions of the same English Wikipedia article and return a line-by-line diff" gives a specific verb (compare), a specific resource (two revisions), the scope restriction (same article, English Wikipedia), and the return shape. An agent can distinguish this from sibling wikimedia_get_revisions (which lists revisions) without inspecting either schema.

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

Usage Guidelines3/5

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

Usage is only implied: the agent must already hold two revision IDs from one article, and the description states that constraint. It never names an alternative or prerequisite, e.g. that wikimedia_get_revisions should be called first to obtain revision IDs, nor does it say what to do if the IDs belong to different articles.

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.