Skip to main content
Glama

lts__CreateLogGroup

Creates a Huawei Cloud LTS log group using a name, project ID, retention days, and optional tags or alias to organize logs for centralized storage and management.

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": {
      "log_group_name": "<log_group_name>",
      "project_id": "<project_id>",
      "ttl_in_days": "<ttl_in_days>"
    },
    "name": "lts__CreateLogGroup"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo标签字段信息
project_idYes项目ID,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。None
ttl_in_daysYes日志存储时间(天),取值范围:1-30。
log_group_nameYes需要创建的日志组名称。
log_group_name_aliasNo日志组别名

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 behavioral burden. It only implies a mutation ('create') and says nothing about required permissions, whether log group names must be unique, quota limits, or what happens on duplicate creation. For a create operation with zero annotation coverage, this is a significant 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?

It is a single short sentence with no waste, but it is under-specified rather than concise — there is no structure or front-loaded useful detail beyond the verb and resource.

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 5-parameter mutation tool with no annotations and no output schema, one boilerplate sentence is inadequate. The agent cannot tell whether the call is safe to retry, what identifiers it gets back, or how the required project_id and TTL constrain the request.

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 the schema already documents log_group_name, project_id, ttl_in_days (1-30 days), tags, and alias. The description adds no meaning beyond that. When the schema does the heavy lifting, the baseline of 3 is appropriate.

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 states 'creates a log group,' which is a verb plus resource, but it is essentially a restatement of the tool name CreateLogGroup in another language. It adds no scope, no constraints, and no differentiation from siblings such as lts__CreateLogStream or lts__CreateDashboardGroup.

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 at all — no prerequisites, no conditions that select this over lts__ListLogGroups or the stream-creation siblings, and no exclusions. The agent must infer everything from the name.

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