Skip to main content
Glama

iam__CreateLoginToken

Obtain a custom proxy login token to authenticate users when accessing the Huawei Cloud console through a custom proxy URL using temporary security credentials.

Instructions

[IAM] 该接口用于用于获取自定义代理登录票据logintoken。logintoken是系统颁发给自定义代理用户的登录票据,承载用户的身份、session等信息。调用自定义代理URL登录云服务控制台时,可以使用本接口获取的logintoken进行认证。

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__CreateLoginToken"
  }
}

Input Schema

NameRequiredDescriptionDefault
authYes认证信息。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully explains what the returned logintoken means and that it represents the user's identity and session, but says nothing about permissions required, whether repeated calls mint additional or invalidate existing tokens, single-use vs. reusable semantics, or rate limits.

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 purpose is front-loaded in the first clause and the follow-up sentences explain what the token is and where it is used. There is minor redundancy (a duplicated '用于用于', and logintoken's definition is restated twice), but nothing extraneous enough to obscure the point.

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

Completeness4/5

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

For a single-parameter tool with a fully documented nested schema, the description covers what the tool produces and why one would call it, which partly substitutes for the missing output schema. It omits operational side effects of minting a credential, which is the only notable gap.

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% across the nested auth/securitytoken object, including the duration_seconds range and interaction with the securitytoken expiry, so the schema does the heavy lifting. The description adds no parameter-level meaning beyond the schema, making the baseline of 3 appropriate.

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 states a specific verb and resource: obtain a logintoken for a custom proxy user ('获取自定义代理登录票据logintoken'), and clarifies what the artifact is (a login credential carrying identity and session info). It is distinguishable from the Keystone/CreateTemporaryAccessKey token siblings, though it never explicitly names them.

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

Usage Guidelines3/5

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

It gives the usage context: call this when you need to authenticate to a cloud service console via a custom proxy URL. However, it offers no guidance on how to choose this tool over the many sibling token-minting tools (CreateTokenWithIdToken, KeystoneCreateScopedToken, etc.), and gives no prerequisites beyond the credential structure.

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