Skip to main content
Glama

mas__UpdateMonitor

Updates an existing Huawei Cloud MAS monitor by applying changes to its configuration, status, and monitoring settings for a specified instance and project.

Instructions

[MAS] 更新监控器

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": {
      "instance_id": "<instance_id>",
      "monitor_id": "<monitor_id>",
      "project_id": "<project_id>"
    },
    "name": "mas__UpdateMonitor"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
nameNo
openNo
specNo
typeNo
monitor_idYesmonitor_id
project_idYes
instance_idYes
created_dateNo
updated_dateNo
application_idNo
monitor_status_infoNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.5/5.0
Behavior1/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, and it discloses nothing: not that this is a mutating operation, not what permissions or project/instance scoping are required, not whether unspecified fields are preserved or reset, and not what happens on partial updates. For a 12-parameter nested mutation tool this is effectively silent.

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

Conciseness2/5

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

It is a single short phrase with no wasted words, but the brevity is under-specification rather than conciseness; there is no structure, no front-loaded scope statement, and nothing an agent can act on.

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?

Given a 12-parameter schema with nested objects, no output schema, and no annotations, the description should explain the mutation's scope, required identifiers, and update semantics. It provides none of that, so the definition is inadequate for the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 8% and the description mentions no parameters at all, leaving 12 parameters undocumented — including the required instance_id, monitor_id, and project_id and the deeply nested spec object (servers, health_check, drs, notify) whose semantics the agent must guess.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description "[MAS] 更新监控器" is essentially a translation of the tool name UpdateMonitor: it states a verb (update) and a resource (monitor) but adds no scope, no indication of which aspects of the monitor are modified, and nothing that distinguishes it from siblings such as mas__SwitchMonitor, mas__SetMonitorGlobalConfig, or mas__BatchSwitchMonitor.

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 when-to-use guidance, no prerequisites, and no mention of alternatives. The only usage signal is the verb "update", which the agent could already infer from the tool name; nothing tells the caller how this differs from the several other monitor-mutating siblings.

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