Skip to main content
Glama

ecs__NovaUpdateServerMetadata

Update user-defined metadata key-value pairs for a specified Huawei Cloud ECS server using its project and server IDs, letting you manage instance attributes and tags.

Instructions

[ECS] 更新云服务器元数据。

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": {
      "metadata": "<metadata>",
      "project_id": "<project_id>",
      "server_id": "<server_id>"
    },
    "name": "ecs__NovaUpdateServerMetadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
metadataYes用户自定义metadata键值对。
server_idYes云服务器ID。
project_idYes项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 and it delivers almost nothing. It does not say whether the supplied key-value pairs merge with or replace existing metadata, whether it requires ownership or admin permissions on the server, or what happens on partial failure — all critical for a mutation with a nested object payload.

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 short, front-loaded sentence with no filler, prefixed by an [ECS] service tag that aids routing. Its brevity is efficient rather than padded, though the space saved is not used for anything more useful.

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?

For a three-parameter mutation tool with a nested object payload, no annotations, and no output schema, the definition is far too thin. Nothing explains merge-vs-replace semantics or the return behavior, which are exactly the gaps structured fields leave open here.

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 metadata, server_id, and project_id each documented in the schema including the 255-character limit on metadata values. The description adds no meaning beyond that, so the baseline 3 applies.

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 names a specific verb and resource combination ('更新云服务器元数据' / update cloud server metadata), so an agent can tell it is a metadata-mutation operation. It does not, however, distinguish itself from close siblings such as NovaUpdateServerMetadataItem, NovaCreateServerMetadata, or NovaDeleteServerMetadataItem, which is the only thing keeping this from 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 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 agent must infer from the name alone whether to call this versus the single-item update or the create/delete metadata variants.

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