Skip to main content
Glama

HuaweiCloud DevKit (Remote Demo)

huaweicloud_auth_switch

Switch Huawei Cloud credentials within the current session. action=temporary keeps AK/SK in memory only (restart loses them; hcloud commands are unaffected and an A+C warning will be raised). action=persist writes S1 (single source of truth) with configuredBySession flag and propagates to S2 (KooCLI current profile) and S3 (OBS). action=clear resets runtime credentials. mode=import reads AK/SK from ~/.config/huaweicloud/creds-import.json then wipes it (SK never enters conversation). mode=memory passes AK/SK as tool arguments (SK is visible to model - prefer import). mode=mcp-config reads the injected mcp_settings environment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
akNo
skNo
modeNoCredential source channel
actionNoApply scope
regionNo
securityTokenNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A3.6/5.0
Behavior5/5

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

With no annotations present, the description carries the full transparency burden and does so admirably. It discloses side effects: temporary credentials are lost on restart, persist writes and propagates, clear resets, import reads then wipes the file, and memory exposes the SK to the model.

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 dense but not bloated; every clause adds operational detail. It front-loads the core purpose and then systematically explains action and mode variants, though the single-paragraph format is a bit long and could benefit from structured bullets.

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?

Core behavior and side effects are well covered, but there is no mention of output/return values, error cases, prerequisites, or whether parameters like region and securityToken are required or optional. This leaves moderate gaps for an agent deciding how to invoke the tool.

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

Parameters2/5

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

Only two parameters (mode and action) have schema descriptions, so the description must compensate for the other four. It clarifies ak/sk in the context of import vs memory, but region and securityToken receive no explanation at all, leaving their role and optionality unclear.

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 action—switching Huawei Cloud credentials within the current session—and enumerates the action/mode variants. It is clear enough to distinguish from sibling auth tools, though it does not explicitly name those alternatives.

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 gives practical guidance on mode choices, such as preferring import because the SK never enters the conversation, and explains persistence/clear semantics. However, it does not explicitly say when to use this tool versus sibling tools like auth_init, auth_confirm, or auth_status.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.