Skip to main content
Glama
@incidentpilot/mcp-aws

@incidentpilot/mcp-aws

iam_get_policy_details

Retrieve detailed information and the policy document for an AWS IAM managed policy to inspect permissions and investigate access issues.

Instructions

Get detailed information about an IAM managed policy including the policy document

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": {
      "policyArn": "<policyArn>"
    },
    "name": "iam_get_policy_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionNoAWS region (defaults to configured region)
policyArnYesThe ARN of the IAM policy

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. It usefully states that the policy document is returned, which is real behavioral information beyond the schema, but it omits whether this returns the default policy version, whether the document is URL-encoded, and any permission requirements for reading IAM policies.

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?

A single, front-loaded sentence that names the verb, the resource, and the notable output content with no filler or redundancy. Nothing could be removed without losing information.

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?

For a simple two-parameter read tool with full schema coverage and no output schema, the description covers the essential payload (the policy document). The only meaningful gap is not clarifying which policy version is returned, which is a modest omission rather than a blocking one.

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%, with both policyArn and region documented in the schema itself, so the baseline is 3. The description adds no additional meaning about the ARN format, region defaulting, or whether a specific policy version can be requested.

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 uses a specific verb and resource ("Get detailed information about an IAM managed policy") and adds the key content detail that the policy document is included. This clearly separates it from list-style siblings like iam_list_policies and from iam_get_role_details by resource, though it does not name any alternative explicitly.

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?

Usage is only implied by the contrast between "get ... details" and the sibling list tools; there is no explicit statement of when to use this versus iam_list_policies or iam_get_access_advisor, and no prerequisites or exclusions are given. An agent can infer the intent from the name and description but must do the work itself.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.