Skip to main content
Glama

dns__CreateTag

Adds a tag to a specified Huawei Cloud DNS resource, such as a public or private zone or record set, using its project and resource ID.

Instructions

[DNS] 为指定实例添加标签

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>",
      "resource_id": "<resource_id>",
      "resource_type": "<resource_type>",
      "tag": "<tag>"
    },
    "name": "dns__CreateTag"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagYes
project_idYes项目ID。
resource_idYes资源ID。
resource_typeYes资源的类型:DNS-public_zone,DNS-private_zone,DNS-public_recordset,DNS-private_recordset,DNS-ptr_record。

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 full burden for a mutation tool, yet it says nothing about what happens if the tag key already exists (overwrite vs error), whether the operation is idempotent, what permissions are needed, or whether it is reversible. Only the bare mutation intent is conveyed.

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?

A single short sentence with no waste, but also no front-loaded detail beyond the bare action. Brevity here reflects under-specification rather than disciplined concision.

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?

For a four-parameter, all-required mutation tool with a nested object and no annotations or output schema, the description omits duplicate-tag behavior, success/error semantics, and scope relative to batch tagging. An agent has to guess at material behavior before calling it.

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 coverage is 75%, and the nested tag object's key/value constraints plus the enumerated resource_type values are fully documented in the schema itself. The description adds no meaning beyond that, which is acceptable given the high coverage but earns only the baseline.

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 gives a verb-plus-resource ("为指定实例添加标签" / add a tag to a specified instance), so the basic action is identifiable. However, "实例" (instance) is loose terminology for DNS zones and record sets, and nothing distinguishes this from the sibling dns__BatchCreateTag or dns__DeleteTag beyond the implied singular scope.

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 guidance on when to use this versus dns__BatchCreateTag for multiple tags, nor any prerequisite such as required permissions on the target resource. The agent must infer single-vs-batch behavior 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