Skip to main content
Glama

vpc__ListFlowLogs

Lists VPC flow logs for a tenant and filters them by name, status, resource type, traffic type, or log group to audit network traffic and troubleshoot connectivity.

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

Input Schema

NameRequiredDescriptionDefault
idNo流日志资源唯一标识
nameNo功能说明:流日志名称
limitNo功能说明:每页返回的个数
markerNo分页查询起始的资源ID,为空时为查询第一页
statusNo功能说明:流日志状态
tenant_idNo项目ID
project_idYes项目ID
descriptionNo功能说明:流日志描述
resource_idNoresource_type对应资源的唯一ID
log_group_idNo日志组ID
log_topic_idNo日志主题ID
traffic_typeNo功能说明:流日志采集类型
resource_typeNo功能说明:流日志所属资源类型
log_store_typeNo功能说明:流日志存储类型

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/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. It does disclose one meaningful trait beyond the schema — results are scoped to the calling tenant — and that filtering is applied. It says nothing about pagination cursor semantics, default page size, ordering, or result volume, which matters for a 14-parameter list endpoint.

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 the scope stated first. Slightly redundant in repeating '列表' and '过滤' twice, but there is no filler or hedging.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a list tool with 14 parameters, fully described schema, and no output schema, the description is minimally adequate: an agent knows what comes back in kind. It omits pagination behavior (marker/limit), default ordering, and whether filters combine with AND logic, which are the gaps an agent would still need filled.

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 enums for status, traffic_type, resource_type, and log_store_type, so the schema does the heavy lifting. The description only generically mentions '过滤条件' without mapping any of the 14 parameters, which is the expected baseline when the schema is fully documented.

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 uses a specific verb-plus-resource pair ('查询…流日志列表') and adds scope ('提交请求的租户的所有') plus a filtering capability. It is clearly distinguishable from vpc__ShowFlowLog or vpc__CreateFlowLog by being a list operation, though it does not name any sibling explicitly.

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?

The sentence describes what the tool returns, not when an agent should pick it over vpc__ShowFlowLog (single resource) or cfw__ListFlowLogs (different product). No prerequisites, no when-not-to-use, no alternative routing are given, so the guidance is essentially absent.

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