Skip to main content
Glama
fredriksknese

mcp-activedirectory

get_user_sign_in_activity

Retrieve recent sign-in activity for Azure AD users to monitor authentication events and verify account access.

Instructions

Get last sign-in information for a user in Azure AD / Entra ID. Requires AuditLog.Read.All permission.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
identifierYesUser UPN (e.g. user@company.com) or object ID to retrieve sign-in activity for
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions the required permission (AuditLog.Read.All) which is valuable context, but doesn't describe what the tool returns (format, data structure), whether it has rate limits, or any other behavioral characteristics beyond the basic purpose.

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 extremely concise (two sentences) and front-loaded with the core purpose. Every word earns its place - the first sentence states what the tool does, and the second provides crucial permission context without any redundancy.

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 read operation with no annotations and no output schema, the description provides adequate basic information but leaves gaps. It covers the purpose and permission requirement well, but doesn't describe what data is returned or any limitations/constraints of the sign-in activity retrieval.

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 100%, so the schema already fully documents the single 'identifier' parameter. The description doesn't add any additional parameter semantics beyond what's in the schema, maintaining the baseline score for high 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 ('Get last sign-in information') and resource ('for a user in Azure AD / Entra ID'), distinguishing it from sibling tools like 'get_user' or 'list_users' by focusing specifically on sign-in activity rather than general user information.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context about when to use this tool (to retrieve sign-in activity) and mentions a prerequisite permission (AuditLog.Read.All). However, it doesn't explicitly state when NOT to use it or name specific alternatives among the sibling tools for different use cases.

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/fredriksknese/mcp-activedirectory'

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