Skip to main content
Glama

iam_policy_list

Read-only

List managed IAM policies by scope—All, AWS system, or customer-managed Local—with optional attached-only filtering; return names, ARNs, default versions, attachment counts, and pagination.

Instructions

List managed policies: scope All, AWS (Wasabi's system policies) or Local (customer-managed); only_attached=true limits to policies in use. Returns names, ARNs, default versions and attachment counts, plus pagination.

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

Input Schema

NameRequiredDescriptionDefault
scopeNoAll
max_itemsNo
path_prefixNo
only_attachedNo
continuation_tokenNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/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), and the description adds real value on top by disclosing what is returned (names, ARNs, default versions, attachment counts) and that results are paginated. The remaining gap is that it does not say how large pages are or how to resume.

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?

Two dense sentences front-load the scope semantics and follow with the filter and return shape; almost nothing is wasted. The parenthetical glosses are useful and the structure is easy to scan.

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

Completeness3/5

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

Because an output schema exists, the description need not detail return values, and the safety profile is covered by annotations. What is missing for a five-parameter list tool with zero schema coverage is documentation of path_prefix, max_items, and continuation_token, so an agent cannot confidently use those controls.

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?

With schema description coverage at 0%, the description must carry parameter meaning, and it does explain the three scope values and the only_attached flag well. However, max_items, path_prefix and continuation_token receive no semantic explanation beyond the generic word 'pagination', leaving three of five parameters undocumented anywhere.

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+resource ('List managed policies') and immediately clarifies the scope dimension (All/AWS system vs Local customer-managed), which implicitly separates it from inline-policy siblings. It stops short of naming an alternative tool outright, so an agent must still infer the contrast with iam_inline_policy_list.

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 implied rather than stated: setting scope=Local implies customer-managed lookups and only_attached=true implies finding policies in use. There is no explicit 'use this instead of X' routing or exclusion guidance, leaving the agent to infer when to pick this over iam_attached_policy_list or iam_inline_policy_list.

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