Skip to main content
Glama

List timesheets

deputy_list_timesheets
Read-only

Search timesheets (actual worked time) by time window, employee, area and approval state. Each record has StartTime/EndTime (unix; EndTime null while in progress), TotalTime (hours), Cost, TimeApproved, PayRuleApproved, IsInProgress, IsLeave, Roster (linked shift) and Exported. Deputy: POST /api/v1/resource/Timesheet/QUERY.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoOnly timesheets starting at or before this time: a unix timestamp in seconds, or an ISO 8601 date/datetime (include an offset for local times).
maxNoPage size, 1-500 (Deputy's cap). Default 100.
fromNoOnly timesheets starting at or after this time: a unix timestamp in seconds, or an ISO 8601 date/datetime (include an offset for local times).
startNoPagination offset (0-based). Pass the previous page's next_start.
area_idNoOnly timesheets in this area (OperationalUnit id).
employee_idNoOnly this employee's timesheets.
in_progressNotrue = only people currently on the clock.
pay_approvedNoFilter on PayRuleApproved (approved for payroll export).
time_approvedNoFilter on TimeApproved (supervisor approved the times).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

With readOnlyHint=true already covering the safety profile, the description adds real behavioral context: EndTime is null while a shift is in progress, IsInProgress/IsLeave/TimeApproved/PayRuleApproved semantics, and the underlying query endpoint. It stops short of noting pagination flow or rate limits, so it is solid rather than exhaustive.

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?

Two sentences, front-loaded with the search scope, with the field enumeration efficiently packed into one parenthesis because there is no output schema. The trailing endpoint string is minor implementation detail, but the rest earns its space.

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

Completeness5/5

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

Nine parameters, all schema-documented, and a read-only annotation; the field list in the description compensates for the absent output schema by telling the agent what each returned record contains. Nothing needed to invoke this correctly is missing.

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 100%, so the normalized baseline is 3. The description restates the filter axes already documented in the schema (from/to, employee_id, area_id, approval booleans) and adds no format or precedence detail beyond it.

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 ('Search timesheets') plus the exact filter axes (time window, employee, area, approval state), and the parenthetical '(actual worked time)' separates it from shift or leave data in the sibling set. An agent can distinguish this from deputy_get_timesheet and deputy_list_shifts without opening any schema.

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?

The filter list implies when this tool applies (multi-record search over a window), but the description never states when NOT to use it or names the alternatives, e.g. deputy_get_timesheet for a single record or deputy_list_shifts for rostered rather than worked time. Usage must be inferred from the sibling set.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.