Skip to main content
Glama

vpc__CreatePortTag

Adds a key-value tag to a specified VPC port resource, enabling organization and identification of port instances.

Instructions

[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": {
      "port_id": "<port_id>",
      "project_id": "<project_id>",
      "tag": "<tag>"
    },
    "name": "vpc__CreatePortTag"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagYes
port_idYes功能说明:端口唯一标识
project_idYes项目ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/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 entire behavioral burden and does not meet it. It does not say what happens on a duplicate tag key (overwrite vs. error), whether the call is idempotent, how many tags a port may hold, or what permissions/project ownership are required. For a mutation tool with zero annotation coverage this is a substantial 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 short sentence is front-loaded and free of padding, but its brevity comes from omission rather than precision. There is no structure to separate intent from constraints because no constraints are stated.

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?

Given a three-parameter mutation with a nested tag object, no annotations, and no output schema, the definition does not supply enough for reliable invocation. Behavior on repeat keys, error conditions, and the single-vs-batch choice are all missing.

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?

Schema coverage is 67% and the description adds no meaning to any parameter — port_id, project_id, and the nested tag key/value are only explained by the schema. It does not clarify, for example, whether project_id must match the port's owning project or what the tag key naming rules are, so it fails to compensate for the uncovered portion.

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 concrete verb and target: add tag information to a specified port resource instance in VPC. An agent can tell this is a port-level tagging write. It does not distinguish itself from the sibling vpc__BatchCreatePortTags, so it stops short of a 5.

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 note about the batch alternative, and no prerequisite or constraint mentioned. The agent must infer from the sibling name alone whether to tag one port or many, which is exactly the routing decision the description should make.

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