Skip to main content
Glama

microsoft tenant signins

microsoft_tenant_signins
Read-only

Why can't this user sign in? Reads the user's recent Microsoft Entra sign-ins in YOUR tenant (with your read-only Graph token) and returns each failure decoded (AADSTS meaning), the Conditional Access policy that blocked it and what it required, app, device compliance, location and correlation ID, grouped into findings with fixes. Needs AuditLog.Read.All and Entra ID P1/P2. Token never stored. Costs $0.05 per call, paid in USDC on Base with x402.

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": "<user>"
    },
    "name": "microsoft_tenant_signins"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoHow many days back (default 3)
userYesUser sign-in name (user@domain) or object ID
graph_tokenNoMCP only: your Microsoft Graph access token (read-only app registration; see https://microsoft.l50automation.com/microsoft/tenant-setup). Over HTTP send it as the 'Authorization: Bearer' header instead. Used once, never stored or logged.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnlyHint and openWorldHint annotations, the description discloses the required Graph permissions and Entra ID license, clarifies that a token is used once and never stored, describes the returned diagnostic content, and states the pricing and payment mechanism. This is unusually rich behavioral disclosure for a read-only diagnostic 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 front-loaded with the diagnostic question and primary action, then closes with prerequisites, token handling, and cost. Despite covering many details, each sentence contributes useful context without repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter read-only diagnostic tool with no output schema, the description supplies the key operational context: what it returns, required permissions and licensing, token handling, pricing, and the payment protocol. Nothing essential for selecting or safely invoking the tool appears to be missing.

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 parameters are already well documented. The description reinforces the read-only Graph token and recent sign-in scope but does not add parameter-specific meaning such as how the days window interacts with returned findings.

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 uses a specific diagnostic framing ('Why can't this user sign in?') and clearly states that it reads the user's recent Microsoft Entra sign-ins and returns decoded failure details. The resource and scope are distinctive enough to separate it from generic sibling tools like microsoft_tenant_user or microsoft_diagnose.

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 opening question and 'recent Microsoft Entra sign-ins' context make the intended use clear: troubleshooting a specific user's sign-in failures. It does not explicitly name alternatives or say when not to use it, so it stops short of full when/when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources