Skip to main content
Glama
sandraschi

Windows Operations MCP

windows_event_logs

Query, clear, export, or list Windows event logs (Application, System, Security) with filters for event ID and time range.

Instructions

Perform Windows Event Log operations with comprehensive error handling and agentic telemetry.

RATIONALE: Consolidates querying, clearing, and exporting logs into a single async portmanteau. Uses asyncio.to_thread for blocking pywin32 calls to maintain MCP responsiveness.

Args: action: The log operation to perform. log_name: Name of the event log (Application, System, Security, etc.). max_events: Maximum events to return (for "query"). time_range_hours: Lookback window (for "query"). event_id: Filter by specific Event ID. output_path: Destination for exported logs (for "export"). ctx: FastMCP Context for telemetry and sampling.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
log_nameNoApplication
max_eventsNo
time_range_hoursNo
event_idNo
output_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

The description discloses use of asyncio.to_thread for blocking calls, async implementation, and agentic telemetry via ctx. These go beyond what annotations (none) provide. However, it does not mention error handling specifics or permission requirements.

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?

The description is structured with a rationale and docstring-style args, front-loading key info. It avoids redundancy but could be more concise by removing implementation details (asyncio) that are not essential for selection.

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

Completeness4/5

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

Given the output schema exists (context signal), the description covers core functionality and parameter semantics adequately. However, for a tool with 6 parameters and multiple actions, some behavioral details (e.g., export limitations, default log_name) could be more explicit.

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?

With 0% schema description coverage, the description must compensate. It explains each parameter's purpose (action, log_name, max_events, etc.), but lacks details like format constraints or default behaviors beyond schema defaults. This is acceptable but not exemplary.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Perform Windows Event Log operations' and lists actions (query, clear, export, list), distinguishing it from sibling tools like system_health_card or command_execution. However, it could be more explicit that this is a combined tool for multiple operations, which might confuse agents expecting separate tools.

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

Usage Guidelines3/5

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

The description implies usage through the list of actions but offers no explicit guidance on when to use which action or when to prefer alternatives. The rationale mentions consolidating operations, but no when-not or sibling comparisons are provided.

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

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