Skip to main content
Glama

wikipedia_get_pages_in_category

Retrieve pages, subcategories, or files from a specific Wikipedia category to explore related topics and gather source material for research.

Instructions

Browse pages within a specific Wikipedia category

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "category": "<category>"
    },
    "name": "wikipedia_get_pages_in_category"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage codeen
typeNoType of category members to returnpage
limitNoMaximum number of pages to return
categoryYesCategory name (with or without "Category:" prefix)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.3.3

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden and says nothing about behavior. It omits that the call is a non-destructive read, how results are ordered, whether a limit implies truncation/pagination, and what the response contains. For a browsing tool with a default limit of 20 and a hard cap of 100, the truncation behavior is exactly the kind of detail the description should surface.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though its brevity borders on under-specification rather than tight communication of a complete idea.

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?

With four parameters, no annotations, and no output schema, the definition should explain return shape and limit/pagination semantics. Instead it provides only a purpose line, leaving the agent to discover behavior empirically even though the schema-level documentation of parameters is 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 description coverage is 100%, so the schema already documents lang, type, limit, and the Category: prefix handling, which sets the baseline at 3. The description adds no parameter meaning beyond the schema, and the word 'pages' mildly under-describes the type enum's subcat and file options, but it does not actively mislead.

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?

States a specific verb and resource: 'Browse pages within a specific Wikipedia category.' That is enough to distinguish it from a page-fetch tool like wikipedia_get or a query tool like wikipedia_search. It stops short of 5 because it does not acknowledge that the tool can also return subcategories or files, so the stated purpose is narrower than the actual capability.

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?

There is no guidance on when to choose this over the sibling enumeration tools, nor on typical workflows such as walking subcategories or paging through large categories. The agent must infer everything about selection from the one-line purpose statement.

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