Skip to main content
Glama

cbh__ListQuotaStatus

Checks whether an Elastic Cloud Server is available for a tenant's selected availability zone and performance specification before provisioning a CBH instance.

Instructions

[CBH] 获取当前租户所选择的可用分区、性能规格所对应的弹性云服务器是否可用。

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": {
      "availability_zone": "<availability_zone>",
      "project_id": "<project_id>",
      "resource_spec_code": "<resource_spec_code>"
    },
    "name": "cbh__ListQuotaStatus"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。获取方法详见API参考,附录[获取项目ID](https://support.huaweicloud.com/api-cbh/cbh_02_0020.html)。
availability_zoneYes创建云堡垒机所在的可用区,需要指定可用分区名称。
resource_spec_codeYes待创建云堡垒机规格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 exist, so the description carries the full burden of behavioral disclosure. It implies a read-only lookup but says nothing about permissions needed, whether the call has side effects, how unavailability or invalid specs are reported, or what the response contains. For a fully unannotated tool this is a substantial gap.

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 front-loaded sentence with the [CBH] service tag first and no filler. It is efficient, though the terse phrasing in translation makes the target of the check ('弹性云服务器是否可用') slightly ambiguous about whether it returns a boolean or quota details.

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?

Three required parameters, no annotations, and no output schema, so the description should ideally indicate the return shape (boolean vs. quota/status object) and any auth context. It covers the inputs' intent adequately but leaves the output and error behavior unexplained, which is a meaningful gap for an availability-check 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 all three parameters (project_id, availability_zone, resource_spec_code) are already documented in the schema. The description adds a light framing that the AZ and performance spec jointly determine the availability answer, but contributes no format, enum, or sourcing detail beyond the schema. 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 states a specific verb and resource: retrieve whether an ECS instance matching the tenant's chosen availability zone and performance spec is available. An agent can grasp the check being performed. However, it draws no line against closely named siblings such as ShowEcsQuota, SearchQuota, or ShowQuota, leaving the reader unsure how this differs from those.

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 call this tool versus the quota-related siblings, no prerequisite conditions, and no exclusions. The agent must infer usage entirely from the tool name and the one-line purpose statement.

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