Skip to main content
Glama
SprutMonitor MCP Server

SprutMonitor MCP Server

Official
by extralabs

Idle time summary

get_idle_summary
Read-only

Rank users by total inactive time for a selected period, filter by user, group, or minimum idle hours, and identify who was idle longest.

Instructions

Rank users by inactive (idle) time from Productivity/Overall3.

Use for: 'who was idle longest?', 'idle > N hours', InactiveTime totals. Do NOT use list_anomalies for idle — Alerts are formal deviations only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_idle_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoRelative period: today|yesterday|last_7_days|last_30_days (wins over date_from/date_to when set).
date_toNoEnd datetime; date-only covers until 23:59:59 that day.
user_idNoUser filter: Items.ID where Type=2 (reports call it AliasID). NodeType=1.
group_idNoGroup filter: TreeviewUsers NodeType=14 (console group id).
date_fromNoStart datetime YYYY-MM-DD or YYYY-MM-DD HH:MM:SS (full day if date-only).
min_idle_hoursNoOnly include users with InactiveTime >= this many hours.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered externally. The description adds genuine context beyond that — results are ranked by idle time and sourced from a specific metric table — but says nothing about sort direction, result limits, or permissions needed to read across users. Adequate but not rich.

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 definition is short and front-loaded, with the core action first and the usage/exclusion lines as scannable bullets. The quoted example questions are slightly redundant with the 'idle > N hours' clause but earn their place as retrieval triggers.

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?

With six all-optional parameters, an output schema, and annotations, the definition covers purpose, source, filters, and one exclusion. The notable gap is default behavior: nothing says what period is scanned when no period or date bounds are supplied, which is the first thing an agent must decide for an all-optional tool.

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 coverage is 100%, so all six parameters are documented in the schema, which sets the baseline at 3. The description's 'idle > N hours' phrasing adds a little intuition for min_idle_hours, but gives no guidance on period vs. date_from/date_to precedence or on what range applies when everything is omitted.

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 gives a specific verb and resource: 'Rank users by inactive (idle) time,' and names the underlying metric source (Productivity/Overall3), so the agent knows exactly what is produced. It distinguishes itself from list_anomalies explicitly, but the boundary with the closer siblings (get_productivity_summary, get_activity_summary) is only implied by the word 'idle.'

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?

Concrete trigger phrases ('who was idle longest?', 'idle > N hours', InactiveTime totals) tell the agent when to pick this tool, and the 'Do NOT use list_anomalies for idle' line supplies an explicit exclusion with the reason (Alerts are formal deviations only). It stops short of stating when to prefer this over the productivity summary siblings, which is the most likely confusion.

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