Skip to main content
Glama

bms__UpdateBaremetalServerMetadata

Update custom metadata for a bare metal server by adding new fields or changing existing values, while leaving unspecified fields unchanged.

Instructions

[BMS] 更新裸金属服务器元数据。如果元数据中没有待更新字段,则自动添加该字段。如果元数据中已存在待更新字段,则直接更新字段值;如果元数据中的字段不再请求参数中,则保持不变

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": "bms__UpdateBaremetalServerMetadata"
  }
}

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

A3.7/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden and does disclose the important merge behavior: missing keys are added, existing keys are overwritten, and keys absent from the request are left untouched (effectively no delete capability). It omits what happens on permission failure, whether the update is synchronous, and what the response contains.

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

Conciseness5/5

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

Three short clauses, front-loaded with the action, then immediately the three merge cases. No filler, no repetition of the title, and each sentence adds a distinct rule.

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

Completeness4/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 no annotations and no output schema, the description covers the risky part well: what happens to fields the caller does not send. Only error/permission behavior and return information are missing, which are secondary for a straightforward metadata upsert.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning about how the metadata map parameter interacts with existing server metadata. That merge/add/keep-unchanged rule is exactly the semantics an agent needs before constructing the payload, going beyond the schema's terse '用户自定义metadata键值对'.

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?

States a specific verb and resource (更新裸金属服务器元数据) and uses the [BMS] prefix to identify the service, so an agent knows exactly which object is mutated. It does not, however, differentiate itself from close siblings such as ecs__UpdateServerMetadata or ecs__NovaUpdateServerMetadataItem.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage by explaining merge semantics, which tells an agent this is a partial-upsert rather than a replace operation. It never says when to choose this over a sibling metadata tool, and never states prerequisites such as ownership or permissions on the server.

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