Skip to main content
Glama
WaHaiLong

Kingdee MCP Server

by WaHaiLong

kingdee_query_purchase_order_progress

Read-onlyIdempotent

Retrieve purchase order line item details and execution progress, including cumulative receipt and stock-in quantities, to monitor order fulfillment status.

Instructions

查询采购订单行明细及执行进度(含累计收料/入库数量)。

与 kingdee_query_purchase_orders 的区别:

  • 本工具查询【表体分录级】字段,返回每行物料的详细执行情况

  • 默认返回已审核单据,可通过 filter_string 过滤

返回的关键字段(demo 账套实测):

  • FBillNo: 单据编号

  • FMaterialId.FNumber / FMaterialId.FName: 物料编码/名称

  • FQty: 订单数量

  • FReceiveQty: 累计收料数量

  • FStockInQty: 累计入库数量

  • FPrice: 单价(不含税)

  • FTaxPrice: 含税单价

  • FAllAmount: 价税合计

以下字段需启用供应链模块后才存在(demo 环境可能不存在):

  • FLinkQty: 关联数量(=累计收料数量+累计入库数量)

  • FBusinessClose: 业务关闭状态(A=正常,B=业务关闭)

  • FFreezeStatus: 冻结状态(A=正常,B=冻结)

  • FTerminateStatus: 终止状态(A=正常,B=终止)

  • FDlyCntl_Low / FDlyCntl_High: 交货下限/上限

业务关闭规则(需启用供应链):

  • 累计入库数量 >= 交货下限时,该行自动【业务关闭】

  • 累计入库数量 < 交货下限时,自动【业务反关闭】

Returns: str: JSON 格式的采购订单执行进度列表

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Adds significant behavioral context beyond annotations: return format (JSON), demo-verified fields, conditional field presence, and business close rules. 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Description is lengthy but well-structured with bullet points and sections. Some redundancy (e.g., listing all fields might be omitted). Could be more concise.

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 annotations providing safety info and output schema implied, the description covers return fields, conditional behavior, and business rules. It is sufficiently complete for an AI agent to understand the tool's output and constraints.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, but the description only mentions the default for filter_string. Does not explain start_row or limit parameters. The description adds minimal value over the schema for parameter understanding.

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?

Clearly states it queries purchase order line details and execution progress, distinguishing from sibling tool kingdee_query_purchase_orders by specifying line-level fields. The verb 'query' and resource 'purchase order progress' are specific.

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?

Explicitly contrasts with a sibling tool, notes default filter for audited documents, and explains field availability depends on supply chain module. Does not state when not to use, but provides adequate context.

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