Skip to main content
Glama

dingtalk_dept_members

Retrieve members of one or more DingTalk departments by department ID to inspect team rosters and contact details.

Instructions

List members of one or more DingTalk departments.

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": {
      "depts": "<depts>"
    },
    "name": "dingtalk_dept_members"
  }
}

Input Schema

NameRequiredDescriptionDefault
deptsYesDepartment ids

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations exist, so the description bears the full burden of behavioral disclosure, yet it says nothing about pagination, result size limits, ordering, permission requirements, or what happens when a department id is invalid. 'List' implies a read-only operation, but nothing about limits on how many departments can be passed is stated.

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?

One short sentence with the resource and scope front-loaded and no filler. It is efficient, though the extreme terseness leaves no room for the behavioral detail an unannotated tool needs.

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 simple single-parameter read tool with full schema coverage and no output schema, the core purpose is covered. Missing are pagination/return-shape behavior and constraints on the department id list, which matter 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% and the single parameter is documented as 'Department ids', so the schema already does the heavy lifting. The description adds only that multiple departments are accepted ('one or more'), which is a marginal clarification rather than new semantics.

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?

States a specific verb ('List') and resource ('members of one or more DingTalk departments'), which is unambiguous about what the tool returns. It does not, however, distinguish itself from near-neighbors like dingtalk_user_search or dingtalk_list_groups, leaving the agent to infer the boundary.

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?

There is no when-to-use guidance, no mention of prerequisites (e.g., needing department ids first), and no alternative named for looking up users directly. The only implicit hint is 'one or more', which suggests batch lookups but is not framed as guidance.

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