Skip to main content
Glama

as__ListLifeCycleHooks

Lists lifecycle hooks for a specified scaling group by project and group ID, so you can inspect hook configurations and lifecycle behavior.

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

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。
scaling_group_idYes伸缩组标识。

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 behavioral burden, yet it only restates that a list is returned. It says nothing about pagination, result ordering, empty-result behavior, required permissions, or whether the call is read-only, all of which an agent needs for a list operation with no annotation coverage.

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?

It is a single front-loaded sentence with no filler, and the resource and filter are stated immediately. The brevity is efficient, though it borders on under-specification given the absence of annotations.

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 two-parameter list tool with a fully documented schema, the definition covers what the tool does and its filter key, and no output schema exists so return values need not be explained. However, with zero annotations the definition should say more about pagination and read-only behavior to be fully adequate.

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 both project_id and scaling_group_id documented in the schema including a format pattern, so the baseline is 3. The description only restates that the scaling group ID is the filter and adds no semantics beyond the schema.

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 states a specific verb (查询/query, i.e. list) and resource (生命周期挂钩/lifecycle hooks) scoped by scaling group ID, so an agent can tell it lists hooks rather than creating or updating them. It does not explicitly contrast with the singular detail sibling as__ShowLifeCycleHook, which keeps it off a 5.

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?

The scoping phrase '根据伸缩组ID' implies this is the tool to use when you have a scaling group ID and want its hooks, which is enough to imply usage. There is no explicit when-not guidance and no mention of as__ShowLifeCycleHook for a single hook, so routing is left to inference.

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