Skip to main content
Glama
juandvasquezp

hcloud-mcp-server

hcloud_cli

Execute Huawei Cloud CLI commands to manage services. Explore available operations with --help and safely perform destructive actions with dry-run.

Instructions

Huawei Cloud CLI (hcloud) terminal interface.

Navigate the CLI using --help to discover operations and parameters:

  1. --help — list all available services

  2. <Service> --help — list operations for a service (e.g., IAM --help)

  3. <Service> <Operation> --help — show parameters for an operation (e.g., IAM ListCustomPolicies --help)

  4. <Service> <Operation> --param1=value1 --param2=value2 — execute an operation

The parameter format is always --param=value (equals sign required). JSON output is forced automatically (--cli-output=json).

For destructive operations (Delete, Remove, Revoke, Detach, etc.), set confirm=true to execute. Without confirmation, the command runs in --dryrun mode first.

OBS (Object Storage Service) uses obsutil with a different format:

  1. obs help — list all OBS commands

  2. obs help <command> — show help for a specific command (e.g., obs help ls)

  3. obs <command> [args...] [options...] — execute an OBS command

  4. Use --cli-region=<region> to specify the region (translated to the OBS endpoint automatically)

  5. OBS output is plain text (not JSON)

  6. For OBS destructive commands that support dry-run (cp, mv, sync), the command runs with -dryRun unless confirmed

  7. For OBS destructive commands without dry-run support (rm, abort, mb, chattri, bucketpolicy, lifecycle), you must set confirm=true to execute

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYeshcloud CLI arguments (everything after 'hcloud'). Examples: '--help', 'IAM --help', 'IAM ListCustomPolicies --help', 'IAM ListCustomPolicies', 'IAM DeleteCustomPolicy --role_id=abc123', 'obs help', 'obs help ls', 'obs ls --cli-region=la-north-2', 'obs rm obs://bucket/key'
confirmNoSet to true to execute destructive operations. If false (default), destructive commands run in --dryrun mode (or are refused for OBS commands without dry-run support).
Behavior5/5

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

No annotations present, so description fully discloses behavior: destructive ops require confirm, dry-run mode, forced JSON output for hcloud, plain text for OBS, and OBS dry-run limitations. No contradictions.

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?

Well-structured with numbered steps and examples, but somewhat lengthy. Every sentence adds value, but could be streamlined without losing clarity.

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?

No output schema, but description explains return format (JSON vs plain text). Covers essential behavior (auth, region, dry-run). Could mention error output handling, but sufficient for a CLI tool.

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 covers 100% of parameters; description adds value by explaining the command parameter format with examples and the confirm parameter's role in destructive vs non-destructive operations.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool is a general-purpose CLI for Huawei Cloud, allowing any hcloud command. It distinguishes from sibling list/show tools by being the only one that executes arbitrary operations.

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?

Provides step-by-step instructions, examples, and handling of destructive operations (confirm=true) and OBS commands. Doesn't explicitly say when not to use, but siblings imply avoiding complex operations.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/juandvasquezp/hcloud-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server