Skip to main content
Glama

lts__ShowStructTemplate

Retrieves the structured configuration template for a specified log stream within a log group, using project, log group, and log stream IDs.

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": {
      "logGroupId": "<logGroupId>",
      "logStreamId": "<logStreamId>",
      "project_id": "<project_id>"
    },
    "name": "lts__ShowStructTemplate"
  }
}

Input Schema

NameRequiredDescriptionDefault
logGroupIdYes日志组IDNone
project_idYes项目IDNone
logStreamIdYes日志流IDNone

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.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 disclosure burden. It implies a read-only lookup but says nothing about required permissions, pagination, error behavior when no structured config exists for the stream, or any hint about the response shape — all of which matter for an unannotated, no-output-schema tool.

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 short, front-loaded sentence with a service tag prefix and zero redundant wording. It is efficient, though its brevity is close to under-specification rather than deliberate density.

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 simple three-required-parameter read operation whose schema is fully documented, the definition is minimally sufficient. The gaps are the absent return-value expectations (no output schema) and the missing note on what happens when no structured config exists for the given stream.

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 three parameters (logGroupId, logStreamId, project_id) documented in the schema itself, so the baseline is 3. The description only echoes the log-stream scoping and adds no extra meaning about ID format assumptions or the relationship between logGroupId and logStreamId.

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 gives a specific verb ('查询' / query) and a specific resource ('结构化配置内容' / structured configuration content) scoped to a designated log stream. The 'Show' vs sibling 'List'/'Create'/'Update'/'Delete' distinction is reasonably inferable, though the description never explicitly differentiates itself from lts__ListStructTemplate or lts__ListBreifStructTemplate.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied: fetch the structured configuration tied to one log stream, which suggests a per-stream lookup rather than a bulk listing. However, there is no explicit when-to-use / when-not-to-use guidance, no mention of prerequisites (e.g. whether a struct template must already be created via lts__CreateStructTemplate), and no named alternative such as the List variants.

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