Skip to main content
Glama

ecs__NovaUpdateServerMetadataItem

Set or update a metadata item for a specified key on a Huawei Cloud ECS server by providing the server ID, project ID, and custom key-value pair.

Instructions

[ECS] 设置云服务器指定key的元数据。

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": {
      "key": "<key>",
      "meta": "<meta>",
      "project_id": "<project_id>",
      "server_id": "<server_id>"
    },
    "name": "ecs__NovaUpdateServerMetadataItem"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes待修改的云服务器metadata键值。
metaYes用户自定义metadata键值对。
server_idYes云服务器ID。
project_idYes项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/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, yet it only restates the operation. It does not say whether an existing key's value is overwritten, whether absent keys are created, what permissions/scope (project_id) are required, or what happens to other metadata entries.

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?

A single short sentence with no wasted words, but it is under-specified rather than concise: there is no structure, no front-loaded guidance, and nothing beyond the operation name.

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?

This is a mutation tool with no annotations, no output schema, and four required parameters including a nested object map, which warrants more than one sentence. Missing are overwrite semantics, error/conflict behavior, and any indication of the response, leaving the agent under-informed for a write operation.

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%, so all four parameters (key, meta, server_id, project_id) are already documented in the schema, and the description adds no format or constraint detail beyond it. Baseline 3 is appropriate here.

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 gives a specific verb (设置/set) and a specific resource (云服务器指定key的元数据 — metadata of a specified key on a cloud server), which is enough to tell it apart from the Delete/Show/Create metadata siblings. It does not explicitly contrast with NovaUpdateServerMetadata (bulk update), so it falls short of 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 guidance on when to use this single-key setter versus the bulk NovaUpdateServerMetadata or NovaCreateServerMetadata, and no preconditions (e.g., that the key must already exist or that a new key will be created). The agent must infer the choice from names alone.

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