Skip to main content
Glama

get_unused_permissions

Identify inactive IAM permissions to reduce security blast radius by analyzing permission usage over time.

Instructions

    Find unused IAM permissions (blast radius reduction opportunities).

    Args:
        days_threshold: Days of inactivity to consider unused

    Returns:
        Unused permissions grouped by role with reduction percentages.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
days_thresholdNo
snapshot_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations provided, the description carries full burden but only states what the tool does without disclosing behavioral traits like required permissions, rate limits, whether it's read-only or mutative, or how it handles errors. It mentions grouping by role with percentages, but lacks details on output format or pagination.

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?

The description is front-loaded with the core purpose in the first sentence, followed by structured Args and Returns sections. Every sentence earns its place with no wasted words, making it efficient and easy to parse.

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?

Given the tool's moderate complexity (2 parameters, no annotations, but with output schema), the description covers the purpose and one parameter well, and the output schema likely handles return values. However, it misses details on the undocumented 'snapshot_id' parameter and behavioral aspects, leaving some gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds meaningful context for 'days_threshold' ('Days of inactivity to consider unused'), which compensates for the 0% schema description coverage. However, it doesn't mention 'snapshot_id', leaving one parameter undocumented. Since there are only 2 parameters and one is well-explained, this is above the baseline for low schema coverage.

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?

The description clearly states the specific action ('Find unused IAM permissions') and resource ('blast radius reduction opportunities'), distinguishing it from sibling tools like 'check_access' or 'get_assets' by focusing on permission analysis rather than access checking or asset listing.

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 usage for identifying inactive permissions based on a days threshold, but doesn't explicitly state when to use this tool versus alternatives like 'check_access' or 'get_findings', nor does it mention prerequisites or exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cyntrisec/cyntrisec'

If you have feedback or need assistance with the MCP directory API, please join our Discord server