Skip to main content
Glama
WaHaiLong

Kingdee MCP Server

by WaHaiLong

kingdee_push_and_audit

Automatically down-push source documents to create target drafts, then submit and audit all generated target FIDs. Stops on any failure and logs error.

Instructions

一次性走完 Push → (可选 Submit + Audit) 全流程。

Push 生成的目标单默认是草稿;本工具自动批量提交+审核所有生成的目标单 FID。 任何一步失败即停止;失败日志按整体 op="push_and_audit" 记录一次。

auto_submit_audit=False 时退化为纯 push(与 kingdee_push_bill 等价,但返回 steps 结构)。

Returns: str: JSON。含 steps、target_bill_nos、target_fids、halted_at / recovery_hint。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

The description provides extensive behavioral details beyond annotations: it explains the full flow (push draft, then submit+audit), failure handling (stop on error, single log entry), and the effect of auto_submit_audit. No contradiction with annotations.

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 concise (5 lines in Chinese) with front-loaded purpose. Every sentence adds value, and the structure flows logically from purpose to behavior to parameter option and return type.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (multi-step, 7 parameters), the description covers purpose, behavior, failure handling, parameter options, and return structure. It is complete for an agent to correctly select and invoke the tool.

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?

While the schema already describes each sub-parameter, the description adds context for auto_submit_audit (equivalent to pure push) and the return structure. However, it does not enhance understanding of other parameters beyond the schema; baseline 3 is appropriate given high schema coverage.

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 clearly defines the tool as a one-stop flow of Push plus optional Submit and Audit, distinguishing it from siblings like kingdee_push_bill (pure push) and kingdee_audit_bills (audit only). It specifies the verb 'push_and_audit' and the resource 'target bills', with scope details.

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 explains when to use this tool vs alternatives by noting that setting auto_submit_audit=False makes it equivalent to kingdee_push_bill, and it mentions failure behavior (stop on any step). However, it does not explicitly list when not to use it or provide comprehensive alternatives.

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