Skip to main content
Glama

lts__ShowLogStreamShards

Retrieves all query shards for a log stream consumer group in Huawei Cloud LTS, enabling stream consumption and shard-aware log processing.

Instructions

[LTS] 流消费获取所有的query shards

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": {
      "group_id": "<group_id>",
      "project_id": "<project_id>",
      "stream_id": "<stream_id>"
    },
    "name": "lts__ShowLogStreamShards"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_idYes日志组ID,获取方式请参见:获取项目ID,获取账号ID,日志组ID、日志流ID。
stream_idYes日志流ID,获取方式请参见:获取项目ID,获取账号ID,日志组ID、日志流ID
project_idYes项目ID,获取方式请参见:获取项目ID,获取账号ID,日志组ID、日志流ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 discloses almost nothing: whether the call is read-only, whether it requires special permissions or an active consumption group, whether results are paginated, or what happens if the group has no shards. Only the name 'Show' weakly implies a read.

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?

It is a single short phrase with no wasted words, which is good front-loading, but the mixed Chinese/English wording ('query shards') and the unexplained '流消费' prefix make it less clear than a plain statement would be. Brevity here reflects under-specification rather than discipline.

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 three required identifiers, no annotations, and no output schema, the description should at minimum describe what a returned shard contains and any permission or state prerequisites. Neither is present, leaving the agent with only the schema to work from.

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% for all three path parameters (group_id, stream_id, project_id), so the schema already documents them adequately. The description adds no meaning about parameter interaction or how group/stream pairing affects the returned shards, so the baseline of 3 applies.

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

Purpose3/5

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

The description gives a verb-like action ('获取所有的query shards' – retrieve all query shards) tied to a resource, but the framing '流消费' (stream consumption) is ambiguous and never explains what a 'query shard' is in this service. It does not distinguish this tool from siblings like lts__ListLogStreams or lts__ShowMemberGroupAndStream, so an agent cannot confidently tell which retrieval tool applies.

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 named alternative. The phrase '流消费' hints at a consumption/pull scenario but leaves the agent to infer when shard enumeration is needed versus listing streams or groups.

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