Skip to main content
Glama
Kingdee MCP Unified

Kingdee MCP Unified

by sclyxnet

kingdee_switch_data_center

Switch the active data center (account set) using its Chinese name, number, or ID, then reset the session so the next API call reconnects automatically.

Instructions

切换到指定数据中心(账套),并重置会话以便下一次 API 调用自动重连。

identifier 可用中文账套名、账套号(Number)或登录ID(Id),例如“预生产”“TEST20230518”“6466ccc799e8fb”。 本工具是 kingdee_switch_login(data_center=...) 的便捷包装; 如需同时切换服务器/账号/密码/登录方式,请改用 kingdee_switch_login。

Args: identifier: 账套中文名 / Number / Id(任选其一,支持片段模糊匹配)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "identifier": "<identifier>"
    },
    "name": "kingdee_switch_data_center"
  }
}

Input Schema

NameRequiredDescriptionDefault
identifierYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.11

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations present, the description carries the full burden of describing behavior, and it does disclose the key hidden behavior: the session is reset so that the next API call auto-reconnects. It does not cover failure modes, such as what happens when a fuzzy identifier matches nothing or matches multiple account sets, or which session state is lost. The disclosure of the side effect is nonetheless strong for a tool without annotations.

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 front-loaded with the action and its side effect, then the identifier formats, then the sibling routing. The trailing 'Args: identifier:' block restates the identifier sentence above it, so there is some redundancy, but it costs little and the ordering is sensible.

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?

This is a simple single-parameter tool with an output schema, so return values need not be explained, and the critical complexity (the session reset and the relationship to kingdee_switch_login) is covered. Missing only are the error/ambiguity behavior and whether the reset interrupts concurrent calls.

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?

Schema description coverage is 0%, so the description must define the meaning of the one parameter, and it does: identifier accepts a Chinese account-set name, a Number, or a login Id, with concrete examples and the note that partial fuzzy matching is supported. It stops short of saying how ambiguous matches are resolved (first match vs. error), which is the only remaining semantic gap.

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 states a specific verb and resource: 'switch to the specified data center (account set)' and additionally names the side effect of resetting the session. It explicitly distinguishes itself from kingdee_switch_login by calling itself a 'convenience wrapper' of that tool, so an agent can tell the two apart without opening either schema.

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

Usage Guidelines5/5

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

It gives a clear when-to-use rule ('if you only need to change the account set, use this tool') and an explicit when-not-to-use rule plus the alternative ('if you also need to switch server/account/password/login method, use kingdee_switch_login'). It also notes that kingdee_switch_login accepts data_center=..., which makes the relationship between the two tools unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools