Skip to main content
Glama
SprutMonitor MCP Server

SprutMonitor MCP Server

Official
by extralabs

Day structure

get_day_structure
Read-only

Retrieve workday structure lists or detailed user/group records, filtered by date range, relative period, productivity level, and activity type.

Instructions

Day structure: mode=list (DayStructureList) or detail (GetDayStructure).

detail requires user_id. Filters match console: ProductivityFilter 0–4, ActivityTypeFilter 0–2 (defaults 0).

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

Input Schema

NameRequiredDescriptionDefault
modeNolist = DayStructureList; detail = GetDayStructure (needs user_id).list
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).
productivity_filterNo
activity_type_filterNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.1

TDQS

B3.1/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 safety is covered and the bar is lower. The description adds useful console-parity context (filter codomains match the console, defaults of 0), but does not disclose volume, pagination, or what the detail vs list payloads differ in beyond the backend report name; the output schema carries the return shape.

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?

Three short lines, front-loaded with the mode distinction and then the filter ranges — no filler. The telegraphic fragments ("Filters match console: ProductivityFilter 0–4") are slightly cryptic but cost no reading time.

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 9-parameter read-only reporting tool with an output schema, the description covers the critical mode branching and filter domains but leaves the period vs date_from/date_to precedence, compact behavior, and result content to the schema. Adequate but with clear gaps an agent may need to resolve elsewhere.

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 67%, and the description reinforces the mode enum meaning and the productivity/activity filter codomains with their defaults. It still does not explain what the 0–4 productivity levels or 0–2 activity types actually mean, and says nothing about compact, period, or date range interplay, so it only marginally exceeds the schema descriptions.

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?

"Day structure" names the resource and maps two modes to backend reports (DayStructureList vs GetDayStructure), which helps an agent understand there are two shapes of result. However, it never states in plain terms what a "day structure" actually contains (e.g. per-day activity/productivity breakdown), so the purpose stays vague until the schema is opened.

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?

It gives one concrete prerequisite that selects a mode: detail requires user_id, implying list is the default broad query. There is no guidance on when to prefer this over similar siblings such as get_activity_summary, get_timesheet or get_dashboard, and no exclusion conditions.

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