Skip to main content
Glama

iam__CreateUnscopedTokenWithIdToken

Obtain a federated IAM token via OpenID Connect ID token by specifying the identity provider and protocol.

Instructions

[IAM] 获取联邦认证token(OpenId Connect Id 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": {
      "idp_id": "<idp_id>",
      "protocol_id": "<protocol_id>"
    },
    "name": "iam__CreateUnscopedTokenWithIdToken"
  }
}

Input Schema

NameRequiredDescriptionDefault
idp_idYes身份提供商id。
protocol_idYes协议id。

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 must carry the behavioral disclosure burden, but it omits required permissions, whether the token is scoped or unscoped, token lifetime, and response contents. It identifies the authentication method but leaves the operational behavior of token issuance largely opaque.

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 definition is a single front-loaded sentence with no filler, and the purpose and method are stated immediately. Its brevity is efficient, though it may be too compressed for a security-sensitive token-creation operation.

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?

The tool creates an authentication token with no annotations and no output schema, yet the description does not explain the unscoped token scope, prerequisites, required permissions, or how the result should be used. Given the security-sensitive nature and the many sibling token-creation tools, this is too incomplete for reliable invocation.

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 both idp_id and protocol_id are documented in the schema as identity-provider and protocol IDs. The description adds no further meaning, constraints, or format guidance for those parameters, 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 states a clear verb (获取/obtain) and resource (联邦认证token), and identifies the OpenID Connect Id-token method. It does not, however, mention the “unscoped” distinction that separates this tool from siblings such as iam__CreateTokenWithIdToken, so sibling differentiation is incomplete.

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 explicit guidance on when to use this tool versus alternatives, nor any exclusions or prerequisites. The only usage hint is the OIDC Id-token method embedded in the purpose sentence.

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