Skip to main content
Glama

vpc__RemoveSourcesFromTrafficMirrorSession

Removes one or more traffic mirror sources from a specified VPC traffic mirror session by updating the session's source list.

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__RemoveSourcesFromTrafficMirrorSession"
  }
}

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

B3/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, and it discloses nothing beyond the bare action. It does not state whether removal is idempotent, whether removing the last source is permitted, whether the session is disrupted during the change, what permissions are required, or what the response contains. For a mutation tool 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 bracketed phrase is front-loaded and free of filler, but it is under-specified rather than genuinely concise for a mutating tool with a nested object parameter. Nothing is wasted, yet almost nothing is conveyed either.

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?

The tool takes a nested object, has no annotations and no output schema, and performs a destructive-style mutation, so the description should carry more weight than it does. It omits effects on the session, error conditions, and return behavior, leaving an agent unable to predict outcomes.

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 project_id, traffic_mirror_session (including the nested traffic_mirror_sources list) and traffic_mirror_session_id all documented inline. The description adds no syntax, format, or cardinality hints beyond the schema, so the baseline of 3 applies.

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 names a specific verb ('移除'/remove) and resource ('流量镜像会话'/traffic mirror session) plus the object acted on ('镜像源'/mirror sources), so an agent can distinguish it from the sibling vpc__AddSourcesToTrafficMirrorSession. It falls short of 5 only because the differentiation is implicit in the wording rather than stated as an explicit contrast.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent can infer this is the inverse of adding sources, but the description gives no prerequisites (e.g. session must exist and be in an operable state), no exclusions, and no guidance on when to prefer it over UpdateTrafficMirrorSession. There is no explicit when-to-use or when-not-to-use statement.

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