Skip to main content
Glama

dis__CreateTag

Adds a tag to a specified DIS channel using the project ID, stream ID, and key-value pair to organize and manage cloud resources.

Instructions

[DIS] 本接口用于给指定通道添加标签。

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>",
      "stream_id": "<stream_id>",
      "tag": "<tag>"
    },
    "name": "dis__CreateTag"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagYes标签对象。
stream_idYes通道ID。
project_idYes项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/5.0
Behavior2/5

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

Because no annotations are provided, the description must carry the full behavioral burden, but it does not disclose whether adding a duplicate tag overwrites or fails, whether the tag takes effect immediately, which permissions are required, or whether the operation is reversible. For a mutation tool with zero annotation coverage, this is a significant omission.

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?

The single sentence is front-loaded and has no wasted words, but the extreme brevity reflects under-specification rather than efficient concision. The agent learns almost nothing beyond the title's meaning.

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 mutation tool with a nested tag object, no annotations, and no output schema, the definition should do more. It omits duplicate-tag behavior, the response shape, and any error or permission context.

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 the schema already documents all three parameters, including the tag key/value length constraints. The description adds only the notion of targeting a specified channel, which is already implied by stream_id in the schema. A baseline score of 3 is therefore appropriate.

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

Purpose4/5

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

The description states a specific verb plus resource: adding a tag to a designated channel (通道). An agent can understand what the tool does. However, it does not distinguish this tool from siblings such as dis__BatchCreateTags or dis__DeleteTag.

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?

The description gives no guidance on when to use this tool instead of BatchCreateTags, and it states no prerequisites or exclusions. The agent must infer the single-versus-batch distinction from the sibling names 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