Skip to main content
Glama
WaHaiLong

Kingdee MCP Server

by WaHaiLong

kingdee_query_permission_changes

Read-onlyIdempotent

Query permission change records in Kingdee Cloud Star to audit grants, revocations, and modifications, support compliance checks, and trace why a user can or cannot access a function.

Instructions

查询金蝶云星空的权限变更记录。

记录用户权限的授予、撤销、修改操作。 用于安全审计、合规检查、权限追溯。

推荐场景:

  • 安全审计:谁在什么时候被授予/撤销了什么权限

  • 合规要求:保留权限变更的审计轨迹

  • 问题排查:某用户无法访问某功能的原因

注意:金蝶权限数据可能存储在多个表单中, 如 SEC_Permission(权限记录)、SEC_UserRole(用户角色关系)等。 如查询无结果,请用 kingdee_get_fields 查看实际可用字段。

Returns: str: JSON 格式的权限变更列表

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.4

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already establish that this is a read-only, idempotent, non-destructive operation. The description adds useful behavioral context by noting that permission data may be split across multiple Kingdee forms and that empty results should trigger inspection with kingdee_get_fields.

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?

The description is front-loaded with the core purpose and then uses a short recommended-scenarios list plus a fallback note. It is efficient and readable, with only minor verbosity in the explanatory scenarios.

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 read-only query tool with annotations and an output schema, the description provides enough context to call it correctly. It covers purpose, use cases, and a data-source caveat, though it could more explicitly address relationship to sibling permission and audit tools.

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 nested schema documents fields such as action, date ranges, user_name, and filter_string, but the description itself adds little parameter-level guidance. It does not explain filtering syntax, pagination behavior, or how action/object_type values interact with the query.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: querying permission change records in Kingdee Cloud. It clarifies that these are grant/revoke/modify operations, which distinguishes it from a general permission lookup or audit log query.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear recommended scenarios: security audit, compliance trail, and troubleshooting. It also provides a fallback when no results are found, pointing to kingdee_get_fields, though it does not explicitly contrast with sibling tools such as kingdee_query_permission or kingdee_query_audit_log.

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