Skip to main content
Glama
crunchtools

mcp-mediawiki-crunchtools

by crunchtools

get_category_members_tool

Retrieve pages, subcategories, and files from a MediaWiki category, with optional type filtering and pagination for browsing wiki content.

Instructions

Get pages in a category.

Args: category: Category name (with or without "Category:" prefix) member_type: Filter by type: page, subcat, file (default: all) limit: Maximum results (default: 50, max: 500) continue_from: Continue token for pagination

Returns: List of category members with titles and types

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
categoryYes
member_typeNo
continue_fromNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.1.4
    • removedInput schema / properties / category / description
      Removed value: -"Category name (with or without \"Category:\" prefix)"
    • removedInput schema / properties / continue_from / description
      Removed value: -"Continue token for pagination"
    • removedInput schema / properties / limit / description
      Removed value: -"Maximum results (default: 50, max: 500)"
    • removedInput schema / properties / member_type / description
      Removed value: -"Filter by type: page, subcat, file (default: all)"
  2. Changed4 schema fields changed
    • addedInput schema / properties / category / description
      Added value: +"Category name (with or without \"Category:\" prefix)"
    • addedInput schema / properties / continue_from / description
      Added value: +"Continue token for pagination"
    • addedInput schema / properties / limit / description
      Added value: +"Maximum results (default: 50, max: 500)"
    • addedInput schema / properties / member_type / description
      Added value: +"Filter by type: page, subcat, file (default: all)"
  3. First observedv0.1.3

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It successfully documents the pagination mechanism (continue_from) and return structure, but omits error handling (e.g., behavior for non-existent categories), rate limits, and sorting behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Uses a clear docstring structure (description, Args, Returns) with efficient formatting. All content earns its place, though the Returns section is technically redundant given the presence of an output schema.

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 output schema exists, the description appropriately focuses on parameter semantics and high-level return description. Covers the critical pagination pattern for a list operation, though error case documentation would improve completeness.

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

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The Args section fully compensates for 0% schema description coverage by documenting all 4 parameters: category (with prefix note), member_type (valid values: page/subcat/file), limit (default 50, max 500), and continue_from (pagination token).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening line 'Get pages in a category' provides a specific verb and resource. While the name makes the distinction from siblings like get_page_categories_tool and list_categories_tool reasonably clear, the description itself does not explicitly differentiate these inverse operations.

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

Usage Guidelines2/5

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

No guidance provided on when to use this tool versus alternatives like list_pages_tool or get_page_categories_tool. No mention of prerequisites (e.g., category existence) or when pagination is necessary.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.