Skip to main content
Glama

feishu_search_doc_wiki

Search Feishu documents and Wiki knowledge bases using keywords, with filtering by type, creator, or time. Returns highlighted results with titles and summaries.

Instructions

【以用户身份】飞书文档与 Wiki 统一搜索工具。同时搜索云空间文档和知识库 Wiki。Actions: search。【重要】query 参数是搜索关键词(必填),filter 参数可选。【重要】filter 不传时,搜索所有文档和 Wiki;传了则同时对文档和 Wiki 应用相同的过滤条件。【重要】支持按文档类型、创建者、创建时间、打开时间等多维度筛选。【重要】返回结果包含标题和摘要高亮(标签包裹匹配关键词)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
queryNo搜索关键词(可选)。不传或传空字符串表示空搜,也可以支持排序规则与筛选,默认根据最近浏览时间返回结果
filterNo搜索过滤条件(可选)。不传则搜索所有文档和 Wiki;传了则同时对文档和 Wiki 应用相同的过滤条件。
page_tokenNo分页标记。首次请求不填;当返回结果中 has_more 为 true 时,可传入返回的 page_token 继续请求下一页
page_sizeNo分页大小(默认 15,最大 20)
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It adds useful context beyond basic functionality, such as highlighting that results include titles and summaries with keyword highlighting (<h> tags), and notes on filtering behavior (e.g., applying the same filter to both documents and wikis). However, it lacks details on permissions, rate limits, error handling, or pagination behavior (though pagination is hinted at via parameters), leaving some gaps in transparency.

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?

The description is appropriately sized and front-loaded, starting with the tool's purpose and key actions. It uses bullet-point-like emphasis (【重要】) to highlight critical information, making it easy to scan. However, some sentences are slightly repetitive (e.g., repeating filter behavior), and the structure could be more streamlined, preventing a perfect score of 5.

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 the tool's complexity (5 parameters, nested objects, no output schema, and no annotations), the description is moderately complete. It covers the main purpose, key parameters, and result formatting, but lacks details on output structure, error cases, authentication needs, or performance limits. Without annotations or an output schema, these gaps make it adequate but not fully comprehensive for an agent to handle all scenarios.

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?

The schema description coverage is high (80%), so the baseline is 3. The description adds meaningful semantics beyond the schema by emphasizing the importance of the 'query' and 'filter' parameters, explaining that 'filter' applies to both documents and wikis when used, and listing examples of filter dimensions (e.g., document type, creator, creation time). This provides practical guidance that enhances understanding, though it doesn't cover all parameters in depth, such as 'page_token' or 'page_size'.

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 clearly states the tool's purpose: '飞书文档与 Wiki 统一搜索工具。同时搜索云空间文档和知识库 Wiki。Actions: search.' It specifies the exact verb ('search') and resources ('云空间文档和知识库 Wiki'), and distinguishes itself from siblings by focusing on unified search across documents and wikis, unlike other tools that handle specific operations like creating, updating, or listing individual resources.

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?

The description provides clear context for when to use this tool: for searching documents and wikis in Feishu. It mentions that the 'query' parameter is required and 'filter' is optional, with guidance on how filtering works. However, it does not explicitly state when not to use it or name alternative tools for similar functions, such as 'feishu_search_user' for user searches, which limits the score to 4.

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/WilliamMo101/lark-hermes-mcp'

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