Skip to main content
Glama
WaHaiLong

Kingdee MCP Server

by WaHaiLong

kingdee_query_audit_log

Read-onlyIdempotent

Retrieve audit logs of document approvals in Kingdee Cloud Star, showing reviewer, timestamp, result, and comments. Ideal for compliance audits and approval tracing.

Instructions

查询金蝶云星空的审计日志(BOS_AuditLog)。

记录单据的审核操作:谁在什么时候审核了哪张单据、审核结果是什么。 用于合规审计、审批追溯、反舞弊检查。

推荐场景:

  • 合规要求:保留所有审核操作的审计轨迹

  • 问题排查:某张单据的审核历史

  • 责任追溯:谁在什么时间通过了/驳回了审批

返回字段说明:

  • FCREATEDATE: 审核时间

  • FCREATORID: 审核人

  • FOBJECTID: 单据内码

  • FFORMID: 单据类型

  • FAUDITRESULT: 审核结果(通过/驳回/取消)

  • FMEMO: 审核意见

Returns: str: JSON 格式的审计日志列表

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so the description is not required to repeat these. It adds context by explaining the data fields and return format, but does not disclose any additional behavioral traits (e.g., rate limits, authentication needs), which is acceptable given the annotations.

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 well-structured: first states the main purpose, then details what the log records, followed by recommended scenarios, and finally return field descriptions. It is concise without being terse, though slightly longer than necessary.

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?

Given the tool's complexity (many parameters) and the presence of annotations indicating read-only, the description covers the core purpose, usage scenarios, and return fields. It explains the intent and data structure, making it sufficient for an agent to understand when and how to use it.

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 input schema provides detailed descriptions for all parameters (100% coverage), so the description does not need to add parameter details. The description lists return fields, which is helpful but not directly related to parameters. Baseline score 3 applies as schema coverage is high.

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 name 'kingdee_query_audit_log' and title '查询审计日志' directly state the action and resource. The description specifies that it queries audit logs from Kingdee Cloud Star (BOS_AuditLog), clearly distinguishing it from sibling tools like approval flow or pending approvals by focusing on audit trail data.

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?

The description provides explicit recommended scenarios: compliance audit, problem investigation, and responsibility tracing. However, it does not explicitly state when not to use this tool or mention alternatives, which would improve clarity for an AI agent.

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/WaHaiLong/KingdeeMCP'

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