Skip to main content
Glama

wikipedia_search

Search Wikipedia by text, multiple queries, or coordinates to retrieve articles and nearby results within a specified radius.

Instructions

Search Wikipedia by text query, multiple queries, or coordinates. Exactly one of query, queries, or coord is required. Nearby searches honour radius (metres).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "wikipedia_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage codeen
coordNoCoordinates for a geosearch.
limitNoResults per query (max 10), or nearby results (max 50).
queryNoSingle search query.
radiusNoNearby search radius in metres.
queriesNoMultiple search queries (max 10).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.3.3

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses two non-obvious behavioral facts: the mutual-exclusivity constraint across the three input parameters and that nearby searches are radius-bounded in metres. It does not state that this is a read-only operation, what the response contains (titles, snippets, page IDs), or any rate/limit behavior.

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?

Three short sentences, front-loaded with purpose before constraints. Every clause carries information: the modes, the exclusivity rule, and the radius semantics. No filler or restatement of the tool name.

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 six-parameter tool with a nested coordinate object, no annotations, and no output schema, the description covers the decision-critical information: which mode to select and the exclusivity rule. The remaining gaps (return shape, language behavior) are partly mitigated by a fully documented schema. A sentence on what results look like would close the last gap.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline would be 3, but the description adds meaning the schema cannot express: the exactly-one-of relationship among query, queries, and coord, plus the fact that radius applies only to nearby (coordinate) searches. That disambiguation of an otherwise unconstrained optional-parameter set is genuinely useful. It does not clarify the dual interpretation of limit (per-query vs nearby), which the schema itself handles.

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 description names a specific verb ("Search") and resource ("Wikipedia") and enumerates the three supported input modes: text query, multiple queries, and coordinates. It is immediately distinguishable from retrieval tools like wikipedia_get or wikipedia_random. It stops short of naming a sibling alternative or clarifying how it differs from generic web search tools, so a 4 rather than a 5.

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

Usage Guidelines3/5

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

"Exactly one of query, queries, or coord is required" gives a clear operative rule for choosing an input mode, which is real guidance. However, there is no statement of when to prefer this tool over wikipedia_get or the other search siblings, and no exclusions. Usage is implied by the mode list rather than spelled out.

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