Skip to main content
Glama

mediawiki_audit

Read-onlyIdempotent

Audit your wiki's health by checking for broken links, terminology issues, orphaned pages, and recent activity, with a health score and actionable recommendations.

Instructions

Run comprehensive wiki health audit with multiple checks.

USE WHEN: User asks "run health check", "audit the wiki", "check wiki quality".

PARAMETERS:

  • checks: Array of checks to run (default all):

    • "links": Broken internal links

    • "terminology": Glossary violations

    • "orphans": Unlinked pages

    • "activity": Recent changes

    • "external": Broken external links (slow)

  • limit: Max items per check (default 20)

RETURNS: Health score (0-100), detailed results per check, and recommendations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rationaleNoOptional one-sentence explanation of why you are calling this tool. Used for audit trails when present.
pagesNoSpecific pages to audit
categoryNoCategory to audit (alternative to pages)
limitNoMax pages to audit (default 20, max 50)
checksNoWhich checks to run: 'links', 'terminology', 'orphans', 'external', 'activity'. Default: all except 'external'

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
wiki_nameYes
audited_atYes
pages_auditedYes
health_scoreYes
summaryYes
broken_linksNo
terminologyNo
orphaned_pagesNo
external_linksNo
recent_activityNo
errorsNo
Behavior5/5

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

Beyond annotations (readOnlyHint, idempotentHint, openWorldHint), the description warns that the 'external' check is slow, and states default checks exclude 'external'. This adds valuable behavioral 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?

Description is well-structured with clear sections (USE WHEN, PARAMETERS, RETURNS), uses bullet points for checks, and is concise with no superfluous text.

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?

Most aspects are covered: when to use, what checks do, return format. However, it omits explanation of optional input parameters (rationale, pages, category) and how the health score is derived, though output schema may cover return format.

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%, but description adds meaning by listing check values with descriptions and providing default/limits for 'limit' parameter. It does not repeat schema details for optional parameters like 'rationale' or 'pages'.

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 'Run comprehensive wiki health audit with multiple checks' and enumerates specific check types (links, terminology, orphans, activity, external). It returns a health score and recommendations, distinguishing it from sibling tools that focus on single checks (e.g., mediawiki_check_links).

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?

Explicit 'USE WHEN' trigger phrases are provided (e.g., 'run health check', 'audit the wiki'). It lists check options, implying when to use which, but does not explicitly state when NOT to use this tool in favor of a more specific 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