Skip to main content
Glama

mediawiki_search

Read-onlyIdempotent

Search the entire wiki to find pages containing specific text. Returns page titles, snippets with highlights, and relevance scores for quick navigation.

Instructions

Search ACROSS the entire wiki for pages containing specific text.

USE WHEN: User asks "find pages about X", "where is X documented", "search for X", or doesn't know which page contains information.

NOT FOR: Searching within a specific known page (use mediawiki_search_in_page instead).

PARAMETERS:

  • query: Search text (required)

  • limit: Max results (default 20)

RETURNS: Page titles, snippets with highlights, and relevance scores.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rationaleNoOptional one-sentence explanation of why you are calling this tool. Used for audit trails when present.
queryYesSearch query text
limitNoMaximum results to return (default 20, max 500)
offsetNoOffset for pagination

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
total_hitsYes
resultsYes
has_moreYes
next_offsetNo
Behavior4/5

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

Annotations already provide readOnlyHint, idempotentHint, and openWorldHint. The description adds that it searches the entire wiki and returns snippets with highlights and relevance scores. No contradictions, and the description supplements annotations well.

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 (purpose, use when, not for, parameters, returns). It is concise and front-loaded with the most important information.

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?

Given the tool's read-only, idempotent, open-world nature and complete schema, the description covers when to use, parameters, and return types. Slightly lacking in pagination details but overall complete.

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

Parameters3/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 reiterates query and limit with defaults but adds no significant new meaning beyond the schema's parameter 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 'Search ACROSS the entire wiki for pages containing specific text.' It distinguishes itself from siblings like mediawiki_search_in_page, making the purpose very specific.

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 'USE WHEN' and 'NOT FOR' sections with a direct sibling reference (mediawiki_search_in_page) provide excellent guidance on when to use this tool versus alternatives.

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