Skip to main content
Glama

dingtalk_user_search

Search DingTalk directory users by name, nickname, or phone keyword to find contacts and support messaging or lookup tasks.

Instructions

Search DingTalk directory users by name, nickname, or phone keyword.

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": {
      "query": "<query>"
    },
    "name": "dingtalk_user_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesSearch keyword

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.1

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing beyond the search surface. It does not state that this is a read-only operation, whether matching is partial/substring, how many results come back, whether permission scope restricts the directory, or what happens on zero matches.

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?

One short sentence, front-loaded with the verb and resource, with the qualifier clause carrying real information. Nothing is padded or redundant.

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 one-parameter lookup tool with no annotations and no output schema this is close to sufficient, but the agent still cannot tell what a result entry contains (user ID usable with dingtalk_user_get?) or how result volume is bounded. A brief note on return shape and matching behavior would close the gap.

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% and the single parameter is documented only as "Search keyword", so the description earns credit for clarifying which fields the keyword is matched against (name, nickname, phone). It stops short of saying whether matching is exact or fuzzy, which is the remaining ambiguity for the one 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?

States a specific verb ("Search") and resource ("DingTalk directory users") plus the three matchable fields (name, nickname, phone keyword). An agent can tell this is a keyword-based user lookup, though it never explicitly contrasts itself with the sibling dingtalk_user_get for direct retrieval.

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?

Usage is implied by naming the searchable fields, so an agent can infer it should call this when it has a name, nickname, or phone fragment rather than an ID. There is no explicit when-not guidance, no mention of dingtalk_user_get as the alternative for exact/ID lookups, and no prerequisites stated.

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