Skip to main content
Glama

搜索语雀

yuque_search
Read-only

Search Yuque documents or knowledge bases by keyword using the desktop client's search index. Returns matching docs or books, with configurable result limits.

Instructions

全文搜索文档或知识库(复用语雀站内搜索索引)。

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

Input Schema

NameRequiredDescriptionDefault
typeNodoc
limitNo
queryYes搜索关键词

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description (in Chinese) adds that results come from the Yuque site search index — useful context implying indexed, possibly eventually-consistent results — but it says nothing about ranking, pagination, or result freshness.

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 tight sentence with the core action front-loaded and no filler. It is efficient but so terse that it omits routing and scope details that would earn higher marks.

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

Completeness3/5

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

For a 3-parameter search tool with no output schema and read/write annotations already supplied, the description is minimally adequate. It does not say what a hit contains or how the doc/book target affects results, leaving gaps an agent must resolve by trial.

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 only 33%; only 'query' (搜索关键词) is documented in the schema. The description's phrase '文档或知识库' loosely maps to the doc/book 'type' enum, adding a little meaning, but 'limit' behavior and the practical effect of 'type' are left unexplained, so no compensation for the coverage gap.

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 gives a specific verb and scope: '全文搜索文档或知识库' (full-text search documents or knowledge bases), which is clearly different from the CRUD/list siblings (create_doc, list_docs, get_doc). It does not explicitly name a sibling to contrast with, so it stops short of 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 Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance. An agent must infer on its own whether to search here versus calling yuque_list_docs or yuque_list_recent, and nothing states prerequisites or expected result shape.

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