Skip to main content
Glama

das__CreateShareConnections

Creates shared connection links in Huawei Cloud DAS for specified users, with an optional expiration time, enabling controlled access to database connections.

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": {
      "project_id": "<project_id>",
      "shared_conn_id": "<shared_conn_id>",
      "users": "<users>"
    },
    "name": "das__CreateShareConnections"
  }
}

Input Schema

NameRequiredDescriptionDefault
usersYes用户
project_idYes项目ID
expired_timeNo过期时间
shared_conn_idYes共享连接ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/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 full behavioral burden and discloses almost nothing. It does not say that this creates a share (a mutating action), whether it requires ownership of the connection, whether duplicate shares error out, or what the optional expired_time does to an existing share.

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?

It is short but that is under-specification rather than conciseness: a single trailing-comma fragment with no verb-object detail, no front-loaded scope, and nothing an agent could act on beyond the tool name itself.

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 four-parameter mutating tool with three required parameters, no annotations, and no output schema, the definition provides no operational context whatsoever — no permission model, no idempotency or failure behavior, and no explanation of the users payload.

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%, with each of the four parameters (project_id, shared_conn_id, users, expired_time) documented in the schema, so the baseline of 3 applies. The description adds no meaning beyond the schema — notably it never explains the nested users array or the ISO-8601 format expected by expired_time.

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

Purpose2/5

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

The description is a four-word Chinese fragment meaning roughly "set share link." It names a resource but the verb "设置" (set/configure) does not convey that this tool creates a new share, and it never mentions that the share is scoped to a project and a list of users, so an agent cannot easily distinguish it from das__CancelShareConnections or das__CreateInstanceConnection.

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., the project and connection must already exist), no indication of when to prefer this over the sibling CancelShareConnections or over other connection-creation tools, and no note about whether it can be called repeatedly.

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