Skip to main content
Glama

iam__CreateBindingDevice

Binds an MFA device to a Huawei Cloud IAM user by validating two authentication codes and specifying the device serial number and user ID.

Instructions

[IAM] 该接口可以用于绑定MFA设备。

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": {
      "authentication_code_first": "<authentication_code_first>",
      "authentication_code_second": "<authentication_code_second>",
      "serial_number": "<serial_number>",
      "user_id": "<user_id>"
    },
    "name": "iam__CreateBindingDevice"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idYes待绑定MFA设备的IAM用户ID。
serial_numberYesMFA设备序列号。
authentication_code_firstYes第一组验证码。
authentication_code_secondYes第二组验证码。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 discloses almost nothing. It does not say that this is a mutating operation, that it may fail if MFA is already bound, that the two codes must come from separate consecutive OTP periods, or that the caller needs permission affecting another user.

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?

The definition is a single short sentence with no padding and the [IAM] prefix front-loads the service. It is concise but under-specified rather than informative, so it earns only a minimal score.

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?

This is a four-parameter, all-required mutation tool with no annotations and no output schema, so expectations should be higher. The description gives no prerequisites, no security or permission context, and no failure conditions, leaving the agent without what it needs to call it safely.

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 each of the four parameters is already documented, which sets the baseline at 3. The description adds no meaning beyond the schema, notably omitting why two authentication codes are required.

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 in Chinese: bind an MFA device (绑定MFA设备) within IAM. That is more than a name restatement, but it does not distinguish this tool from close siblings such as iam__CreateMfaDevice or iam__ShowUserMfaDevice, so the agent cannot tell from the text alone which one binds an existing device to a user.

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 statement of preconditions (for example, that the device must already exist or that the caller needs admin rights on user_id), and no mention of alternatives like DeleteBindingDevice. With four required parameters, the agent has to infer context entirely.

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