Skip to main content
Glama
SprutMonitor MCP Server

SprutMonitor MCP Server

Official
by extralabs

List formal alerts

list_anomalies
Read-only

Retrieve formal employee alerts and deviations, including lateness, overtime, unusual app usage, and timetable-fired events, filtered by period, user, or group.

Instructions

List formal Alerts / deviations (POST /api/Alerts/Overall2).

Use for: lateness, overtime, unusual app-share, timetable-fired alerts. Do NOT use for idle/inactive duration — that is get_idle_summary (InactiveTime). Do NOT use for DLP keyword/USB policy hits — that is list_risks.

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": "list_anomalies"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows to return (1–500).
offsetNoPagination offset (0-based).
periodNoRelative period: today|yesterday|last_7_days|last_30_days (wins over date_from/date_to when set).
compactNo
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).
filter_keyNoOptional text filter passed to the Cloud API FilterKey.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.1

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 and openWorldHint=true, so the safety profile is covered. The description adds useful behavioral context: the data source is a POST-based Cloud API endpoint while the operation is still a read, and the alert taxonomy tells the agent what class of records come back. It does not mention result volume or default ordering, which keeps it short of a 5.

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?

Four short lines, front-loaded with the verb and resource, then use/do-not-use blocks. Every sentence carries routing information; nothing is redundant.

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?

With an output schema present and 89% schema coverage, the description needn't explain return values or parameters. All nine parameters are optional, so no invocation prerequisites are missing. Minor gap: it says nothing about default result scope when no period/dates are supplied, which matters for a list tool with a 500-row cap.

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 89% — limit/offset ranges, period precedence, date_from/date_to formats, and the semantics of user_id/group_id are all documented in the schema itself. The description adds no parameter guidance, so the baseline 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?

States a specific verb and resource ('List formal Alerts / deviations') and even names the backing endpoint (POST /api/Alerts/Overall2). The enumerated alert categories (lateness, overtime, unusual app-share, timetable-fired) make the scope concrete enough to distinguish it from every sibling without opening a schema.

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?

Explicit positive routing ('Use for: lateness, overtime, ...') plus two explicit negative routes naming the correct alternatives ('Do NOT use for idle/inactive duration — that is get_idle_summary', 'DLP keyword/USB policy hits — that is list_risks'). This is the textbook when/when-not/alternative pattern.

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