Skip to main content
Glama

sendMessageFeishu

Send messages in Feishu/Lark to chats, users, or emails using text, images, files, or interactive content with JSON-formatted inputs.

Instructions

【飞书 IM】发送一条消息到指定聊天 / 用户 / 邮箱 / open_id / union_id。receive_id_type 决定 receive_id 的含义(chat_id / open_id / union_id / user_id / email),msg_type 支持 text / post / image / interactive / share_chat / share_user / audio / media / file / sticker。content 必须是 msg_type 对应的 JSON 字符串(例如 text 为 {"text":"hello"})。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
receive_id_typeYes
receive_idYes
msg_typeNotext
contentYesJSON string matching msg_type shape; text -> {"text":"..."}
uuidNo
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 only covers basic functionality. It doesn't disclose whether this requires authentication, rate limits, error conditions, what happens on success/failure, or whether messages are delivered synchronously/asynchronously. For a messaging tool with zero annotation coverage, 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is efficiently structured in a single sentence that packs essential information about targets, parameters, and content format. Every element serves a purpose, though the Chinese/English mix and technical density could be slightly improved for clarity.

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?

For a 5-parameter messaging tool with no annotations and no output schema, the description covers core functionality adequately but lacks important context. It explains what parameters do but doesn't address authentication needs, error handling, response format, or integration considerations that would help an agent use it effectively.

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?

With only 20% schema description coverage, the description compensates well by explaining the relationship between receive_id_type and receive_id, listing all msg_type options, and providing a concrete example for content parameter. It adds substantial meaning beyond the minimal schema documentation, though doesn't cover the uuid parameter.

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 verb ('发送一条消息' - send a message) and the resource ('飞书 IM' - Feishu IM), specifying it can send to various targets (chat/user/email/open_id/union_id). It distinguishes itself from sibling tools like listMessagesFeishu and replyMessageFeishu by focusing on sending new messages rather than listing or replying to existing ones.

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 by mentioning the different receive_id_type options and msg_type support, but doesn't explicitly state when to use this tool versus alternatives like sendCardFeishu or replyMessageFeishu. It provides technical parameters but lacks explicit guidance on use-case scenarios or prerequisites.

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