Skip to main content
Glama

lts__ListStructTemplate

Query Log Tank Service structured templates by project, optionally filtering by template ID; omit the ID to return all custom structured templates in the project.

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": {
      "project_id": "<project_id>"
    },
    "name": "lts__ListStructTemplate"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo待查询模板id,非必填,不传时返回项目下所有自定义结构化模板
project_idYes项目ID,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must carry the full behavioral burden, but it discloses nothing about pagination, result format, permissions, or read-only semantics. It conveys only that the operation involves querying.

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 description is a single short sentence with no filler, but that brevity comes at the cost of under-specification rather than purposeful conciseness. It is well-formed but adds almost nothing an agent can use.

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 is simple: two parameters with fully documented schema and no output schema. Even so, the description omits all context that would help an agent select it over the closely related struct-template siblings.

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 and its parameter descriptions already explain the id and project_id parameters and the behavior when id is omitted. The description adds no parameter meaning beyond the schema, 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 says only "该接口用于查询结构化模板" (this API queries structured templates), which essentially restates the tool name lts__ListStructTemplate. It adds no specificity about scope, filtering, or how results differ from siblings such as lts__ListBreifStructTemplate and lts__ShowStructTemplate.

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 guidance on when to use this tool versus the many sibling template-listing and template-showing tools. The description does not say when it should be preferred and gives no exclusions or prerequisites.

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