Skip to main content
Glama

LogTriage

Look up a Windows, Entra ID or Kerberos error code

lookup_error_code
Read-onlyIdempotent

Explains Microsoft authentication error codes from Microsoft's official tables: Entra ID sign-in errors (AADSTS50126, or the bare 50126), Windows NTSTATUS codes as logged in events 4625/4776 (0xC000006A, C000006A, or decimal 3221225578 / -1073741718), Kerberos failure codes from events 4768/4769/4771 (0x18), and official names (IdsLocked, STATUS_ACCOUNT_LOCKED_OUT, KDC_ERR_PREAUTH_FAILED). Paste a whole error message or event to find every code in it, or give words to search names and descriptions. Returns the official name and description, where the code is logged, and LogTriage's investigation page when one exists. Free; no API key needed.

Input Schema

NameRequiredDescriptionDefault
queryYesA code, a pasted error or event, or words such as 'account locked'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds real behavioral context beyond that: what is returned (official name, description, where the code is logged, an investigation page when available) and that the tool is free with no API key required.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single dense paragraph that front-loads purpose before formats and return values, with no filler sentences. The long parenthetical code examples cost some readability, but each one demonstrates a distinct accepted input shape rather than repeating itself.

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?

With one required parameter, no output schema, and full schema coverage, this description carries everything an agent needs: what it does, the input formats it accepts, and what comes back. There is no output schema to explain, and the description still summarizes the return payload.

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 100%, so the baseline is 3. The description still adds meaningful semantics beyond the schema's one-liner by spelling out the accepted formats: prefixed or bare AADSTS numbers, hex with or without 0x, decimal and negative-decimal forms, official constant names, whole pasted messages, and free-text keywords.

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 leads with a specific verb and resource: 'Explains Microsoft authentication error codes from Microsoft's official tables.' It then enumerates the exact code families covered (Entra ID AADSTS, NTSTATUS, Kerberos, official names), which makes it unmistakable versus siblings like search_reference or explain_log_record.

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?

It gives concrete input strategies: 'Paste a whole error message or event to find every code in it, or give words to search names and descriptions.' That is clear when-to-use guidance. It stops short of naming alternatives or exclusions (e.g., when to prefer explain_log_record or search_reference), so it doesn't reach a 5.

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