Skip to main content
Glama

iam__CreateTemporaryAccessKeyByToken

Obtains temporary AK/SK and security token by exchanging an IAM or federated token, enabling scoped, time-limited access for cloud API requests.

Instructions

[IAM] 该接口可以用于通过token来获取临时AK/SK和securitytoken。

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

Input Schema

NameRequiredDescriptionDefault
authYes认证信息。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 disclosure burden, and it only restates the output artifacts (AK/SK/securitytoken). It does not disclose that this is a credential-issuing operation, that the secret key is typically returned once and not retrievable later, that the caller must already hold a valid token, or how duration bounds affect the result — all facts that live only in the schema or nowhere.

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 a bracketed service tag and no filler beyond the boilerplate '该接口可以用于' phrasing. Nothing is redundant, though nothing is prioritized either — it is short because it says little.

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?

With no annotations, no output schema, and a deeply nested auth object carrying policy scoping and duration semantics, the description should say more about what is minted, its lifetime, and its sensitivity. The one sentence covers the return artifacts but leaves the security-critical behavior and alternative routes undocumented.

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/token/policy/duration structure is fully self-documented, so the baseline applies. The description adds no framing about how policy statements or duration_seconds shape the issued credential, but it is not required to given the schema's richness.

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 verb and outcome: obtaining temporary AK/SK and a security token via a token-based exchange, which maps cleanly to the tool name. Sibling context distinguishes it implicitly from CreateTemporaryAccessKeyByAgency (agency-based) and CreatePermanentAccessKey (long-lived), but the description never states that distinction itself.

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 guidance on when to choose token-based temporary credentials versus the agency-based or permanent-key siblings, and no prerequisites or exclusions are given. The agent must infer the selection rule entirely from the tool name.

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