Skip to main content
Glama

yuque_rag_search

Search Yuque docs with RAG-enhanced multi-path queries from LLM keywords. Runs concurrent searches, dedupes by doc_id, and fetches top-N full content.

Instructions

RAG-enhanced search: accepts LLM-generated keywords, runs concurrent multi-path searches, deduplicates by doc_id, fetches top-N full doc content. 详见 references/api/search_api.md

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeNoSearch scope, e.g. scope=group for team-only, or scope=group/book_slug for a repo. Leave empty for global
creatorNoFilter by author login
keywordsYesSearch keywords, comma-separated. Generated by the calling LLM, 5-10 recommended
fetch_docsNoFetch full content of top N documents (default 3, max 10)
max_resultsNoMax search results (default 10, max 50)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose real behavioral traits: concurrent multi-path execution, deduplication by doc_id, and fetching full content of top-N docs, which is useful beyond a bare search label. However it says nothing about permissions, rate limits, or what happens on empty results.

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?

Single dense sentence that front-loads the pipeline stages, with no filler. The trailing external-file reference is mildly unhelpful since the agent cannot read it inline, but the sentence itself is tight.

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?

No output schema and no annotations, so the description is the only behavioral source, yet it omits the return shape (does it return full doc bodies or just snippets when fetch_docs is low?) and any usage routing against sibling search tools. Adequate for the mechanics, incomplete for decision-making.

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 100%, so all five parameters are documented in the schema itself, giving a baseline of 3. The description adds only the LLM-generated keywords idea, which the schema already conveys; scope, creator, fetch_docs, and max_results get no extra meaning.

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?

States a specific verb+resource ('RAG-enhanced search') and enumerates the pipeline: concurrent multi-path searches, dedup by doc_id, fetch top-N full doc content. It is clear what the tool does, but it never contrasts itself with the sibling yuque_search or yuque_web_search, leaving an agent to guess which search to pick.

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 guidance at all — no condition distinguishing it from yuque_search, yuque_web_search, or yuque_list_docs. The only pointer is an external file reference ('详见 references/api/search_api.md'), which is not guidance an agent can act on inline.

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