Skip to main content
Glama

iam__KeystoneCreateUserTokenByPassword

Authenticates an IAM user with username and password to obtain a scoped token for accessing Huawei Cloud resources. Specify project or domain scope to control token permissions.

Instructions

[IAM] 该接口可以用于通过用户名/密码的方式进行认证来获取IAM用户token。

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": {
      "auth": "<auth>"
    },
    "name": "iam__KeystoneCreateUserTokenByPassword"
  }
}

Input Schema

NameRequiredDescriptionDefault
authYes认证信息。
nocatalogNo如果设置该参数,返回的响应体中将不显示catalog信息。任何非空字符串都将解释为true,并使该字段生效。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden but only conveys that authentication produces a token. It does not disclose credential-handling considerations, token lifetime or renewal, failure behavior, side effects, or how the token is returned.

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?

The single sentence is compact, readable, and communicates the core operation without digression. The generic IAM prefix and phrasing equivalent to 'this interface can be used' add slight boilerplate before the substantive content.

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?

Together with the richly documented schema, the description is minimally sufficient to understand and construct a request. However, for a security-sensitive token operation with no annotations or output schema, it leaves important gaps around flow selection, scope behavior, and handling the issued token.

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%, including the nested identity, password, project/domain scope, and nocatalog fields, so the baseline of 3 applies. The description reinforces the username/password meaning of auth but adds no parameter detail beyond the schema.

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 clearly states the authentication method, username/password, and the result, an IAM user token. This distinguishes the broad password-based flow, but it does not clarify token scope or differentiate the operation from MFA and other token-creation siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear use case: authenticating with an IAM username and password when a user token is needed. It provides no exclusions or selection guidance, such as when MFA is required or when another token-creation flow is more appropriate.

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