Skip to main content
Glama

iam_policy_version_get

Read-only

Retrieve a specific version of an IAM managed policy and return its policy document as JSON for review or audit.

Instructions

Show one version of a managed policy, with its document as JSON.

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

Input Schema

NameRequiredDescriptionDefault
policy_arnYes
version_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true), so the bar is lower. The description adds only that the policy document comes back as JSON, which is modest added context given a dedicated output schema already exists; nothing is said about permissions needed or behavior for non-existent versions.

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 no filler or redundancy. It is efficiently structured, though the terseness leaves gaps that belong to other dimensions rather than being verbosity problems.

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 presence of an output schema means return values need no explanation, but with two required parameters at zero schema coverage and no usage context, an agent cannot determine version_id formatting or the workflow that produces a valid version id. For a lookup tool in a family of version-management siblings, this is under-specified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Both required parameters have 0% schema description coverage, so the description carries the full burden and adds nothing. It provides no hint about ARN format for policy_arn or the version_id convention (e.g. the 'v' prefix), nor how to discover valid version ids.

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 specific verb and resource ('Show one version of a managed policy') and adds the meaningful detail that the policy document is returned as JSON. This separates it from iam_policy_version_list (many versions) and iam_policy_get (policy-level metadata), though it never names those siblings explicitly.

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 guidance, no prerequisites, and no named alternative. The phrase 'one version' weakly implies this is the single-version counterpart to a list operation, but the agent must infer that rather than being told to call iam_policy_version_list first.

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