Skip to main content
Glama

cc__CreateTag

Adds a tag to a Cloud Connect resource, such as a cloud connection or bandwidth package, using the account and resource IDs.

Instructions

[CC] 添加资源标签。此API为历史API,请优先使用《 创建云连接实例标签》、《 创建带宽包标签》。

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": {
      "domain_id": "<domain_id>",
      "resource_id": "<resource_id>",
      "resource_type": "<resource_type>"
    },
    "name": "cc__CreateTag"
  }
}

Input Schema

NameRequiredDescriptionDefault
domain_idYes帐号ID。
resource_idYes资源ID。
resource_typeYes资源类型:

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses that this is a legacy API to be avoided, which is real behavioral context, but says nothing about permissions, idempotency for existing tags, or failure modes of a mutation call.

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

Conciseness4/5

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

Two short sentences with no filler: the operation comes first and the deprecation routing follows. It is appropriately sized, though the repeated guillemet-quoted titles are slightly noisy.

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

Completeness3/5

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

For a simple three-required-parameter mutation with a fully documented schema and no output schema, the definition covers purpose and deprecation adequately. It stops short of telling the agent what a successful call returns or how duplicate tags are handled, which matters for a write tool with no annotations.

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%, including per-parameter descriptions and an enum for resource_type, so the schema already does the explanatory work. The description adds no meaning about domain_id, resource_id, or resource_type beyond what is structured.

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+resource ("添加资源标签" / add resource tag) and pairs it with the legacy/deprecation note, so an agent understands the operation. It does not enumerate which resources, but the schema's enum (cloud-connection, bandwidth-package) supplies that scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly marks this as a historical API and directs the agent to prefer the cloud-connection and bandwidth-package tag creation APIs, which maps to siblings like cc__TagCloudConnection and cc__TagBandwidthPackage. It does not state a positive condition under which this tool should still be used, leaving that inference to the agent.

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