Skip to main content
Glama

Wikipedia REST Knowledge MCP

Get random Wikipedia summary

get_random_wikipedia_summary
Read-onlyIdempotent

Fetch a random Wikipedia article summary with short description, extract, and canonical URL.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
langNoWikipedia language edition code (default en).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, non-destructive and open-world behavior, so the safety profile is covered. The description adds useful detail about what the payload contains, but says nothing about per-call variability of 'random' results, rate limits, or failure behavior for an invalid lang code.

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?

A single, front-loaded sentence with no filler; every clause contributes (verb, resource, scope, and return contents). It stops short of being maximally structured only because it packs purpose and return fields into one flat statement.

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?

For a zero-required-parameter read tool with full annotation coverage and no output schema, the description does the important extra job of naming the returned fields. It is essentially complete, with only minor omissions around result variability and error cases.

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% with the lang parameter documented as 'Wikipedia language edition code (default en)', and the parameter is optional. The description adds no meaning beyond that, so the baseline of 3 applies.

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 gives a specific verb and resource ('Fetch a random Wikipedia article summary') and even enumerates the returned fields (short description, extract, canonical URL). The word 'random' implicitly distinguishes it from get_wikipedia_summary, but no sibling is named, so an agent must infer that contrast rather than read it.

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

Usage Guidelines2/5

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

There is no when-to-use, when-not-to-use, or alternative-routing guidance. The only hint is the adjective 'random', which suggests serendipitous discovery, but the description never states how to choose between this and get_wikipedia_summary for a titled lookup.

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.