Skip to main content
Glama

mediawiki_get_related

Read-onlyIdempotent

Retrieve pages related to a wiki page using links, categories, or backlinks. Provide the page title and choose the method to find associated content.

Instructions

Find pages related to a given page via links and categories.

USE WHEN: User asks "what pages are related to X", "show linked pages", "find associated content".

NOT FOR: Finding content-similar pages (use mediawiki_find_similar_pages for duplicate detection).

PARAMETERS:

  • title: Page name (required)

  • method: "categories" (default), "links", "backlinks", or "all"

  • limit: Max related pages (default 20)

RETURNS: Related page titles with relationship type.

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 find related pages for
limitNoMaximum related pages to return (default 20, max 50)
methodNoMethod to find related: 'categories' (default), 'links', 'backlinks', or 'all'

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYes
related_pagesYes
countYes
methodYes
categories_usedNo
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 that it returns related page titles with relationship type, which is consistent and confirms behavioral traits. No contradictions.

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?

Description is well-structured with clear sections (USE WHEN, NOT FOR, PARAMETERS, RETURNS). It is concise, front-loaded, and every sentence adds value.

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?

Given the presence of an output schema, the description covers usage context, parameters, and return summary. It is sufficient for the tool's complexity, though no examples are provided.

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 input schema already documents all parameters. The description repeats defaults and enumeration but adds no new meaning beyond summarizing. Baseline 3 is appropriate.

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?

Description clearly states 'Find pages related to a given page via links and categories' with specific verb+resource. It distinguishes from sibling tool mediawiki_find_similar_pages, which is for duplicate detection.

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?

Explicit USE WHEN and NOT FOR sections provide clear context for when to call this tool, including example user queries, and explicitly state when not to use it, pointing to an alternative sibling tool.

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