Skip to main content
Glama

mas__UpdateInstance

Partially updates a Huawei Cloud MAS instance by changing fields like name, status, description, namespace ID, or new MAS instance ID for the specified project and instance.

Instructions

[MAS] 部分修改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>",
      "project_id": "<project_id>"
    },
    "name": "mas__UpdateInstance"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
statusNo
project_idYes
descriptionNo
instance_idYes
namespace_idNo
new_mas_instance_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden for a mutation tool, yet it discloses nothing about permissions required, irreversibility, or side effects of changing fields such as status. Only the word "部分" hints that unspecified fields are preserved, which is a minimal clue.

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 free of padding and front-loads the operation, so nothing needs trimming. But brevity here stems from under-specification rather than economy — there is no structure to guide an agent beyond the verb.

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?

A 7-parameter mutation tool with an enum-typed status field, no annotations, no output schema, and a 0% documented schema is described in four words. Nothing needed to invoke it safely or correctly is present, so the definition is not usable without reading the raw schema and guessing.

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 0% across 7 parameters, and the description mentions none of them. Critical ambiguity is untouched, especially the status enum (can the caller move an instance into DELETED or ROLLING_BACK?) and new_mas_instance_id, which sound like they have side effects rather than being plain attributes.

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 identifies a verb and resource plus a modifier ("部分修改MAS实例" = partially modify a MAS instance), so the basic operation is inferable. However, it never says which aspects of the instance are modifiable, nor does it distinguish this from siblings like mas__UpdateModule or mas__UpdateNameSpace, leaving the agent to guess from the schema.

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?

"部分修改" implies patch-style semantics (change only supplied fields) versus a full replacement, which is a weak usage hint. There is no guidance on when to prefer this over CreateInstance/DeployInstance, no prerequisites, and no note on which parameter combinations are valid.

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