Skip to main content
Glama

search_documentation

Search repository documentation by keyword to find relevant pages and content snippets for quick information access.

Instructions

在仓库文档中搜索关键词。

全文搜索仓库文档,返回包含关键词的页面和相关内容片段。 适用于快速定位文档中的特定信息。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_pathYes仓库路径,格式: owner/repo 或完整 URL
keywordYes搜索关键词,如 "installation", "API", "config"
languageNo搜索语言,可选 "zh" 或 "en"zh
Behavior2/5

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

No annotations are provided, so the description carries full burden. It mentions what is returned (pages and snippets) but lacks details on authentication needs, rate limits, result limits, or search behavior (e.g., case sensitivity, partial matching). This is minimal disclosure.

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 three short sentences in Chinese, front-loaded with the action, then result, then use case. Every sentence adds value. No redundant or vague phrasing.

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?

Given no output schema and 3 parameters, the description covers the main purpose and basic behavior. However, it omits details like whether language affects search results, potential error cases, or any dependencies. Slightly above minimal but not fully comprehensive.

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 coverage is 100%, and the description adds value by giving examples for 'keyword' ('installation', 'API', 'config') and clarifying 'repo_path' format ('owner/repo or full URL'). The description also explains the search scope (full-text). This goes beyond the schema's basic descriptions.

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 clearly states the tool does full-text search in repository documentation, returning pages and snippets. It includes a use case 'quickly locate specific information'. However, it does not explicitly distinguish from sibling tool 'ask_repo_ai', which may also perform search-like functions.

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 description provides a usage hint: 'suitable for quickly locating specific information in documentation.' But no explicit when-not-to-use or comparison with alternatives like 'ask_repo_ai' or 'fetch_documentation_page'.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ejfkdev/zread-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server