Skip to main content
Glama
WaHaiLong

Kingdee MCP Server

by WaHaiLong

kingdee_query_number_rule

Read-onlyIdempotent

Retrieve document numbering rules from Kingdee Cloud Star ERP. Filter by document type to get prefix, sequence length, date format, and other rule details for automated configuration.

Instructions

查询金蝶系统中的单据编号规则列表。

常用 filter_string:

  • 指定单据类型: "FObjectType='SAL_SaleOrder'"

  • 指定规则名: "FNumberRuleId.FNumber='NR001'"

推荐 field_keys: FNumberRuleId,FName,FNumber,FObjectType,FPrefix,FSequenceLength,FDateFormat

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 declare readOnlyHint=true and idempotentHint=true. The description adds only that it returns a JSON string, with no additional behavioral traits like pagination or side effects.

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?

Extremely concise with purpose stated first, followed by bulleted examples. No filler content.

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?

Covers essential usage with examples and hints, and output schema exists to detail returns. Missing explanation of pagination, but acceptable for a simple 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?

Description adds value for filter_string and field_keys with examples and recommendations, but does not mention start_row or limit. Schema already describes these partially, so overall good complement.

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 it queries a list of document number rules in Kingdee, with examples of filter strings and recommended fields, distinguishing it from other query tools like kingdee_query_bills or kingdee_query_sale_orders.

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 provides practical usage guidance via common filter_string examples and recommended field_keys, but lacks explicit when-to-use or when-not-to-use instructions relative to siblings.

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