Skip to main content
Glama

search-page-by-prefix

Find MediaWiki pages by title prefix for fast autocomplete-style search. Returns matching titles and IDs when you know the start of a page title.

Instructions

Search for pages by title prefix (autocomplete-style). Returns matching page titles and IDs. Faster than full-text search when you know the beginning of the page title.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wikiNoWiki name (omit to search all wikis)
limitNoMaximum number of results
queryYesTitle prefix to search for
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses that it returns matching page titles and IDs, notes the autocomplete-style behavior, and mentions performance, but it doesn't address authorization, ordering, case sensitivity, or no-result behavior. This is adequate but not comprehensive.

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 three concise sentences, each providing distinct value: purpose, return contents, and usage guidance. It's front-loaded with the primary purpose and has no redundant wording.

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?

For a simple search tool, the description covers purpose, return format, and when to use it. The main gaps are not naming the alternative tool explicitly and not mentioning edge-case behavior, but overall it's sufficiently complete for an agent to select and invoke it correctly.

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?

The input schema already describes all 3 parameters with 100% coverage, so the baseline is 3. The description doesn't add extra semantic meaning beyond what the schema provides, such as clarifying the query as a prefix (already in schema) or how limit behaves.

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 searches for pages by title prefix (autocomplete-style), names the resource (pages) and the specific scope (title prefix), and differentiates from full-text search by noting it's faster when the beginning of the title is known. This distinguishes it from sibling tools like search-page or find-page.

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?

It provides clear guidance on when to use it: 'when you know the beginning of the page title', and implies an alternative (full-text search) for other cases. However, it doesn't explicitly name the sibling alternative tool, which would strengthen the guidance.

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/ttpears/mediawiki-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server