Skip to main content
Glama
crunchtools

mcp-mediawiki-crunchtools

by crunchtools

get_page_categories_tool

Retrieve categories assigned to a MediaWiki page by specifying its title. Optionally include hidden categories and set a limit on the number returned.

Instructions

Get categories that a page belongs to.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYesPage title
limitNoMaximum categories to return (default: 50, max: 500)
show_hiddenNoInclude hidden categories (default: False)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure, but it only restates the function name. It does not mention whether the tool is read-only, requires authentication, what happens if the page doesn't exist, or how hidden categories are handled (though the schema includes a show_hidden parameter).

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?

The description is a single concise sentence that is front-loaded with the core functionality. However, it is overly terse and could include more context without becoming verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has three parameters and an output schema, the description is incomplete. It lacks context on error handling, default behavior (e.g., limit of 50, hidden categories excluded by default), and any side effects. Although the output schema exists, the description should still provide a high-level overview of the return value.

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

Parameters2/5

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

Schema coverage is 100%, but the description adds no meaning beyond what the schema already provides. It does not explain the purpose or behavior of the title, limit, or show_hidden parameters, leaving the agent to rely solely on the schema.

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 retrieves categories for a page. The verb 'Get' and resource 'categories that a page belongs to' are specific, and it distinguishes from siblings like list_categories_tool (which lists all categories) and get_category_members_tool (which gets pages in a category).

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 on when to use this tool versus alternatives such as list_categories_tool or get_category_members_tool. It does not specify that this is for a specific page, nor does it mention any prerequisites or conditions.

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

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