Skip to main content
Glama

vpc__UpdateTrafficMirrorSession

Updates a VPC traffic mirror session to modify its name, enabled status, priority, packet length, VNI, filter, or mirror target, helping adjust traffic capture and routing.

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": {
      "project_id": "<project_id>",
      "traffic_mirror_session": "<traffic_mirror_session>",
      "traffic_mirror_session_id": "<traffic_mirror_session_id>"
    },
    "name": "vpc__UpdateTrafficMirrorSession"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID
traffic_mirror_sessionYes流量镜像会话对象
traffic_mirror_session_idYes流量镜像会话ID

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?

With no annotations supplied, the description carries the full behavioral burden and provides essentially none of it: no statement of required permissions, no explanation of partial-update semantics (are omitted fields preserved or reset?), and no note on reversibility. It only conveys that this is a mutation via the verb 更新.

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?

It is a single short phrase with zero waste, but the brevity comes from under-specification rather than disciplined editing. There is no structure to front-load because there is only a title-level label.

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 taking a nested nine-field object with no annotations and no output schema, the description should explain update semantics, required permissions, and the effect of enabling/disabling the session. None of that is present, so an agent cannot call it confidently without reverse-engineering the schema.

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 the nested traffic_mirror_session object with all nine sub-fields documented in Chinese, so the schema already does the heavy lifting. The description adds no meaning about how project_id or traffic_mirror_session_id pair with the nested object, so the baseline 3 applies.

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?

"更新流量镜像会话" names a specific verb (update) and resource (traffic mirror session), so the basic purpose is recoverable. However it adds nothing beyond the tool name, gives no indication of which session attributes are updatable, and does not distinguish it from siblings like vpc__UpdateTrafficMirrorFilter or vpc__AddSourcesToTrafficMirrorSession.

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?

No when-to-use guidance, no prerequisites, and no mention of the alternatives among the many traffic-mirror siblings. The agent must infer entirely from the name that this modifies an existing session rather than creating, deleting, or listing one.

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