Skip to main content
Glama

iam_policy_version_set_default

Destructive

Set a specific IAM policy version as the default active version to change access for all attached entities; requires confirm=true.

Instructions

Make a version the default (active) one for a managed policy, changing access for everyone it's attached to; needs confirm=true.

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": {
      "policy_arn": "<policy_arn>",
      "version_id": "<version_id>"
    },
    "name": "iam_policy_version_set_default"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
policy_arnYes
version_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true; the description adds the crucial blast radius ('changing access for everyone it's attached to') and the fact that the confirm flag is required, which the schema does not mark as required. It stops short of saying whether the change is reversible or what happens to the previously active version.

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?

One sentence, front-loaded with the action, followed by the impact and the prerequisite. No padding or repetition of the name.

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?

With an output schema present, return values need not be described, and the destructive semantics plus the confirm gate are covered. Minor gaps remain around revertibility and the state of the prior default version.

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 had room to compensate. It clarifies the confirm parameter's semantics ('needs confirm=true'), but policy_arn and version_id get no added meaning beyond their titles, leaving two of three parameters effectively undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a precise verb and resource ('Make a version the default (active) one for a managed policy'), which clearly separates it from the create/delete/get/list siblings that operate on the same version resource.

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?

The condition for use is implied by 'Make a version the default (active) one', and the confirm=true prerequisite is surfaced, but there is no explicit statement of when not to use it or which sibling handles the alternative (e.g., creating or deleting versions).

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