Skip to main content
Glama

mediawiki_convert_markdown

Read-onlyIdempotent

Convert Markdown text to MediaWiki markup for wiki pages. Use when adding GitHub docs, README files, or release notes to a wiki.

Instructions

Convert Markdown text to MediaWiki markup. Use this tool when you need to transform Markdown-formatted content into wiki-compatible format before creating or editing wiki pages.

WHEN TO USE:

  • User provides Markdown content to add to the wiki

  • Converting documentation from GitHub/GitLab to wiki format

  • Transforming README files for wiki publishing

  • Preparing release notes written in Markdown

THEMES:

  • "tieto": Tieto brand colors (Hero Blue #021e57 headings, yellow code highlights)

  • "neutral": Clean output without custom colors (default)

  • "dark": Dark mode optimized colors

OPTIONS:

  • add_css: Include CSS styling block for branded appearance

  • reverse_changelog: Reorder changelog entries newest-first

  • prettify_checks: Replace plain checkmarks with emoji

EXAMPLE: Input: "# Hello\nbold and italic\n- item 1\n- item 2" Output: "= Hello =\n'''bold''' and ''italic''\n* item 1\n* item 2"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
markdownYesThe Markdown text to convert to MediaWiki markup
themeNoColor theme: 'tieto' (brand colors), 'neutral' (no styling, default), or 'dark' (dark mode)
add_cssNoInclude CSS styling block for branded appearance
reverse_changelogNoReorder changelog entries with newest first
prettify_checksNoReplace plain checkmarks with emoji ✅

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
wikitextYes
input_lengthYes
output_lengthYes
theme_usedYes
available_themesYes
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so the description doesn't need to restate safety. It adds context on themes and options (e.g., add_css, reverse_changelog), which is helpful but not critical beyond annotations.

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 well-structured with clear sections (WHEN TO USE, THEMES, OPTIONS, EXAMPLE). Each sentence adds value, no redundancy, and the critical info is front-loaded.

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 the presence of an output schema, the description does not need to detail return values. It covers purpose, usage guidelines, options, and an example, leaving no gaps for a conversion tool.

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 the baseline is 3. The description adds value by explaining theme options with examples and the example output, which enhances understanding beyond the schema.

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 converts Markdown to MediaWiki markup, using a specific verb and resource. It distinguishes itself from siblings like mediawiki_edit_page and mediawiki_parse by focusing solely on format transformation.

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

Usage Guidelines4/5

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

The 'WHEN TO USE' section provides explicit scenarios (e.g., converting GitHub docs, README files). However, it does not mention when not to use the tool or suggest alternative siblings.

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