Skip to main content
Glama

dingtalk_chat_send_message

Send chat messages to DingTalk groups or individuals via group ID or user/openDingTalk ID. Accepts Markdown text and optional title.

Instructions

以当前用户身份向群聊或个人发送消息。发群聊用 group_id;发单聊用 user_id(userId)或 open_dingtalk_id(openDingTalkId);三者选其一

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes消息内容,支持 Markdown
titleNo消息标题(可选,不填时自动从内容截取)
user_idNo接收人 userId(发单聊时与 open_dingtalk_id 二选一)
group_idNo群聊 openConversationId(发群聊时必填)
open_dingtalk_idNo接收人 openDingTalkId(发单聊时与 user_id 二选一)
Behavior3/5

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

With no annotations, the description carries the transparency burden. It discloses that the message is sent as the current user and enforces an exclusivity constraint among the three recipient identifiers. However, it does not mention authentication requirements, error behavior, or what the response contains—clear gaps for a mutation tool.

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, compact sentence that front-loads the core purpose and then provides parameter selection rules. Every phrase earns its place with no redundancy or filler.

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 tool with 5 parameters and no output schema or annotations, the description covers the essential purpose and recipient selection logic. It lacks information about response/return behavior and does not clarify how to obtain group_id or user_id, but the tool is simple enough that these are not fatal omissions.

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 describes all 5 parameters, so the baseline is 3. The description adds marginal value by summarizing the exclusivity relationship ('三者选其一') and mapping recipient types to parameters, but does not provide any deeper semantics beyond what the schema already gives.

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 action ('send message') and the resource scope ('to group chat or individual'), with a specific identity context ('as current user'). It does not explicitly name sibling tools like dingtalk_chat_send_by_bot or dingtalk_chat_send_by_webhook, but the identity framing helps distinguish it from bot/webhook sends, so it falls short of a full 5.

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 gives clear guidance on which parameter to use for group vs. direct messages ('发群聊用 group_id;发单聊用 user_id...'), which is useful. However, it does not explicitly state when to choose this tool over the sibling sending tools (e.g., bot or webhook), so the when-to-use guidance is incomplete.

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