Skip to main content
Glama

HuaweiCloud DevKit (Remote Demo)

huaweicloud_sandbox_close_session

Close the persistent terminal session for a workspace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
usernameNoLogin username (default: root)
workspace_idNoWorkspace ID from huaweicloud_sandbox_connect return value. Required - must be passed explicitly when HW_WORKSPACE_ID is not set.

Schema Changelog

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

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description bears the full burden of behavioral disclosure. It only states the action without explaining side effects (e.g., terminating running processes), reversibility, idempotency, or error behavior. For a mutation tool, this is a significant gap. The description also does not indicate whether authentication is required or what happens if the session does not exist.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, concise sentence with no wasted words. The core action and target are front-loaded, making it immediately clear what the tool does.

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

Completeness2/5

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

For a tool with no annotations and no output schema, the description is too minimal. It lacks critical context such as return values, potential side effects, error scenarios, and whether the operation is destructive or reversible. An agent would not know what to expect or how to handle edge cases, making the description incomplete for safe invocation.

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 both parameters (username and workspace_id) are fully documented in the input schema. The description adds no extra meaning beyond the schema; it does not explain why workspace_id is required when HW_WORKSPACE_ID is unset (already in schema). According to the rubric, with high coverage, a baseline of 3 is appropriate.

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 action ('Close') and the target ('persistent terminal session for a workspace'). This is specific and distinct from sibling tools like huaweicloud_sandbox_connect (which opens sessions) and huaweicloud_sandbox_exec_with_session (which executes commands). The purpose is unambiguous.

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 provides no guidance on when to use this tool, when not to, or any alternatives. It does not mention that this is the counterpart to huaweicloud_sandbox_connect or that it should be called after the session is no longer needed. There is no context about prerequisites or conditions for safe usage.

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.