Skip to main content
Glama

dws__ListAvailabilityZones

Queries available zone IDs for a specified project so you can select the correct zone when creating a DWS instance.

Instructions

[DWS] 在创建实例时,需要配置实例所在的可用区ID,可通过该接口查询可用区的ID。

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

Input Schema

NameRequiredDescriptionDefault
project_idYes**参数解释**:

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the full behavioral burden. The term 查询 (query) implies a read-only operation, and the description says the interface returns AZ IDs, but it does not state permission requirements, whether results are project-scoped or region-scoped, or the response shape. That is adequate but thin for a tool with zero annotation coverage.

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?

It is a single well-formed sentence that front-loads the task context and then names the returned value. No wasted wording, though the sentence structure puts the use case before the tool's action.

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 simple read-only, single-parameter tool with no output schema, the description covers purpose and rough return value. However, since there is no output schema, an agent cannot tell whether the response is a bare ID list or full zone objects with codes and names, which is a meaningful gap for downstream configuration.

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?

There is one parameter, project_id, and the schema declares 100% description coverage, so the baseline is 3. The description adds no meaning about what project_id should contain or how it affects the returned zones, and the schema field text appears to be an empty stub, so nothing compensates.

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: query availability zone IDs. The [DWS] prefix scopes it to Data Warehouse Service instances, which separates it from the many other ListAvailabilityZones siblings, though it never explicitly names or contrasts those siblings.

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

Usage Guidelines4/5

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

It gives a concrete use context: call it when you need an AZ ID to configure an instance during creation. That is clear when-to-use guidance. It stops short of exclusions, such as when to prefer a different zone-listing tool or what to do if no zone is suitable.

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