Skip to main content
Glama

rds__CreateDnsName

Creates a private DNS name for a specified RDS instance, enabling stable domain-based database connections instead of relying on IP addresses.

Instructions

[RDS] 申请域名

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": {
      "dns_type": "<dns_type>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "rds__CreateDnsName"
  }
}

Input Schema

NameRequiredDescriptionDefault
dns_typeYes域名类型,当前只支持private
project_idYes项目ID。
instance_idYes实例ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.4/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 it discloses nothing about side effects, idempotency (what happens if a name already exists), permissions required, or whether creation is reversible. For a create/mutation tool with zero annotation coverage, this leaves the agent guessing about consequences of the call.

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?

It is a single front-loaded phrase with zero waste, but the brevity crosses into under-specification given that this is a three-required-parameter mutation. Conciseness is not the problem; insufficient content is.

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?

A create tool with no annotations, no output schema, and three required parameters warrants far more than a four-character purpose label. Nothing tells the agent about the supported dns_type values' implications, error conditions, or what a successful application returns or requires next.

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 dns_type documenting that only "private" is currently supported and both project_id and instance_id carrying examples and descriptions. The description adds no meaning beyond the schema, so the baseline of 3 applies.

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?

"申请域名" gives a concrete verb (apply/create) and resource (domain name) in the RDS context, which is enough to tell it apart from the Show/Update/List siblings by implication. However, it never explicitly states that this creates a new DNS name, nor distinguishes it from rds__UpdateDnsName, so an agent must infer that this is the creation path rather than a modification one.

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 statement of prerequisites (e.g. instance must exist, project permissions), no indication of when to prefer rds__UpdateDnsName to change an existing name, and no note that ShowDnsName should be used to read current names first.

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