Skip to main content
Glama

搜索飞书云文档

search_feishu_docs

Search Feishu cloud docs by keyword, returning titles, types, URLs, and update times. Filter by document type, owner, or title to locate accessible files.

Instructions

按关键词搜索我有权限的飞书云空间对象(文档/电子表格/多维表格/知识库文档等),返回标题、类型、URL、更新时间。关键词最长 30 个字符。拿到 URL/token 后可用 read_feishu_doc 等工具进一步读写。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mineNo只搜我担任所有者的对象
sortNo排序
queryYes搜索关键词(≤30 字符),支持高级语法:intitle:标题 '精确短语' A OR B -排除词
doc_typesNo按类型过滤(可多选)
page_sizeNo每页条数(1-20)
only_titleNo只在标题中匹配
page_tokenNo上一页返回的翻页 token
created_by_meNo只搜我创建的对象

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
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 states the return fields (title, type, URL, update time) and the permission scope. It does not explicitly state that it is read-only (though implied by being a search), nor does it describe pagination behavior or rate limits. It is adequate but not exhaustive.

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 a single, efficient sentence that front-loads the core purpose, mentions the return fields, and provides a hint about follow-up tools. There is no fluff or redundancy, and every part earns its place.

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?

Given the tool's complexity (8 parameters, 1 required) and absence of an output schema, the description provides essential context: the scope of search, return fields, keyword length, and a pointer to related tools. It does not explain pagination or advanced syntax, but these are covered in the schema, so the description is sufficiently complete for an agent to use it correctly.

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 parameters have descriptions in the schema. The description adds minimal parameter-specific value beyond what the schema already provides (e.g., it mentions the 30-character limit, which is also in the schema). It does not clarify parameter semantics beyond the schema, so a baseline of 3 is appropriate.

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: searching Feishu cloud objects (documents, sheets, bitables, wiki pages, etc.) by keyword, returning title, type, URL, and update time. It explicitly names the sibling tool read_feishu_doc for further read/write operations, distinguishing itself as a discovery tool.

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 implies when to use this tool (to find objects) versus siblings (to read/write them after obtaining URL/token). It mentions the keyword length limit and permission scope. However, it does not explicitly state when NOT to use it or provide alternative search methods, but the context is clear enough for an agent.

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