Skip to main content
Glama
WaHaiLong

Kingdee MCP Server

by WaHaiLong

kingdee_query_material_target_cost

Read-onlyIdempotent

Query material target cost records by document status or material code. Retrieve specific cost details for analysis.

Instructions

查询物料目标成本单(BD_MatTargetCost)。

常用 filter_string:

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

  • 指定物料: "FMaterialId.FNumber='MAT001'"

推荐 field_keys: FBillNo,FDate,FDocumentStatus,FMaterialId.FNumber,FMaterialId.FName,FTargetCost

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?

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, so the safety profile is clear. The description adds that the tool returns a JSON-formatted list (effectively a string), and its example filters provide insight into common usage patterns. No behavioral contradictions.

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 concise and structured with a brief statement of purpose, followed by examples and return type. Every sentence adds value. It could be slightly more organized (e.g., separating purpose and examples), but overall it's efficient.

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 that an output schema exists (mentioned in context), the description does not need to detail return values. It covers purpose, parameters (via examples), and return format. It could mention pagination or error handling, but for a read-only query tool this is adequate.

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?

The input schema already includes descriptions for each parameter, providing baseline understanding. The description adds value by offering concrete filter_string examples (like 'FDocumentStatus='C'') and recommending specific field_keys, which goes beyond the schema's generic descriptions and clarifies practical usage.

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 states the verb '查询' (query) and the specific resource '物料目标成本单' (material target cost order), and mentions the form ID 'BD_MatTargetCost'. This distinguishes it from sibling tools like kingdee_query_material_cost, which deal with similar but different entities.

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?

The description provides practical usage tips through filter string examples and recommended field keys, which helps the agent know how to use the tool effectively. However, it does not explicitly state when to use this tool versus other query tools (e.g., cost calculation vs. cost items), nor does it mention any prerequisites or exclusions.

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