Skip to main content
Glama

workspace__UpdateAuthMethodConfig

Updates Huawei Cloud Workspace authentication policy settings, including auth type, RADIUS gateway, OAuth2/LDAP/third-party SSO, and emergency login options.

Instructions

[WORKSPACE] 更新认证策略配置信息。

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

Input Schema

NameRequiredDescriptionDefault
auth_typeNo认证类型。
project_idYes项目ID。
emergency_login_modeNo应急登录模式。
radius_gateway_configNo短信辅助认证配置。
third_party_auth_configNo第三方认证配置信息。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.2/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full burden, yet it discloses nothing beyond the name. It does not say whether the update is a full replacement or a merge, what happens to existing settings (e.g. LDAP configs, third-party auth configs) not included in the request, what permissions are required, or whether the change is reversible or disruptive to active sessions.

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

Conciseness3/5

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

A single short sentence with no wasted words and the action front-loaded. Its brevity reflects under-specification rather than tight editing, so it earns only a middling score.

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

Completeness1/5

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

This is a nested, multi-parameter mutation tool with conditional semantics (which fields apply for RADIUS_GATEWAY vs OAUTH2 vs LDAP vs CLIENT_TOKEN), no annotations, and no output schema. One generic sentence is nowhere near complete for an agent to invoke it safely or correctly.

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 the baseline is 3. The description adds nothing beyond the schema, but the schema itself documents all five top-level parameters and the deep nested structures, so the omission is not damaging on its own.

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

Purpose3/5

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

The description states a verb and resource ("更新认证策略配置信息" — update authentication policy configuration), which is more than a tautology of the tool name. However, it gives no scope or distinguishing detail, so an agent cannot tell it apart from the very similar sibling workspace__UpdateAssistAuthMethodConfig or decide between it and workspace__ShowAuthConfig.

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?

There is no when-to-use guidance, no prerequisites, and no mention of any alternative. The agent must infer entirely from the tool name that this is the write counterpart to ShowAuthConfig and the general (non-assist) variant of UpdateAssistAuthMethodConfig.

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