Skip to main content
Glama

iam_account_authorization_details

Read-only

Retrieves a paginated JSON snapshot of IAM users, groups, roles, and managed policies, including memberships and policy documents, with optional type filters.

Instructions

Snapshot every user, group, role and managed policy with their memberships and policy documents (as JSON). filter limits it to User, Role, Group, LocalManagedPolicy and/or AWSManagedPolicy. Each item has a type; 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_account_authorization_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
filterNo
max_itemsNo
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 declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description goes beyond that by disclosing payload characteristics — policy documents returned as embedded JSON, a type discriminator on each item, and pagination — which materially affects how an agent parses results. It omits any warning that a full account snapshot is a heavy call with potentially large output.

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?

Three short sentences with the core scope front-loaded and no filler. The phrasing is telegraphic and slightly awkward ("Each item has a type; plus pagination"), which costs a little readability but not meaning.

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?

An output schema exists, so return-value details needn't be spelled out, and the read-only safety profile comes from annotations. Still, with three parameters at 0% schema coverage, the pagination parameters deserve more than a passing mention for an agent to drive them correctly.

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 must compensate. It does explain filter well by enumerating the allowed values (User, Role, Group, LocalManagedPolicy, AWSManagedPolicy) and stating that it narrows the result set. However, max_items and continuation_token are only gestured at with the phrase "plus pagination", leaving their semantics largely undocumented.

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?

"Snapshot every user, group, role and managed policy with their memberships and policy documents" is a specific verb+resource statement that clearly distinguishes this from narrower siblings like iam_account_summary or iam_attached_policy_list. It stops short of naming an alternative outright, but the scope is unmistakable.

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 description implies the intended use (a full-account dump, narrowed via filter to specific resource types), which is enough to pick it over a targeted list tool. It never explicitly says when to prefer it over alternatives or when it is a poor choice (e.g., for a single user's policies), so guidance is only implied.

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