Skip to main content
Glama

search_knowledge_base

Search Diablo II modding knowledge base and site pages by file, column, or topic to find ranked guides, references, patch history, and matching passages with game-version labels.

Instructions

Search diablo2.org: the knowledge base (file guides for every data file such as Skills.txt, ItemStatCost.txt and CubeMain.txt, tutorials, references, Keep history) and the site's own pages (playing and modding guides, modding with AI, patches, history, and the mod, server, tool and community directory). Returns ranked articles with id, title, category, game version label, URL and the best-matching passage. Search with the file or column name and the specific terms the user used. category is an optional slug from the server instructions; limit is 1 to 15.

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": {
      "query": "<query>"
    },
    "name": "search_knowledge_base"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
categoryNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does a fair job: it discloses that results are ranked articles including id, title, category, game version label, URL and the best-matching passage. It also notes that category slugs come from server instructions and that limit is bounded 1-15, though it says nothing about auth needs, rate limits, or whether results are exhaustive.

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 scope of what is searched is front-loaded in the first sentence, followed by return shape and then parameter hints. The parenthetical enumerations are long but each item supports disambiguation from content-specific siblings; a small amount of trimming could still tighten it.

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 three-parameter read-only search tool with no annotations and an existing output schema, the description covers scope, return fields, ranking behavior, and every parameter's meaning. Nothing critical to correct invocation is missing, aside from explicit routing versus sibling search tools.

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 description coverage is 0%, so the description must compensate, and it addresses all three parameters: query strategy (file/column name plus the user's own terms), category as an optional slug sourced from server instructions, and the 1-15 range on limit. The query guidance is the most valuable addition, though it stops short of syntax details or examples of ranked-output implications.

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?

States a specific verb (Search) and a precisely scoped resource: diablo2.org's knowledge base (file guides like Skills.txt, ItemStatCost.txt, CubeMain.txt, tutorials, references) plus the site's own pages (guides, patches, directory). The enumeration of content types lets an agent distinguish it from siblings such as search_code, search_game_data and decomp_search without opening another schema.

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?

The line 'Search with the file or column name and the specific terms the user used' gives query-construction advice, which implies when this tool fits. However, no alternative is named and there is no explicit when-not-to-use statement (e.g., for source code use search_code), so routing against siblings is left to inference.

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