Skip to main content
Glama
@incidentpilot/mcp-aws

@incidentpilot/mcp-aws

iam_list_policies

List AWS IAM managed policies, filtered by scope, path prefix, attachment status, and region, to inspect permissions during incident investigation.

Instructions

List IAM managed policies

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "iam_list_policies"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeNoFilter by policy scope: All, AWS (AWS-managed), or Local (customer-managed)Local
regionNoAWS region (defaults to configured region)
maxItemsNoMaximum number of policies to return
pathPrefixNoFilter by path prefix
onlyAttachedNoOnly return policies attached to IAM entities

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden and discloses only that this is a listing operation. It does not mention read-only safety, pagination, default scope behavior, permissions required, or what the results represent, leaving significant gaps for a five-parameter IAM tool.

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 description is a single front-loaded sentence with no wasted wording. It is extremely terse, but structurally clean and easy to parse.

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?

Given five optional parameters, no annotations, and no output schema, the description is too minimal to fully prepare an agent. The schema covers parameter syntax well, but behavior, result shape, and usage context are missing.

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?

The input schema has 100% description coverage for all five parameters, including enum meanings and defaults. The description adds no parameter meaning beyond what the schema already provides, so the baseline score of 3 is appropriate.

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 and resource: listing IAM managed policies. It does not explicitly differentiate itself from siblings such as iam_get_policy_details, but the resource is distinct enough that an agent can tell what it does.

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 guidance on when to use this tool versus alternatives, no prerequisites, and no exclusions. The agent must infer usage entirely from the name and resource.

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