Skip to main content
Glama
WaHaiLong

Kingdee MCP Server

by WaHaiLong

kingdee_query_transfer_direct

Read-onlyIdempotent

Query direct transfer orders to view inventory transfers that simultaneously update outbound and inbound warehouse stock. Filter by status, date, or warehouse.

Instructions

查询直接调拨单(STK_TransferDirect)列表。

直接调拨单用于一步完成调拨业务,同时更新调出仓和调入仓库存。

常用 filter_string:

  • 已审核: "FDocumentStatus='C'"

  • 指定日期范围: "FBillDate>='2024-01-01' and FBillDate<='2024-12-31'"

  • 指定调出仓库: "FOutStockId.FNumber='WH01'"

  • 指定调入仓库: "FInStockId.FNumber='WH02'"

  • 未关闭: "FCloseStatus='A' and FBusinessClose='A'"

推荐 field_keys(默认已包含关键字段): FID,FBillNo,FBillDate,FDocumentStatus,FStockOrgId.FName, FOutStockId.FName,FInStockId.FName,FMaterialId.FNumber, FMaterialId.FName,FUnitId.FName,FQty,FPrice,FAmount

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 indicate readOnlyHint=true, destructiveHint=false, idempotentHint=true. Description adds context about updating stock, which is consistent but does not disclose additional behavioral traits beyond what annotations provide.

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?

Concise and well-structured: purpose sentence, brief explanation, then bullet lists of common filters and recommended fields. Every sentence is informative with no redundancy.

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?

Output schema exists (supplements return info), and description covers key usage details including filter patterns and field examples. Slight lack of pagination or sorting guidance, but adequate for a query tool.

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?

Input schema properties all have descriptions (100% coverage), so baseline is 3. Description adds value by providing concrete filter_string examples and recommending field_keys, which go beyond the schema descriptions.

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?

Description clearly states this tool queries direct transfer orders (STK_TransferDirect) and explains it's for one-step transfers that update both warehouses. The verb '查询' (query) and specific resource distinguish it from siblings.

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?

Provides example filters and recommended field keys, which imply typical use, but does not explicitly state when to use this tool over sibling query tools like kingdee_query_stock_bills or kingdee_query_transfer_apply. No when-not-to-use guidance.

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