Skip to main content
Glama

Wikimedia Rest Random

wikimedia_rest_random
Read-onlyIdempotent

Random Wikipedia article summary, pick a random article from the encyclopedia. Use for "give me a random Wikipedia article", "surprise me", or seeding exploration. Returns the same shape as page_summary.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "lang": "en"
    },
    "name": "wikimedia_rest_random"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNo
projectNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds the useful fact that the payload matches page_summary's shape, aiding downstream composition. It says nothing about default language/project behavior or cross-wiki variability, which is the main behavioral unknown here.

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?

Two tight sentences, front-loaded with the purpose, then usage cues, then the return-shape note. The opening phrase 'Random Wikipedia article summary, pick a random article from the encyclopedia' restates itself slightly, which is the only waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple (zero required parameters) and an output schema exists, so return-value detail is correctly omitted; referencing page_summary's shape is a nice bonus. The remaining gap is that neither parameter is explained, and openWorld behavior across language editions is left implicit.

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 0%, so the two parameters (lang, project) are undocumented anywhere except a single example value of lang='en'. The description does not compensate by explaining defaults or accepted values, leaving the agent to guess at the project semantics. Baseline performance with adequate schema would be higher, but only partial credit is warranted given the coverage gap.

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 names a specific verb and resource: it returns a random Wikipedia article summary, and adds that it picks a random article from the encyclopedia. This clearly distinguishes it from deterministic siblings like page_summary, though it does not explicitly contrast with wikimedia_rest_featured.

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?

It gives concrete invocation contexts ('give me a random Wikipedia article', 'surprise me', 'seeding exploration'), which tells the agent when this tool is the right pick. It stops short of naming any exclusions or alternative tools for cases where determinism is wanted, so it is clear context rather than full routing guidance.

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.