Skip to main content
Glama

cbh__LoginCbh

Generates a password-free login link for the current IAM user to access a specified Huawei Cloud Bastion Host instance by project ID and server ID.

Instructions

[CBH] 获取当前IAM用户登录堡垒机的免登录链接

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>",
      "server_id": "<server_id>"
    },
    "name": "cbh__LoginCbh"
  }
}

Input Schema

NameRequiredDescriptionDefault
server_idYes虚拟机id。
project_idYes项目ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does add one genuinely useful trait: authentication is implicit, because the link is for the 当前IAM用户, so no credential is passed as a parameter. However, it omits behavior that matters for a security-sensitive access-generation call, such as link expiry, single-use semantics, and whether the call is audited or revocable.

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?

It is a single, front-loaded sentence with a clear verb-object structure and zero redundant wording. The [CBH] prefix is a cheap namespace marker that introduces no ambiguity.

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 tool with 2 required parameters and no output schema, the definition covers the essential purpose. However, for a tool whose output is an access-granting link, the description should state what the caller receives and any constraints on that link, such as expiry or whether it is scoped to the current user only.

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 project_id and server_id are already documented in the input schema. The description adds no meaning on top of that, such as how server_id relates to the requesting user or whether project_id is inferred from context. The baseline of 3 is appropriate when the schema does the heavy lifting.

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) the 免登录链接 (login-free link) that lets the current IAM user sign in to the bastion host (CBH). The qualifier 当前IAM用户 gives a scope that partly separates it from the login-related siblings, but it never explicitly contrasts itself with cbh__LoginInstance or cbh__LoginInstanceAdmin, so differentiation is implied rather than stated.

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 offers no when-to-use guidance and no exclusions. It does not say when to choose this over the other cbh login tools, and it mentions no prerequisites, such as whether the caller must already own or have permission on the target server.

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