Skip to main content
Glama

get-pages

Read-onlyIdempotent

Retrieve multiple wiki pages in a single call, returning wikitext source or metadata. Supports up to 50 titles, with missing pages reported inline for batch reading, diffing, or syncing.

Instructions

Returns multiple wiki pages in one call (wikitext source or metadata only). Suited to reading a cluster of related pages, diffing a page family, or syncing pages to local storage. Accepts up to 50 titles; missing pages are reported inline (not as errors). Each page's content is truncated at 50000 bytes by default with a trailing marker listing available sections; get-page with section=N fetches a specific section. For a single page or HTML output, use get-page. requestedTitle is included only when it differs from the resolved title.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titlesYesArray of wiki page titles (1..50)
contentNoType of content to return; "none" returns metadata onlysource
metadataNoWhether to include metadata (page ID, revision info) in the response
followRedirectsNoFollow wiki redirects. When true (default), redirect targets are returned with a "Redirected from:" line in the metadata. Set false to fetch redirect pseudo-pages as-is (sync-fidelity).
wikiNoWiki to target, as a key from the mcp://wikis/ resources (e.g. en.wikipedia.org), or the full mcp://wikis/ URI. Omit to use the default wiki.
Behavior5/5

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

Beyond annotations (readOnly, idempotent, etc.), the description discloses key behaviors: accepts up to 50 titles, missing pages reported inline, content truncated at 50000 bytes with trailing marker, and requestedTitle conditional. No contradictions with annotations; these details enhance agent understanding.

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 a single well-structured paragraph: purpose first, then use cases, then behavioral details. Every sentence contributes meaningful information without redundancy or fluff.

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?

Despite no output schema, the description covers essential return behaviors (truncation, missing pages, redirect handling). However, it does not describe the full response structure (e.g., top-level format), which would improve completeness. Overall, comprehensive for reading pages but leaves some gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds value: explains 'content' enum context, details 'followRedirects' behavior (e.g., 'Redirected from:' line), and clarifies the 'titles' array limit. These enrich semantics beyond the schema descriptions.

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 the tool returns multiple wiki pages (verb+resource), specifies returning wikitext source or metadata only, and distinguishes from sibling 'get-page' by noting it's for multiple pages. The phrase 'Suited to reading a cluster of related pages...' further clarifies the purpose.

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?

The description explicitly gives use cases: 'reading a cluster of related pages, diffing a page family, or syncing pages to local storage.' It also tells when not to use it: 'For a single page or HTML output, use get-page.' This provides clear guidance and an alternative.

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/ProfessionalWiki/MediaWiki-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server