Skip to main content
Glama

get-page

Read-onlyIdempotent

Get a wiki page as wikitext, HTML, or metadata. Optionally retrieve only the page outline or a specific section to bypass content truncation.

Instructions

Returns a single wiki page (wikitext source, rendered HTML, or metadata only). If the title does not exist, an error is returned. Use metadata=true to retrieve the revision ID (for edit-conflict detection), page size, and section outline. Set content="none" to fetch only metadata. Large content is truncated at 50000 bytes by default with a trailing marker listing available sections; a follow-up call with section=N fetches a specific section. For more than one page at a time, use get-pages. For a specific historical revision, use get-revision.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYesWiki page title
contentNoType of content to returnsource
metadataNoWhether to include metadata (page ID, revision info, size, section outline) in the response
sectionNoSection number (0 = lead; 1..N = heading sections). Narrows content to one section.
Behavior4/5

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

Annotations already provide readOnlyHint, destructiveHint, idempotentHint. The description adds important behavioral details: truncation at 50000 bytes with trailing marker, error on missing title, and how to fetch specific sections. 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?

Concise yet comprehensive. Front-loaded with purpose, then detailed parameter usage. Every sentence adds value with no redundancy.

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

Completeness5/5

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

Given annotations and input schema, the description covers all necessary context: truncation behavior, error handling, relationships to siblings, and return format implied (wikitext, HTML, metadata, sections). No gaps.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. The description adds meaning: explains metadata=true yields revision ID and section outline, content values (source/html/none), and section parameter range (0=lead, 1..N).

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 returns a single wiki page with options for wikitext, HTML, or metadata. It distinguishes from sibling tools like get-pages (for multiple pages) and get-revision (for historical revisions).

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 instructions on when to use metadata=true, content='none', and section parameter. Also provides alternatives for multiple pages (get-pages) and historical revisions (get-revision).

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