Skip to main content
Glama

mediawiki_get_external_links_batch

Read-onlyIdempotent

Batch retrieve external URLs from up to 10 wiki pages at once, grouped by source page.

Instructions

Batch retrieve external URLs from multiple pages at once.

USE WHEN: User asks "get links from these 5 pages", "collect URLs from multiple articles".

NOT FOR: Single page (use mediawiki_get_external_links - more efficient).

PARAMETERS:

  • titles: Array of page names (required, max 10)

RETURNS: External URLs grouped by source page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rationaleNoOptional one-sentence explanation of why you are calling this tool. Used for audit trails when present.
titlesYesPage titles to get external links from (max 10)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pagesYes
total_linksYes
Behavior4/5

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

Annotations already indicate read-only, idempotent, and open-world behavior. The description adds the batch size limit (max 10) and the return format (grouped by source page), providing useful extra context.

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 concise and well-structured with clear sections: purpose, when to use, limitations, parameters, and returns. 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?

The description is complete for a simple batch retrieval tool given the annotations and output schema. It could mention behavior for missing pages, but that is a minor omission.

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% and the description repeats the information already in the schema (titles is a required array of strings, max 10). No additional parameter meaning is provided beyond what the schema offers.

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 clearly states it is for batch retrieval of external URLs from multiple pages, and explicitly distinguishes from the single-page sibling tool mediawiki_get_external_links.

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?

It includes explicit USE WHEN and NOT FOR sections, providing examples of user intents and directing to an alternative for single-page requests.

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