Skip to main content
Glama
WaHaiLong

Kingdee MCP Server

by WaHaiLong

kingdee_describe_table

Read-onlyIdempotent

Retrieve complete table structure including column names, data types, nullable status, and default values. Essential for SQL writing and data modeling in Kingdee ERP.

Instructions

查看指定表的完整结构(列名、类型、可空、默认值)。

适用场景:

  • 知道表名,想了解完整字段列表

  • 写 SQL 或做数据建模前,查看表结构

  • 确认 Kingdee API 返回的字段在数据库里的实际类型

已知金蝶常用表名前缀:

  • t_PUR_:采购相关(t_PUR_PurchaseOrder 采购订单)

  • t_SAL_:销售相关(t_SAL_SaleOrder 销售订单)

  • t_STK_:库存相关(t_STK_InStock 入库单)

  • t_BD_:基础资料(t_BD_Material 物料、t_BD_Supplier 供应商)

Returns: str: 表结构详情

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, destructiveHint=false, and idempotentHint=true. The description adds that it returns a table structure string but does not disclose any additional behavioral traits such as potential performance impacts or authentication requirements. With annotations covering safety, the description adds minimal value.

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 well-structured with a clear summary, usage scenarios, and useful common prefixes. It is concise for the amount of information conveyed. Slightly verbose due to the prefix list, but that is valuable context.

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?

The tool has one parameter, annotations cover safety, and the description provides usage guidance and additional context on table naming conventions. The return type is mentioned but without an output schema, it's slightly incomplete. Overall adequate for a simple read-only tool.

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 a description for the single parameter 'table_name', including an example. The tool description does not add further semantic detail about the parameter. With schema description coverage at 0% (likely meaning the tool description doesn't cover parameters), the baseline of 3 applies.

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's purpose: viewing a table's complete structure including column names, types, nullability, and defaults. It explicitly distinguishes this from sibling tools like kingdee_discover_tables (which lists tables) and kingdee_get_fields (which gets fields differently), though not by name.

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 specific usage scenarios: when you know the table name, before writing SQL or data modeling, and to confirm field types. It also gives common table prefixes for context. However, it does not explicitly mention when not to use this tool or alternatives among 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