Skip to main content
Glama

vpc__CreateTrafficMirrorSession

Create a VPC traffic mirror session to capture selected ENI traffic and send mirrored packets to a target for monitoring or analysis.

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>"
    },
    "name": "vpc__CreateTrafficMirrorSession"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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, yet it says nothing about permissions required, default state of enabled, idempotency on duplicate names, or side effects such as traffic actually being mirrored once created. Only the bare fact that this is a mutating creation operation is conveyed.

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?

A single front-loaded phrase with no filler or redundancy. It is efficient, though its brevity borders on under-specification rather than genuine concision.

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?

This tool takes a nested 11-property session object with no output schema and no annotations, so the description should explain creation semantics, prerequisite resources, and resulting state. Instead it offers only a four-character title-like phrase, leaving the agent to infer everything beyond the field definitions.

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% with every nested property documented in Chinese, so the schema already carries parameter meaning. The description adds nothing about the nested traffic_mirror_session object or the required fields, which is acceptable at the baseline for full coverage.

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 and resource (create a traffic mirror session) plus the VPC service tag, which is enough to distinguish it from the sibling Update/Delete/Show/List session tools by name. It stops short of explicitly contrasting with AddSourcesToTrafficMirrorSession, which also mutates a session.

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 guidance on when to use this versus alternatives, no prerequisites (e.g., that a traffic mirror filter and target must already exist), and no note on how it relates to AddSourcesToTrafficMirrorSession. The only usage signal is the verb '创建'.

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