Skip to main content
Glama

dingtalk_chat_message_search

Search DingTalk messages by keyword within start/end times, optionally restricted to a group conversation.

Instructions

按关键词搜索消息记录

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endYes结束时间,ISO-8601(必填)
limitNo返回数量,默认 100
queryYes搜索关键词(必填)
startYes开始时间,ISO-8601(必填)
group_idNo限定群聊 openConversationId(可选)
Behavior2/5

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

With no annotations, the description carries full responsibility for behavioral disclosure. It only states the basic action and does not mention that start/end are required, the search scope, potential limitations, or return format. This is a significant transparency gap.

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, front-loaded sentence with zero redundancy. Every word contributes to stating the tool's purpose, making it highly concise.

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?

Given the tool has 5 parameters, no output schema, and no annotations, the one-sentence description is insufficient. It fails to explain that start/end are required, what the search spans (all chats vs. a specific group), or what the response contains.

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?

The input schema already provides descriptions for all 5 parameters, including required start/end and optional group_id. The description adds no new meaning beyond the query keyword, which corresponds directly to the query parameter, so it adds minimal value over the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool searches message records by keyword, which is a specific verb and resource. It distinguishes from sibling listing tools like dingtalk_chat_message_list by focusing on search, though it omits the time-range scoping that is a core feature.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives such as dingtalk_chat_message_list, list_all, or list_mentions. The description does not mention appropriate use cases or exclusions, leaving the agent to infer from the name alone.

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/yingcaihuang/dws-cli-mcp'

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