Skip to main content
Glama
gitByEOS
by gitByEOS

lark_chat_watch

Blocking wait for new Feishu group messages. Use chat_id to bind, clear pending queue on request, and poll up to 30 seconds per call.

Instructions

阻塞等待飞书用户新消息(单群)。 先 session(create/find) 拿 chat_id,或 watch(chat_id=oc_xxx) 绑定。 收到后自动开流式卡,timeout 时立即再 watch(单次最长 30s poll)。 探活:clear=true, timeout_ms=1000,响应额外含 guide。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timeout_msNo期望总等待毫秒,单次调用最长 30s
clearNo等待前清空待处理队列
chat_idNo目标群 oc_xxx;create/find 后可省略
Behavior4/5

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

No annotations provided, so description carries full burden. Discloses blocking, 30s max poll, auto re-watch, probe mechanism with clear and timeout_ms, and guide in response. Minor omission of error handling.

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?

Four sentences covering key points without redundancy. Could be more structured but retains essential information efficiently.

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 no output schema and complex behavior, description covers core flow: setup, blocking wait, timeout handling, probe usage. Lacks error scenarios but sufficient for correct invocation.

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 coverage is 100%; description adds modest context (e.g., timeout_ms as expected total wait, clear as clear pending queue). But mostly restates schema with slight elaboration.

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 blocks waiting for new messages in a single group chat, mentions prerequisites (session/find, watch binding), and distinguishes from siblings by specifying '单群' (single group) and blocking behavior.

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?

Describes when to use (after session/find, or with chat_id), timeout behavior (auto re-watch), and probe usage. Lacks explicit when-not-to-use versus sibling tools like lark_chat_stream.

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/gitByEOS/lark-chat-mcp'

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