Skip to main content
Glama
Rudow Local MCP Server

Rudow Local MCP Server

by Markera-OU

aggregate_logs

Count log entries grouped by level, source, status, or route over a recent window to spot error-rate and status-code trends in local logs.

Instructions

Count log entries grouped by a dimension over a recent window. Call this to spot trends, e.g. error rate or status-code distribution.

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": {
      "group_by": "<group_by>"
    },
    "name": "aggregate_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceNoSource name from list_sources, e.g. 'app'. Omit to use all sources.
minutesNoWindow size in minutes (default 60). Measured back from the newest entry in the loaded files.
group_byYesDimension to group counts by.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It makes clear this is a read-style aggregation whose output is counts per group value, which is useful behavioral context, but it says nothing about result cardinality limits, performance, or what happens when the window exceeds available data.

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 sentences, zero filler, with the core operation front-loaded before the motivating example. Every word earns its place.

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

Completeness3/5

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

For a simple three-parameter aggregation with a fully documented schema, the description covers the essentials, and the lack of an output schema is a minor issue since 'counts grouped by' implies the return shape. However, it omits any guidance on choosing between this and the many metrics_*/query_logs siblings, which is the main gap given the crowded namespace.

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%, with source, minutes, and group_by all documented in the schema including defaults and the enum values. The description only alludes to grouping and the recent window, adding no syntax or semantics beyond what the schema already states, so baseline 3 applies.

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 first sentence states a specific verb and resource ('Count log entries') plus the scoping ('grouped by a dimension over a recent window'), so an agent knows exactly what the call produces. It stops short of differentiating itself from siblings like metrics_summary or query_logs, which also deal with log/metric aggregation.

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?

'Call this to spot trends, e.g. error rate or status-code distribution' gives an implied use case with concrete examples but no explicit when-not guidance and no named alternative such as query_logs or the metrics_* family. Usage is inferable rather than directed.

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