Skip to main content
Glama

microsoft diagnose

microsoft_diagnose
Read-only

Diagnose any Microsoft problem from pasted text (error dialog, log lines, or a description): decodes every error code in it (Win32, HRESULT, NTSTATUS, blue screen, Entra AADSTS, Windows Update, CBS, MSI, Event IDs), finds the matching Microsoft support articles and live Microsoft Learn docs, and returns the likely cause, ranked fix steps with citations, commands labelled read-only or changes-the-system, a Microsoft outage check, Windows known issues for the version/KB, and which tenant tool to run next. Structured JSON for your AI to explain. Costs $0.02 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": {
      "text": "<text>"
    },
    "name": "microsoft_diagnose"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe error message, code, log lines or problem description (up to 4000 characters)
productNoOptional product hint: windows, entra, intune, outlook, teams, office, azure
windows_versionNoOptional Windows version, e.g. '11 24H2' or 'Server 2022' (auto-detected from text)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, it discloses a per-call cost and payment mechanism ($0.02 in USDC on Base via x402) — critical operational context absent from structured fields. It also flags that returned commands are labelled read-only versus changes-the-system, which matters because the tool itself is read-only but surfaces mutating remedies.

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?

Purpose and scope are front-loaded in the opening clause, and the pricing/auth sentence is cleanly separated. The main sentence is a long run-on enumerating many output types, which is dense but each clause carries information an agent needs to judge fit.

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?

There is no output schema, and the description compensates by describing the return payload in detail (decoded codes, cited fixes, labelled commands, outage check, known issues, next tool). Combined with the cost disclosure and annotations, an agent has everything needed to decide to call it and interpret the result.

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 baseline is 3. The description restates the input type ('pasted text: error dialog, log lines, or a description') which duplicates the `text` parameter's schema description, and adds nothing about `product` or `windows_version`, relying on the schema for those (including the auto-detection note).

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 verb ('Diagnose') plus a precisely bounded resource ('any Microsoft problem from pasted text') and enumerates the exact code families it decodes (Win32, HRESULT, NTSTATUS, AADSTS, CBS, MSI). The output enumeration — cause, ranked fixes with citations, outage check, known issues, next tenant tool — makes clear this is the diagnostic orchestrator rather than a lookup tool like the tenant/search siblings.

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 clear triggering context ('pasted text: error dialog, log lines, or a description'), so an agent knows this is the entry point when raw error text is available. It even hints at routing by returning 'which tenant tool to run next'. However, it never states when NOT to use it or names a specific alternative (e.g., microsoft_search or microsoft_code) for cases where the agent already knows the code.

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