Skip to main content
Glama
emyk

windows-debug-mcp

by emyk

query_event_log

Retrieve Windows event logs with filters on severity, event IDs, providers, or text to diagnose crashes and performance problems.

Instructions

Read events from one log with the usual filters applied.

Args: log_name: Log to read, e.g. "System", "Application", or a channel name such as "Microsoft-Windows-Diagnostics-Performance/Operational". hours: How far back to look. Use a larger window for rare crashes. levels: Severity filter — 1 critical, 2 error, 3 warning, 4 information. event_ids: Restrict to specific event IDs. providers: Restrict to specific event sources, e.g. ["Microsoft-Windows-WHEA-Logger"]. contains: Keep only events whose message contains this text. max_events: Maximum events to return, newest first. message_limit: Characters of each message to keep.

The Security log requires an elevated server process; other logs do not.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hoursNo
levelsNo
containsNo
log_nameNoSystem
event_idsNo
providersNo
max_eventsNo
message_limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations provided, so description carries the burden. It discloses read-only nature, filter behavior, and permission sensitivity for Security log. Lacks details on error handling or rate limits, but sufficient for a read operation.

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?

Concise introductory sentence followed by clear, bullet-like parameter descriptions. No redundant information; every sentence adds value.

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?

Given 8 parameters and no annotations, the description covers all necessary usage context, including the Security log permission condition. Output schema exists, so return values need not be detailed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description fully compensates by explaining each parameter's purpose: hours (lookback window), levels (severity codes), event_ids, providers, contains, max_events, and message_limit. Provides actionable context (e.g., '1 critical, 2 error').

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 'Read events from one log with the usual filters applied', specifying the verb (read) and resource (events from one log). It distinguishes itself from siblings like list_event_logs (which lists logs) and read_error_report (specific reports) by focusing on filtered event retrieval.

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?

Provides guidance on when to use (e.g., 'Use a larger window for rare crashes') and notes elevated permission requirement for Security log. However, it does not explicitly mention when not to use or name alternative tools.

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/emyk/windows-mcp'

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