Skip to main content
Glama

dingtalk_send_message

Sends a DingTalk message to a specified group, user, or open conversation ID, requiring exactly one target to deliver the message.

Instructions

Send a DingTalk message to a group conversation, a user, or an open conversation id. Exactly one target is required.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "dingtalk_send_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesMessage body
userNouserId of the recipient
groupNoopenConversationId of the group
titleNoOptional card title
openDingtalkIdNoEncrypted openDingTalkId

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.1

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. "Send" implies a mutating side effect and the one-target rule is genuine behavioral information, but the description says nothing about permissions required, rate limits, idempotency, or what happens when an invalid or unknown target is passed.

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?

Two short sentences, zero filler, with the destination scope stated first and the target-selection rule immediately after. Nothing needs to be trimmed.

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?

For a simple one-way send tool with no output schema, this covers purpose, targets, and the exclusivity rule. It could go further on mutation semantics and error behavior given the absence of annotations, but an agent has what it needs to call it correctly.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning beyond the schema by declaring that the three target parameters (user, group, openDingtalkId) are mutually exclusive rather than freely combinable. That constraint is not expressible in the flat schema and directly prevents malformed calls.

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 names a specific verb and resource ("Send a DingTalk message") and enumerates the three supported destination types (group conversation, user, open conversation id), which is enough to distinguish it from sibling tools like dingtalk_list_messages or dingtalk_calendar_create. It stops short of explicitly differentiating from any sibling, but no sibling is a competing send path, so the gap is minor.

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 sentence "Exactly one target is required" gives a concrete invocation constraint that steers selection among the target parameters. However, there is no statement of when to prefer this tool over alternatives or any prerequisites (auth scope, group membership), so usage is only implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.