Skip to main content
Glama

feishu_insert_table

Insert tables into Feishu documents using Markdown syntax or structured data arrays. Specify document ID, headers, rows, column widths, and insertion position.

Instructions

在飞书文档中插入表格。支持 Markdown 表格语法或结构化数据输入。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
document_idYes飞书文档 ID 或 URL
markdown_tableNoMarkdown 格式的表格。例如:| 列1 | 列2 |\n|---|---|\n| 值1 | 值2 |
headersNo表头数组。与 rows 配合使用,二选一:markdown_table 或 headers+rows
rowsNo数据行数组。每行是一个字符串数组
header_rowNo第一行是否为表头样式(默认 true)
column_widthNo列宽数组(像素),不指定则自动分配
block_idNo插入位置的 Block ID。不指定则追加到文档末尾
Behavior2/5

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

With no annotations provided, the description carries full burden but offers minimal behavioral disclosure. It mentions two input formats (Markdown or structured data) but doesn't describe permissions needed, whether the operation is idempotent, error conditions, rate limits, or what happens on success/failure. For a mutation tool with 7 parameters, this leaves significant behavioral gaps.

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 immediately states the core functionality. Every word earns its place: it specifies the action, location, and supported input formats without any redundancy or unnecessary elaboration.

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

Completeness2/5

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

For a mutation tool with 7 parameters and no annotations or output schema, the description is insufficiently complete. It doesn't address critical contextual information like required permissions, error handling, response format, or how this tool relates to sibling operations. The agent lacks guidance on behavioral expectations beyond the basic functionality statement.

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%, providing detailed parameter documentation. The description adds marginal value by mentioning the two input format options (Markdown vs structured data), which corresponds to the markdown_table parameter versus headers+rows parameters. However, it doesn't provide additional semantic context beyond what the schema already documents thoroughly.

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 specific action ('插入表格' - insert table) and resource ('在飞书文档中' - in Feishu document), distinguishing it from sibling tools like feishu_append_content (general content) or feishu_insert_image (different element type). It precisely identifies what the tool does without being tautological.

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 implies usage context through '支持 Markdown 表格语法或结构化数据输入' (supports Markdown table syntax or structured data input), suggesting this tool is for table insertion specifically. However, it doesn't explicitly state when to use this versus alternatives like feishu_create_spreadsheet (for spreadsheet creation) or feishu_write_spreadsheet (for spreadsheet writing), nor does it provide exclusion guidance.

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/redleaves/feishu-mcp-server'

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