Skip to main content
Glama

monitor_start

Start polling a host’s system log at a set interval so new Windows or journald critical, error, and warning events can be retrieved via periodic monitor_events drains.

Instructions

Start polling a host's system log (Windows event log critical/error/warning via Get-WinEvent; journald priority<=3 on Linux) every intervalMs. The first poll only baselines existing records and emits nothing, so only events occurring while watched are reported. Events reach the caller by monitor_events drains (poll-based, never push): an MCP client calls monitor_events periodically and any drained events are returned there. Re-calling start() for a watched host is a no-op.

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": {
      "host": "<host>"
    },
    "name": "monitor_start"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYes
intervalMsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does substantial work: it discloses the polling model, the baseline-only first poll, the non-push delivery path, and idempotent re-calls. Gaps remain around privilege requirements (Get-WinEvent/journald typically need elevation), behavior when the host is unreachable, and whether or how long undrained events are buffered.

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?

Front-loaded with the core action and then layered with the details that actually matter (log source thresholds, baseline behavior, delivery path, idempotency). The platform-specific detail is dense but earns its place by defining exactly which severities are reported.

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?

For a two-parameter start tool with no annotations and no output schema, the description covers the lifecycle entry point and how results surface through monitor_events, which is the critical unknown. It does not cover stopping/cleanup, error conditions, or buffer limits, which leaves small residual ambiguity.

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 0%, so the description must compensate for both parameters; it explains intervalMs as the polling period and implies host is the machine whose log is watched. However, it never states a default for intervalMs, the expected host format (name vs. IP vs. host ID), or what happens if intervalMs is omitted.

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?

States a specific verb and resource ('Start polling a host's system log') and pins down exactly what is collected (Windows critical/error/warning via Get-WinEvent, journald priority<=3 on Linux). It also distinguishes itself from the sibling drain tool by stating explicitly that events are never pushed and only appear via monitor_events.

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?

Gives strong operational context: the first poll only baselines so pre-existing records are not reported, and re-calling start() for an already-watched host is a no-op, which prevents a common duplicate-start mistake. It also tells the agent that retrieval requires periodically calling monitor_events, removing the main usage ambiguity. It stops short of naming monitor_stop/monitor_list for lifecycle or saying when not to monitor a host.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.