Skip to main content
Glama

iam__KeystoneCreateUserTokenByPasswordAndMfa

Authenticates an IAM user with username/password plus a virtual MFA passcode to obtain a token for project- or domain-scoped access.

Instructions

[IAM] 该接口可以用于通过用户名/密码+虚拟MFA的方式进行认证,在IAM用户开启了的登录保护功能,并选择通过虚拟MFA验证时获取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__KeystoneCreateUserTokenByPasswordAndMfa"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/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. It discloses the meaningful precondition that the target user must have login protection enabled with virtual MFA chosen, but says nothing about token lifetime, that the call issues/creates a credential with side effects, or about failure modes such as an invalid passcode.

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 dense sentence that front-loads the authentication mode before the outcome. No filler, though the phrasing is slightly convoluted with the nested conditional clause.

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?

The tool has a deeply nested two-parameter schema, no annotations, and no output schema, so the description must carry more weight than it does. It covers the MFA precondition adequately but leaves the agent without any statement about what a token is, its lifetime, or why this call exists alongside the password-only variant.

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 auth, identity, totp, and scope structures are documented in detail in the schema itself, including when totp is required. The description adds no syntax, format, or scope-selection meaning beyond what those field descriptions already provide, so the baseline of 3 applies.

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 names a specific operation (obtain an IAM user token) and a specific authentication mode (username/password plus virtual MFA), which is enough for an agent to identify the resource and verb. It stops short of naming the password-only sibling iam__KeystoneCreateUserTokenByPassword, so differentiation is implied by the MFA precondition rather than stated explicitly.

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?

The description gives a real when-to-use condition: the IAM user must have login protection enabled and have selected virtual MFA verification. It does not say what to do when MFA is not enabled, nor does it route the agent to the password-only sibling, so the alternative-selection guidance is incomplete.

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