Skip to main content
Glama
SprutMonitor MCP Server

SprutMonitor MCP Server

Official
by extralabs

Get analytics

get_analytics
Read-only

Retrieve analytics rollups for overall, disciplina, activity, or productivity views, filtered by period, user, or group to analyze workforce activity and productivity.

Instructions

Analytics rollups: view=overall|disciplina|activity|productivity.

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_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNoAnalytics view: overall|disciplina|activity|productivity.overall
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).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.1

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and scope are covered structurally. The description adds nothing beyond that: it does not explain how period interacts with date_from/date_to, what compact does, whether unfiltered calls aggregate across all users/groups, or how expensive the call is. For a 7-parameter reporting tool this leaves real behavioral questions unanswered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short fragment with no wasted words, so it is not bloated. However, the terseness is under-specification rather than efficiency: the entire description is a restatement of one enum, so brevity here costs information rather than saving it.

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

Completeness2/5

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

An output schema exists, so return-value detail is not required, and annotations cover the read-only profile. Still, with seven optional parameters, four mutually exclusive views, and a crowded analytics-sibling namespace, the description should explain what each view aggregates and how filters combine. That guidance is entirely absent, making the definition incomplete for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 86%, so the schema itself carries the parameter burden and baseline would be 3. The description only restates the view enum that is already documented verbatim in the schema, adding zero meaning beyond it and nothing about period, compact, or the user/group filters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The phrase "Analytics rollups" names the resource and implies a read of pre-aggregated metrics, and the four view values hint at the subject areas. But it never states what a rollup contains or how it differs from siblings like get_productivity_summary, get_activity_summary, or get_dashboard, all of which read as analytics outputs too. An agent cannot reliably choose this tool over those from the description alone.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: no statement of when to prefer this rollup tool over get_dashboard or the per-domain summaries, and no exclusions. The only implied usage is that some 'analytics view' exists, which the schema already communicates via the enum.

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