Skip to main content
Glama

vpc__CreateVpcResourceTag

Adds a key-value tag to a specified VPC resource instance using its VPC ID and project ID, helping organize and identify cloud resources.

Instructions

[VPC] 给指定VPC资源实例增加标签信息

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>",
      "tag": "<tag>",
      "vpc_id": "<vpc_id>"
    },
    "name": "vpc__CreateVpcResourceTag"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagYes
vpc_idYes功能说明:虚拟私有云唯一标识
project_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 burden. It only states that a tag is added; it says nothing about whether adding a duplicate key overwrites or fails, whether the call is idempotent, what permissions are required, what tag-count limits apply, or what happens on partial failure. For a mutation tool with zero annotation coverage this is a substantial disclosure gap.

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 compact and front-loads the resource scope marker '[VPC]', but its brevity is under-specification rather than efficiency: the model that would make it useful (semantics of the tag object, duplicate handling) is simply absent.

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?

With a nested tag object, three required parameters, no annotations, and no output schema, the description should explain the mutation's semantics and duplicate-key behavior. One short sentence covering only the headline action leaves an agent unable to call it confidently in edge cases.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All three parameters already carry descriptions in the schema (tag key/value, vpc_id, project_id), giving 67% coverage, but the description adds no meaning beyond them — no explanation of the tag object structure, key uniqueness semantics, or ID formats. It neither compensates for the remaining coverage gap nor enriches what the schema already states.

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 pairs a verb (增加/add) with a resource (标签/tag) and a scope (指定VPC资源实例), so the basic action is legible. However, 'VPC资源实例' is vague about which resource types are taggable, and it makes no attempt to distinguish this tool from the many sibling tag-creation tools (vpc__CreateFirewallTag, vpc__CreateSubnetTag, vpc__CreatePortTag, etc.), so an agent cannot tell from the description which one applies to a given resource.

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, no statement of prerequisites (e.g. that project_id and vpc_id must already exist), and no mention of alternatives or of how this differs from the per-resource tag tools in the sibling list. The agent is left to infer everything from the name.

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