Skip to main content
Glama
SprutMonitor MCP Server

SprutMonitor MCP Server

Official
by extralabs

Timesheet

get_timesheet
Read-only

Retrieve timesheet and attendance summaries for users or groups by relative period or date range to review reported work time and attendance.

Instructions

Timesheet / attendance summary (POST /api/TimeSheet/Overall2).

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

Input Schema

NameRequiredDescriptionDefault
rawNo
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).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.1

TDQS

C2.5/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 the safety profile is covered. The description adds only the raw API path (POST /api/TimeSheet/Overall2), which is mildly informative but not contradictory, and says nothing about aggregation granularity, default scope, or whether results are per-user or per-group.

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 sentence with no filler, which is good, but the brevity reflects under-specification rather than tight editing. The most useful facts (what is measured, default scope) are absent rather than front-loaded.

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 values need not be described. Still, this is a six-parameter reporting tool with no stated default scope, no indication of what "attendance summary" aggregates over, and no explanation of the raw flag; the definition is too thin for its complexity.

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 83%, so the schema already explains period, date_from, date_to, user_id, and group_id in useful detail, including precedence rules. The description contributes nothing beyond that; the only gap is the `raw` flag, which is undocumented in both places. Baseline 3 applies when the schema carries the load.

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 description names the resource ("Timesheet / attendance summary") and pins the underlying endpoint, so an agent can infer it returns attendance data. However, there is no specific verb describing the operation beyond the implied "get", and nothing distinguishes it from adjacent siblings such as get_activity_summary, get_day_structure, or get_productivity_summary.

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, no mention of prerequisites, and no routing to any alternative tool. An agent must guess whether this is the right call for attendance versus activity or productivity reporting, and must rely entirely on the schema defaults to know that an unfiltered call is even valid.

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