Skip to main content
Glama

mediawiki_get_stale_pages

Read-onlyIdempotent

Identify wiki pages that have not been edited within a set number of days to find outdated or stale content needing review.

Instructions

Find pages that haven't been edited in a specified number of days.

USE WHEN: User asks "find outdated pages", "which pages need review", "show stale content", "wiki hygiene check".

NOT FOR: Recent activity (use mediawiki_get_recent_changes). Not for orphaned pages (use mediawiki_find_orphaned_pages).

PARAMETERS:

  • days: Staleness threshold in days (default 90)

  • category: Limit to pages in this category (optional)

  • namespace: Namespace to check (default 0 = main)

  • limit: Max pages to return (default 50, max 200)

RETURNS: Stale pages sorted by last edit (oldest first), with days since edit and last editor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoPages not edited in this many days (default 90)
categoryNoLimit to pages in this category
namespaceNoNamespace to check (default 0 = main)
limitNoMax pages to return (default 50, max 200)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
days_thresholdYes
stale_pagesYes
stale_countYes
total_scannedYes
messageYes
Behavior5/5

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

Annotations already mark the tool as read-only and idempotent. The description adds behavioral details such as sorting order ('oldest first'), returned fields ('days since edit and last editor'), and parameter constraints (default and max values). No contradictions with 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 (USE WHEN, NOT FOR, PARAMETERS, RETURNS) and is concise yet complete. Every sentence adds value without 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 the tool's simplicity (4 optional parameters), the presence of an output schema, and rich annotations, the description covers all necessary aspects: purpose, usage guidance, parameter details, and return behavior. 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 the baseline is 3. The description adds value by explaining the sorting behavior, providing default values for 'days' and 'limit', and clarifying the 'max 200' constraint. Slightly above baseline.

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's purpose: 'Find pages that haven't been edited in a specified number of days.' It also includes specific use cases ('USE WHEN: User asks "find outdated pages"...') and explicitly differentiates from sibling tools like mediawiki_get_recent_changes and mediawiki_find_orphaned_pages.

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 provides explicit 'USE WHEN' and 'NOT FOR' sections, naming specific alternative tools for different contexts. This helps the agent decide when to invoke this tool versus its 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