Skip to main content
Glama

iam__KeystoneCreateScopedToken

Obtains a scoped IAM token from a federated unscoped token, using project or domain scope to authorize Huawei Cloud resource access.

Instructions

[IAM] 该接口可以用于通过联邦认证方式获取scoped 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__KeystoneCreateScopedToken"
  }
}

Input Schema

NameRequiredDescriptionDefault
authYes认证信息。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/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 burden, yet it discloses nothing about token lifetime/expiry, whether the call is idempotent, permission or trust-relationship requirements, or what happens on invalid federation. Only the bare outcome (a scoped token) is stated.

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 front-loaded sentence with the IAM tag and no wasted wording. It is efficiently structured, though the very short length is a byproduct of under-specification rather than discipline.

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?

Compensating for a short description are a complete nested schema and required-field declarations. What is still missing given the tool's complexity is the federation prerequisite and token lifetime context, which an agent would need to call this correctly in a token chain.

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 tool has a single deeply nested `auth` parameter whose sub-fields (identity.methods, identity.token.id, scope.project/domain) are already documented in Chinese within the schema. The description adds no meaning beyond that, so the baseline 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 action and resource — obtaining a scoped token — and specifies the mechanism ("通过联邦认证方式", federated authentication), which distinguishes it from password-based or agency-token siblings. It stops short of explicitly naming those siblings, so differentiation is implied rather than stated.

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/when-not-to-use guidance and no mention of prerequisites, such as the need for an existing federated unscoped token from an IdP, or when a caller should pick a password-based or agency token tool instead. The federated-auth phrase hints at a context but does not guide selection.

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