Skip to main content
Glama
medxpert-library-connector

medxpert-library-connector

search_knowledge

Search a locally indexed Markdown wiki by meaning and return relevant snippets with similarity scores for evidence-backed answers.

Instructions

语义检索本地知识库(wiki .md 文档)。返回相关片段及相似度。例:'二类注册需提交哪些资料'、'ISO 13485 现行版本'。

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"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes查询内容
top_kNo返回条数(1-20,默认 5)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full load. It does disclose the return shape (relevant snippets plus similarity scores), which is genuine behavioral value, and 'semantic search' implies a non-destructive read. It omits permission/scope requirements, whether the index is local-only, and any freshness or rate considerations, so disclosure is partial for an annotation-free tool.

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?

Three short sentences: what it searches, what it returns, and concrete examples. The order is front-loaded with purpose and return shape, with examples last. The examples are compact and earn their space by conveying query style, though they border on illustrative padding for a two-parameter tool.

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 simple two-parameter retrieval tool with no output schema, the description covers the essentials: source corpus, return content, and query style. The main remaining gap is the missing contrast with ask_knowledge, which matters given both appear to answer knowledge questions, but nothing required to invoke the tool correctly is absent.

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 coverage is 100% and both parameters (query, top_k) are documented in the schema, including the 1-20 range and default of 5. The description adds moderate value by showing through examples that 'query' takes a natural-language question rather than keywords, which fits the semantic-retrieval framing. It adds nothing about how top_k affects results beyond what the schema says.

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 states a specific verb+resource: semantic retrieval over a local knowledge base of wiki .md documents, plus what it returns (relevant snippets with similarity scores). It is clear enough to distinguish from get_page/list_sources by the 'semantic search' framing, but it never names the closest sibling ask_knowledge, so differentiation is left implicit.

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 two example queries ('二类注册需提交哪些资料', 'ISO 13485 现行版本') implicitly show the intended use case: natural-language questions answered from documentation. However, there is no explicit when-not guidance and no routing between this and ask_knowledge, which is presumably the closest alternative for question answering. Usage is implied rather than stated.

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

Deploy Server

Other Tools