Skip to main content
Glama
WaHaiLong

Kingdee MCP Server

by WaHaiLong

kingdee_query_partners

Read-onlyIdempotent

Query customer or supplier master data in Kingdee Cloud Star ERP using filters on type, fields, and conditions to get partner details like code, name, and contact.

Instructions

查询客户(BD_Customer)或供应商(BD_Supplier)基础资料。

partner_type 取值:BD_Customer 或 BD_Supplier

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?

The description adds value beyond annotations by stating the return format is JSON with specific fields (e.g., encoding, name). Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true, so safety is clear. The description does not contradict annotations and provides useful behavioral context.

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 (5 lines) and includes essential information: purpose, partner_type values, and return format. It is well-structured and front-loaded with the main action. No unnecessary text.

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 (not shown) and annotations cover safety and idempotency, the description is fairly complete. It mentions return fields and includes the two partner types. However, it could mention pagination parameters (start_row, limit) and that filter_string allows filtering, but these are in the schema. Overall, it adequately covers core functionality.

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 already provides descriptions for all parameters, including partner_type and field_keys. The description only reiterates partner_type values and does not add new information for other parameters. With high schema description coverage, the baseline is 3, and the description does not improve it.

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 tool queries customer (BD_Customer) or supplier (BD_Supplier) basic data, specifying the two partner types and listing return fields (code, name, short name, contact, phone). This distinguishes it from other query tools among siblings, such as kingdee_query_materials or kingdee_query_bills, making the purpose specific.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives, such as other query tools for different entities (e.g., kingdee_query_materials, kingdee_query_bills). It does not mention prerequisites, context of use, or scenarios where this tool is appropriate or not.

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