Skip to main content
Glama

list_departments

Retrieve department structures from DingTalk's organizational hierarchy to manage team access and permissions within the wiki workspace.

Instructions

列出钉钉组织架构中的部门列表

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fetch_childNo是否递归获取子部门
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the action ('list') but doesn't describe traits like whether it's read-only, requires specific permissions, handles pagination, returns structured data, or has rate limits. For a tool with zero annotation coverage, this is a significant gap in transparency.

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, efficient sentence in Chinese that directly states the tool's purpose without unnecessary words. It's front-loaded with the core action and resource, making it highly concise and well-structured.

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 lack of annotations and output schema, the description is incomplete. It doesn't address behavioral aspects (e.g., safety, permissions) or output details (e.g., format, pagination), which are critical for a list operation. The tool has low complexity but minimal contextual support.

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 description adds no parameter information beyond what the input schema provides. Since schema description coverage is 100% (the 'fetch_child' parameter is fully documented in the schema), the baseline score is 3. The description doesn't compensate with additional context like usage examples or implications of the parameter.

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 verb '列出' (list) and the resource '钉钉组织架构中的部门列表' (department list in DingTalk organizational structure), providing a specific purpose. However, it doesn't explicitly differentiate from sibling tools like 'get_department_users', which focuses on users within departments rather than the department list itself.

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention scenarios like needing department hierarchies, comparing to 'get_department_users' for user-focused queries, or prerequisites such as authentication or access rights.

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/ianen/dingtalk-wiki-mcp'

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