Skip to main content
Glama

drs__ModifyConnection

Updates details of an existing DRS database connection, including SSL, VPC, endpoint, and credential settings.

Instructions

[DRS] 修改创建的连接信息。

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": {
      "connection_id": "<connection_id>",
      "project_id": "<project_id>"
    },
    "name": "drs__ModifyConnection"
  }
}

Input Schema

NameRequiredDescriptionDefault
sslNo数据库SSL证书信息。
vpcNo数据库实例所在VPC,子网,安全组等信息。
nameNo连接名称。
cloudNo数据库实例所在Region,项目等信息。
configNo连接配置,不同类型的连接配置不同。
db_typeNo数据库类型。
endpointNo数据库基本信息体。
project_idYes租户在某一Region下的Project ID。 获取方法请参见[获取项目ID。](https://support.huaweicloud.com/api-drs/drs_api_0106.html)
descriptionNo连接描述。
connection_idYes连接ID
enterprise_project_idNo企业项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the entire burden. It says only "modify", leaving unstated whether omitted fields are wiped (PUT-style replacement vs. PATCH), whether SSL/VPC changes force revalidation or disconnect the connection, what permissions are required, or whether the change is reversible. For a mutation tool with zero annotation coverage, this is a substantial disclosure gap.

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

Conciseness3/5

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

One short, front-loaded sentence with no wasted words, but it is under-specified rather than efficiently concise — there is essentially nothing beyond the name restated in another language. Brevity here reflects missing content, not economy.

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

Completeness2/5

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

Given 11 parameters, deep nested objects, no annotations, and no output schema, a single generic sentence is far too thin. An agent cannot determine update semantics, side effects on dependent resources, or the response shape from this definition.

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% and all 11 parameters (including nested ssl, vpc, cloud, endpoint objects) are documented in the schema itself, so the baseline of 3 applies. The description adds no additional meaning, such as which nested objects are actually mutable or how connection_id/project_id are resolved.

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?

The description names a specific verb (修改/modify) and resource (接续信息/connection info) with a [DRS] service tag, so the basic action is identifiable and distinguishable from drs__CreateConnection and drs__DeleteConnection whose verbs differ. However, "connection information" is not narrowed to any field set or update semantics, so the agent cannot tell what aspect of the connection is editable.

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 at all — no prerequisites (e.g. connection must already exist), no statement of which sibling to reach for instead, and no indication of whether this is a full replace or a partial update. The agent must infer everything about invocation context from the name alone.

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