Skip to main content
Glama

cbh__RegisterAuthorization

Creates or cancels delegated authorization for a tenant's cloud bastion host (CBH), granting KMS or CSMS permissions in a specified project.

Instructions

[CBH] 租户创建或取消云堡垒机服务的委托授权。

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": {
      "authorization": "<authorization>",
      "project_id": "<project_id>"
    },
    "name": "cbh__RegisterAuthorization"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。
authorizationYes设置云堡垒机委托授权凭据管理、密钥管理服务权限请求对象。(kms和csms必须传一个)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it delivers little: it reveals the create-or-cancel duality (useful) but not whether an existing authorization is overwritten or revoked, what permissions are required, whether the call is idempotent, or what happens on partial kms/csms input. For a mutation tool with zero annotation coverage this is a substantial gap.

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?

A single front-loaded sentence with the service tag first and no filler. It is efficient, though the terseness is part of why the create/cancel mechanics go unexplained.

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 two-parameter mutation with a nested object, no annotations and no output schema, the description should at minimum state how the two operations are triggered and what the effective end state is. Instead the agent must guess at the create-versus-cancel switch and at the impact of the call on existing delegations.

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% and the nested authorization object documents kms/csms individually, including the 'kms和csms必须传一个' constraint, so the schema does the heavy lifting. The description adds no additional meaning about project_id scope or the semantics of each permission flag, which matches the baseline 3.

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 gives a concrete verb pair ('创建或取消' – create or cancel) and a specific resource ('云堡垒机服务的委托授权' – CBH service delegated authorization), and the [CBH] prefix ties it to the CBH family so it can be distinguished from cbh__ShowAuthorization. What it does not resolve is which of the two operations a given call performs.

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?

No guidance on when to call this versus the sibling read tool (cbh__ShowAuthorization), and no hint about prerequisites (owning the CBH service, tenant-level scope). Critically, it never explains how an agent selects 'create' versus 'cancel' — leaving the caller to infer that the operation is driven by the authorization object contents.

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