Skip to main content
Glama

sts_assume_role

Destructive

Assume an IAM role to obtain temporary, time-limited credentials for Wasabi access; set confirm=true and optionally narrow permissions with an inline policy.

Instructions

Assume an IAM role and get temporary credentials; needs confirm=true. duration_seconds is 900 to 43,200, and an optional inline policy narrows access. The credentials are returned once; with WASABI_MCP_SECRETS_DIR set, they go to a new 0600 file instead and secrets_file gives its path. Wasabi doesn't let the root account assume roles.

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": {
      "role_arn": "<role_arn>",
      "session_name": "<session_name>"
    },
    "name": "sts_assume_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
policyNo
confirmNo
role_arnYes
session_nameYes
duration_secondsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (readOnly=false, destructive=true, openWorld=true), the description discloses that credentials are returned exactly once, that when WASABI_MCP_SECRETS_DIR is set they are written to a new 0600 file whose path is exposed as `secrets_file`, and that an inline policy can narrow the resulting access. These are consequential behavioral facts an agent cannot derive from the annotations alone.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short, front-loaded sentences with no filler; the hard requirement (confirm=true) sits in the first sentence and each subsequent sentence adds a distinct, non-redundant fact about ranges, credential delivery, or account restrictions.

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

Completeness5/5

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

For a destructive, open-world credential-minting tool with five loosely described parameters, the description covers the essential prerequisites, limits, delivery mechanism and account restriction. Since an output schema exists, the description is not obliged to document return fields, and it still explains the notable `secrets_file` behavior.

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 0%, so the description carries the full burden, and it does add meaning for confirm (must be true), duration_seconds (allowed range) and policy (inline policy that narrows access). However role_arn and session_name are never described, and no format hints are given for the policy object-vs-string union.

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 opens with a specific verb and resource ('Assume an IAM role and get temporary credentials'), which is unambiguous. It does not explicitly contrast itself with the sibling sts_session_token or sts_caller_identity, so an agent must infer the distinction from the operation name alone.

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?

It states concrete preconditions and constraints that govern use: confirm=true is required, duration must fall in 900-43,200 seconds, and the Wasabi root account cannot assume roles. It stops short of naming an alternative tool or a 'use X instead when' exclusion, so there is no explicit when-not guidance.

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