Skip to main content
Glama

idt__EnableLifecycleTemplate

Enables lifecycle templates for instance data by object IDs in Huawei Cloud IDT, returning the successfully processed entries.

Instructions

[IDT] 根据对象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": {
      "appName": "<appName>"
    },
    "name": "idt__EnableLifecycleTemplate"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsNo
appNameYesappName
applicationIdNo应用ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/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 burden. It does disclose one useful trait — that the response contains only the successfully enabled entries, implying partial-failure semantics — but it says nothing about what 'enabling' changes, whether it requires a checkout/permission, or whether it is reversible. For a mutation tool 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.

Conciseness4/5

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

A single compact sentence with the ID-based scoping front-loaded and no redundant wording. It is terse to the point of being cryptic, but nothing is wasted.

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 takes three parameters, one of them a nested object with two arrays, has no output schema and no annotations — so the description must do the heavy lifting. It does not: semantics of the mutation, the id/masterId relationship, and failure behavior are all left unexplained.

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 67%, and the nested params object documents ids and masterIds (though the 'IDS' description is tautological). The description's '对象ID' weakly maps to the ids array but adds no clarification of how ids relate to masterIds, nor what appName/applicationId scope. Baseline 3 is appropriate since the schema does most of the work.

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 an action (生效/enable) applied to instance data keyed by object IDs, which is more than a restatement of the name. However, the resource is named only obliquely in Chinese ('对应实例数据'), and nothing distinguishes this from the many sibling enable/update/patch lifecycle-template operations. An agent can guess the intent but cannot confidently separate it from e.g. PatchCheckoutLifecycleTemplate.

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 call this versus alternatives, no prerequisites (e.g. must a template be checked out first?), and no mention of the lifecycle-template version context. The only contextual hint is '根据对象ID', which describes an input, not a usage condition.

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