Skip to main content
Glama

bms__ListBareMetalServers

Retrieve and filter bare metal servers by name, status, flavor, tags, or project, returning detailed server information including billing mode and freeze status.

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": {
      "project_id": "<project_id>"
    },
    "name": "bms__ListBareMetalServers"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo裸金属服务器名称
tagsNo裸金属服务器标签:__type_baremetal
limitNo每页返回裸金属服务器的条数,默认值是25,最大值为1000。limit为每页返回裸金属服务器详情的条数
detailNo查询裸金属服务器结果的详细级别,级别越高,查询到的裸金属服务器信息越多,默认为4。可使用的级别为 1,2,3,4
flavorNo裸金属服务器规格ID
offsetNo此接口为分页查询接口,offset为查询页码(起始页码为1),返回值包括总条数和裸金属服务器详情列表。传入offset:按limit值分页(limit默认为1000),返回第offset页裸金属服务器详情列表和总条数,总条数最大值为limit,不足按实际情况返回。不传入offset,传入limit:返回裸金属服务器详情列表和总条数,总条数最大值为limit,不足按实际情况返回。不传入offset,不传入limit:按25条分页,返回第1页裸金属服务器详情列表,总条数最大值为25,不足按实际情况返回。
statusNo裸金属服务器状态,只有管理员可以使用DELETED状态过滤查询已经删除的裸金属服务器。取值范围:ACTIVE、BUILD、ERROR、HARD_REBOOT、REBOOT、REBUILD、SHUTOFF
project_idYes项目ID
reservation_idNo批量创建裸金属服务器时,指定返回的ID,用于查询本次批量创建的裸金属服务器
enterprise_project_idNo查询绑定某个企业项目的裸金属服务器

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden of behavioral disclosure. It implies a read-only filtering/query operation and mentions that billing mode and frozen status can be queried, but it does not explicitly state read-only safety, permission requirements, pagination behavior, or the response structure.

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?

The description is two concise sentences with no unnecessary wording. The core filtering and retrieval purpose is front-loaded, though the second sentence is somewhat generic.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with ten parameters, no annotations, and no output schema, the description covers the main purpose and some useful extra query attributes. However, it omits read-only safety context, pagination behavior, and return-count semantics, leaving meaningful gaps for an agent invoking the tool.

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 the input schema already documents all ten parameters in detail. The description adds no parameter-specific semantics beyond noting that billing mode and frozen status are queryable, so the baseline score of 3 is appropriate.

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 clearly states that the tool filters bare metal servers by request conditions and retrieves their detailed information. It names the resource and the core operation, but it does not distinguish this tool from sibling listing/detail tools such as ListBareMetalServersDetail.

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?

The description implies that the tool is used when filtering servers by request conditions, but it gives no explicit when-to-use guidance, prerequisites, or comparison with alternative server-listing tools. An agent must infer the appropriate context from the schema and sibling names.

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