Skip to main content
Glama

lts__ListTimeLineTrafficStatistics

Query time-based LTS traffic statistics for log groups, log streams, or tenants across a specified range and interval to analyze write, index, storage, and transfer usage.

Instructions

[LTS] 按时间段统计查询资源

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": {
      "end_time": "<end_time>",
      "period": "<period>",
      "project_id": "<project_id>",
      "resource_type": "<resource_type>",
      "search_type": "<search_type>",
      "start_time": "<start_time>",
      "timezone": "<timezone>"
    },
    "name": "lts__ListTimeLineTrafficStatistics"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodYes查询时间间隔,单位为小时,范围为1-24
end_timeYes结束时间时间戳,毫秒时间
timezoneYes时区
project_idYes项目ID,获取方式请参见:获取帐号ID、项目ID、日志组ID、日志流ID。
start_timeYes开始时间时间戳,毫秒时间,最多支持30天范围内的查询
resource_idNo资源ID
search_typeYes查询流量类型值为:write,index,storage,basicTransfer,seniorTransfer
resource_typeYes资源类型,log_group / log_stream / tenant

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.2/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, and it delivers almost nothing: no statement that this is a read-only aggregation, no note on the 30-day start_time cap or the 1-24 hour period semantics, no pagination/return-volume behavior. Only the bare word '统计查询' implies it is a query rather than a mutation.

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 fragment contains no waste and is trivially front-loaded, but its brevity comes from under-specification rather than economy of expression. There is no structure to speak of (no scope, no output, no constraints).

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

Completeness1/5

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

This is an eight-parameter, seven-required time-series aggregation tool with no annotations and no output schema, so the description must explain behavior and return shape. One vague clause is completely inadequate for that complexity.

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 all eight parameters (period, timezone, start/end timestamps, resource_type, search_type values, etc.) documented inline. The description adds no additional parameter meaning, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description '[LTS] 按时间段统计查询资源' essentially restates the tool name in Chinese: a statistics query over resources by time period. It never says that the statistics are *traffic* statistics, what is being aggregated, or how it differs from the closely related sibling lts__ListTopnTrafficStatistics. An agent must fall back on the tool name and schema to infer the actual purpose.

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 when-to-use guidance, no prerequisites, and no mention of any alternative. Several siblings (lts__ListTopnTrafficStatistics, lts__ListStructuredLogsWithTimeRange) cover adjacent query shapes, yet the description gives nothing to choose between them.

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