Skip to main content
Glama

das__CreateInstanceConnection

Creates a database instance connection using specified engine, network type, credentials, and project details so you can connect DAS to Huawei Cloud instances.

Instructions

[DAS] 创建实例连接

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": {
      "engine_type": "<engine_type>",
      "instance_id": "<instance_id>",
      "is_save_password": "<is_save_password>",
      "network_type": "<network_type>",
      "password": "<password>",
      "project_id": "<project_id>",
      "username": "<username>"
    },
    "name": "das__CreateInstanceConnection"
  }
}

Input Schema

NameRequiredDescriptionDefault
portNo端口。
remarksNo备注。
node_idsNo节点编号。
passwordYes密码。
usernameYes用户名。
project_idYes项目ID。
engine_typeYes数据库引擎类型。
instance_idYes实例ID。
network_typeYes网络类型。
database_nameNo数据库名字。
sql_record_flagNosql记录开关。
is_save_passwordYes是否保存密码。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full burden, yet it discloses nothing about behavior: not whether credentials are persisted (is_save_password suggests sensitive storage), not whether the operation is idempotent, not what permissions are needed, and not what happens on failure or duplicate creation. It simply restates the tool name.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

At four tokens it is technically concise with no wasted words, but this is under-specification rather than economy: there is no structure, no front-loaded detail, and nothing for the agent to act on beyond the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 12-parameter mutation tool with 7 required fields, no annotations, and no output schema, the description is wholly inadequate. An agent cannot judge side effects, credential handling, or expected results from "[DAS] 创建实例连接".

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?

Schema description coverage is 100%, so all 12 parameters, including the 7 required ones and the network_type enum, are documented in the schema itself. The description adds no meaning beyond the schema, but per the coverage baseline a 3 is appropriate since the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"[DAS] 创建实例连接" states a verb (create) and resource (instance connection), so the basic action is identifiable. However, it gives no scope, no target system detail, and no differentiation from sibling creation tools such as das__CreateShareConnections or dlf__CreateConnection, leaving the agent to guess from the name alone.

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?

There is no when-to-use guidance, no prerequisites (project/instance must presumably exist), and no mention of alternatives like das__CreateShareConnections. The agent gets only the name to infer context.

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