Skip to main content
Glama

Event logs

event_log
Read-onlyIdempotent

Use this when the user needs to read bounded recent OS logs (Windows Event Log, macOS unified log or systemd journal) when diagnosing a service/app/system problem. Prefer it over an unbounded shell log dump.

Input Schema

NameRequiredDescriptionDefault
logNoWindows log name.
limitNoMaximum number of results to return.
queryNoOptional platform-specific query used to reduce returned log results.
sinceNoTime window such as 30s, 10m, 2h, or 1d.
deviceYesReMCP device id returned by list_devices. Required for every device operation.
filterNoOptional bounded filter expression or text used to reduce returned results.

Output Schema

NameRequiredDescriptionDefault
dataNo
textYesConcise human-readable result of the tool call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. 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 readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context by noting logs are bounded and recent, and by naming the exact platforms covered, extending what the annotations alone convey.

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?

Two efficient sentences with zero filler. The trigger condition is front-loaded, followed directly by the alternative to prefer. Every word earns its place.

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 full schema coverage, a rich output schema, and complete annotations, the description covers the use case and alternative selection well. It does not explain platform-specific query semantics, but the schema and output schema compensate for that, making the tool adequately specified.

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 schema already documents all six parameters. The description adds no parameter-level meaning beyond what the schema provides, so the baseline of 3 applies.

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 the action (read), the resource (bounded recent OS logs), and the specific platforms (Windows Event Log, macOS unified log, systemd journal). It also distinguishes the tool from an unbounded shell log dump, so an agent can tell it apart from generic logging commands.

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

Usage Guidelines5/5

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

It explicitly says when to use the tool: when diagnosing a service/app/system problem and needing recent OS logs. It also provides an exclusion by recommending this over an unbounded shell log dump, giving the agent clear routing 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