Skip to main content
Glama

vpc__ListTrafficMirrorSessions

Lists VPC traffic mirror sessions for a project, with filters for session name, ID, type, status, priority, and pagination.

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

Input Schema

NameRequiredDescriptionDefault
idNo使用镜像会话ID过滤或排序
nameNo使用镜像会话名称过滤或排序
typeNo使用镜像源类型过滤
limitNo功能说明:每页返回的个数
markerNo分页查询起始的资源ID,为空时查询第一页
enabledNo使用enabled过滤
priorityNo使用镜像会话优先级过滤
created_atNo使用创建时间戳排序
project_idYes项目ID
updated_atNo使用更新时间戳排序
descriptionNo使用镜像会话描述过滤
packet_lengthNo使用最大传输单元MTU过滤
virtual_network_idNo使用VNI过滤
traffic_mirror_filter_idNo使用筛选条件ID过滤
traffic_mirror_target_idNo使用镜像目的ID过滤
traffic_mirror_target_typeNo使用镜像目的类型过滤

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 behavioral burden, yet it says nothing about pagination semantics (limit/marker), the fact that many query parameters act as filters or sort keys, permission requirements, or result ordering. Only the bare 'list' intent is disclosed.

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 sentence with no padding, which is efficient. The '[VPC]' service prefix is minor noise and the sentence is arguably too terse for a 16-parameter tool, but there is no wasted wording.

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 tool with 16 parameters, a required project_id, pagination controls, and no output schema or annotations, a one-line description is not enough. Nothing explains the paginated response shape, default page size, or that most parameters are optional filters, leaving the agent to reconstruct behavior entirely from 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%, so all 16 parameters already have per-field descriptions and the baseline is 3. The description adds no extra meaning about how filtering and sorting interact (several fields say 'filter or sort') or about the required path-level project_id, so it neither helps nor hurts beyond the schema.

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 gives a specific verb plus resource ('查询流量镜像会话列表' / list traffic mirror sessions), so an agent can tell it is a read/list operation on the session collection. It offers no differentiation from siblings such as ShowTrafficMirrorSession (single-session detail) or ListTrafficMirrorFilters, which is what separates a 4 from 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 guidance on when to use this versus ShowTrafficMirrorSession for a single session, or versus the filter-rule listing tools. The agent must infer from the name alone that this is the collection-level read.

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