Skip to main content
Glama

cae__UpdateTimerRule

Modify a CAE timed start/stop rule to adjust its cron schedule, on/off status, effective scope, and target apps or components.

Instructions

[CAE] 修改定时启停规则。

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": {
      "api_version": "<api_version>",
      "kind": "<kind>",
      "project_id": "<project_id>",
      "spec": "<spec>",
      "timer_rule_id": "<timer_rule_id>"
    },
    "name": "cae__UpdateTimerRule"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesAPI类型,固定值“TimerRule”,该值不可修改。
specYes启停规则规格信息。
project_idYes项目ID,获取项目ID请参见[获取项目ID](https://support.huaweicloud.com/api-cae/cae_06_0021.html)。
api_versionYesAPI版本,固定值“v1”,该值不可修改。
timer_rule_idYes定时启停规则ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are provided, so the description would need to carry the load of disclosure. It only implies mutation through "modify" and does not state that spec appears to be a full replacement of the rule (requiring name, type, status, cron, effective_policy, effective_range), what happens to omitted optional fields, or that the change is persistent and affects scheduled start/stop behavior.

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 single sentence is front-loaded and has no padding, so nothing is wasted. Its brevity is achieved through omission rather than tight phrasing, which leaves it under-specified for the complexity of the tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a mutation tool with five fully required parameters, a nested spec object with six required subfields and conditional fields, and no output schema and no annotations. A one-sentence description that only restates the name is insufficient for the caller to know what a successful update replaces or what constraints apply.

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%, including conditional notes that apps apply when effective_range=application and components when effective_range=component. The description adds no additional meaning about the parameters, so the schema carries the parameter documentation and a baseline 3 is appropriate.

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 gives a verb plus resource ("modify" + "timer start/stop rule"), so the operation is identifiable. However, it says nothing to distinguish this tool from cae__CreateTimerRule, cae__DeleteTimerRule, or the many other Update*Rule siblings, and the purpose beyond the name restatement is minimal.

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 about when to use this tool versus creating a new rule or listing existing ones, and no prerequisites are stated. The agent must infer that an existing timer_rule_id is required and that this is a replacement operation.

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