Skip to main content
Glama

iam_user_get

Read-only

Retrieve and summarize an IAM user's groups, attached and inline policies, and access key IDs, status, and creation dates without exposing secrets.

Instructions

Summarise one IAM user: the user, their groups, attached and inline policies, and access keys (IDs, status and created date only, never secrets).

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": {
      "user_name": "<user_name>"
    },
    "name": "iam_user_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so safety is covered; the description adds real value by disclosing the output shape boundary — access keys are limited to IDs, status and created date, and secrets are never returned. It does not cover behavior on a missing user or pagination, which keeps it below a 5.

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?

One sentence, front-loaded with the action and resource, with the return contents following in a compact list. Every clause carries information; nothing is redundant or padded.

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?

An output schema exists, so return values need not be spelled out, and the annotations cover the read-only profile; combined with the description this is nearly complete for a one-parameter lookup. The remaining gap is error/not-found behavior, which is minor here.

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% and the description says nothing about the single required user_name parameter — no format guidance (bare name vs. path vs. ARN) and no statement of case sensitivity. The parameter is self-evident from its name, so a baseline 3 is appropriate, but nothing is added beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — "Summarise one IAM user" — and then enumerates the exact contents (groups, attached and inline policies, access keys). The singular "one IAM user" cleanly separates it from the sibling list operation iam_user_list, so an agent can choose without opening either schema.

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: the agent can infer this is the lookup for a single known user, but the description names no alternative (e.g. iam_user_list, iam_user_group_list, iam_user_mfa_get) and gives no when-not condition or prerequisite. Adequate but leaves routing to inference.

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