Skip to main content
Glama
Kingdee MCP Unified

Kingdee MCP Unified

by sclyxnet

kingdee_query_user

Read-onlyIdempotent

Query Kingdee ERP users by username, department, or active status, and return chosen fields with pagination for user administration and audit tasks.

Instructions

查询金蝶系统中的用户列表。

常用 filter_string:

  • 指定用户名: "FUserID.FNumber='user001'"

  • 在岗状态: "FIsActive=1"

  • 指定部门: "FDepartment.FNumber='D001'"

推荐 field_keys: FUserID,FName,FNumber,FDepartment.FName,FIsActive,FCreateDate

Returns: str: JSON 格式的用户列表

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": {
      "params": "<params>"
    },
    "name": "kingdee_query_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.11

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered without the text. The description adds that the result is a JSON-formatted user list, which is useful context, but says nothing about pagination behavior, the 100-row cap, or what happens when start_row exceeds the result set.

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?

Front-loaded purpose sentence followed by two tight bullet lists for filters and fields, each item directly actionable. The trailing Returns line is slightly redundant with the output schema but costs only one line.

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?

With an output schema present, the return value needs no elaboration, and the description covers the highest-friction part — constructing filter_string and choosing field keys. The remaining gap is pagination semantics for limit/start_row on a read tool, which is minor for a list query.

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?

Reported schema coverage is 0% for the top-level params wrapper, yet the description compensates meaningfully by showing concrete filter syntax with the actual Kingdee field paths (FUserID.FNumber, FIsActive, FDepartment.FNumber) and a recommended field_keys set, going well beyond the schema's single generic example. Pagination parameters (limit, start_row) are still left unexplained, keeping it short of a 5.

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 opening sentence states a specific verb and resource ('查询金蝶系统中的用户列表'), so an agent can tell this targets user records rather than the many other Kingdee query siblings (assets, costs, approvals). It does not explicitly contrast itself with any sibling, but the resource noun is distinctive enough that confusion is unlikely.

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 practical recipes for the filter_string (by user number, active status, department) which is real usage help, but it never states when to prefer this tool over alternatives or any prerequisites/permission context. Usage is implied rather than framed as guidance.

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

Deploy Server

Other Tools