Skip to main content
Glama

kb_search

Search a local Markdown knowledge base by keyword to retrieve known monster, BOSS, or tactic details; optionally limit results to a specific game folder.

Instructions

在本地 Markdown 知识库里做关键词检索。

用途:查某只怪 / 某个 BOSS / 某套战术的已知资料(语义检索优先,不可用时降级为全文匹配)。 入参:keyword 必填关键词;game_name 可选,限定在某个游戏文件夹内搜索。 返回:命中的文档片段文本;没有命中时返回空结果或提示文本。 下一步:把资料用于决策;资料缺失或过时就用 kb_write / kb_append 补上。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keywordYes
game_nameNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and usefully discloses the retrieval mode order: semantic search first, falling back to full-text matching if unavailable. It also describes what is returned on success and on no hit, though it does not explicitly state that the operation is read-only or mention permission/auth constraints.

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?

The description is organized into clear semantic sections (purpose, inputs, returns, next step) and is front-loaded with the core operation. Every part earns its place by covering purpose, required inputs, output behavior, and follow-up actions.

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

Completeness5/5

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

Given the tool's moderate complexity, absent annotations, 0% schema description coverage, and the presence of an output schema, the description is complete enough to invoke the tool correctly. It compensates for schema gaps and adds retrieval behavior and workflow guidance that the structured fields do not provide.

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?

Schema description coverage is 0%, so the description must define the parameters, and it does so completely: keyword is required, game_name is optional and scopes the search to a specific game folder. This adds precisely the meaning missing from 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 states a specific verb and resource: keyword retrieval in a local Markdown knowledge base. It also clarifies the intended content domain (monsters, bosses, tactics) and distinguishes the tool from write-oriented siblings by describing kb_write / kb_append as follow-up tools.

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

Usage Guidelines4/5

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

It gives clear usage context (looking up known information about a monster, boss, or tactic) and explicitly names kb_write / kb_append as alternatives when material is missing or outdated. It does not state when not to use this tool or name other search/list alternatives, so it stops short of full when/when-not guidance.

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