Skip to main content
Glama

as__ShowLifeCycleHook

Retrieves details of a specified Auto Scaling lifecycle hook using its name, scaling group ID, and project ID.

Instructions

[AS] 根据伸缩组ID及生命周期挂钩名称查询指定的生命周期挂钩详情。

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": {
      "lifecycle_hook_name": "<lifecycle_hook_name>",
      "project_id": "<project_id>",
      "scaling_group_id": "<scaling_group_id>"
    },
    "name": "as__ShowLifeCycleHook"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。
scaling_group_idYes伸缩组标识。
lifecycle_hook_nameYes生命周期挂钩标识。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description alone must carry the behavioral burden, and it does little beyond restating the name: it implies a read but never states that the operation is read-only or non-destructive. It is silent on permission or project-scoping requirements and on what happens when the hook name does not exist in the group.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded sentence with no filler; the resource and both identifying parameters appear immediately. Nothing in the text could be cut without losing meaning.

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?

This is a simple getter with a fully documented three-parameter schema and no output schema, so the description does not need to explain return values. However, with zero annotation coverage, the terse single sentence leaves gaps around read-only semantics, project scoping, and not-found behavior that a slightly fuller description could close.

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 all three path parameters are already documented in the schema and the baseline is 3. The description mentions scaling_group_id and lifecycle_hook_name but adds no format or constraint detail beyond that, and it omits any mention of project_id.

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 plus resource: query the details of a specified lifecycle hook, scoped by scaling group ID and hook name. The phrase '指定的' (the specified one) implicitly sets it apart from a list operation, but it never names the sibling ListLifeCycleHooks, so differentiation must be inferred.

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 only implied: the agent can work out that this retrieves one hook's details given its name and group, which suggests using it after a list call. There is no explicit statement of when to prefer it over as__ListLifeCycleHooks, and no mention of prerequisites such as the hook already existing.

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