Skip to main content
Glama
rsp2k
by rsp2k

user_analyze_user_permissions

Analyze user permissions to identify security risks and receive actionable recommendations for permission changes.

Instructions

Analyze a user's current permissions and provide recommendations.

Args: user_id: The user ID (UUID) or email address to analyze

Returns: Analysis of user permissions including: - current_permissions: List of current permissions - permission_analysis: Analysis of each permission - security_recommendations: Security recommendations - suggested_changes: Suggested permission changes

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.1

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of disclosing behavioral traits. It says the tool 'analyzes' and 'provides recommendations,' which strongly implies a read-only operation, but it never explicitly states that permissions are not modified or that no side effects occur. This is a meaningful gap for a permissions-related tool.

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 concise and well-structured: a clear one-sentence purpose followed by labeled Args and Returns sections. Every line adds useful information, and the format makes the input and output easy for an agent to parse.

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?

For a single-parameter tool with an output schema, the description covers the input format and key return fields well. However, it lacks explicit read-only/side-effect disclosure and usage guidance against similar permission-related sibling tools. These omissions leave the description incomplete for an agent making a fully informed call.

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?

Schema coverage is 0%, so the description must compensate. It does by explaining that user_id accepts either a UUID or an email address, adding real semantic value beyond the bare 'string' type. It does not provide examples or explain how to locate the user ID, but for a single parameter this is adequate.

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 specific action ('Analyze a user's current permissions') and a clear resource ('user permissions'), with an additional recommendation component. It is distinguishable from siblings like user_list_available_permissions because it targets current permissions and outputs recommendations, though it does not explicitly name any sibling.

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 explicit guidance on when to use this tool versus alternatives such as user_get, user_list_available_permissions, or subaccount_setup_permissions. The purpose implies it is for auditing/recommending permission changes, but the description provides no exclusions, prerequisites, or comparison to sibling tools.

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