Skip to main content
Glama

Update a timesheet

deputy_update_timesheet
Destructive

Correct an existing timesheet's start/end time, area, meal break or supervisor comment. Times cannot be in the future. Deputy: POST /api/v1/supervise/timesheet/update.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
area_idYesArea (OperationalUnit id) the time was worked in.
commentNoComment attached to the timesheet.
end_timeYesTimesheet end: a unix timestamp in seconds, or an ISO 8601 datetime (include an offset for local times).
start_timeYesTimesheet start: a unix timestamp in seconds, or an ISO 8601 datetime (include an offset for local times).
timesheet_idYesThe timesheet id.
mealbreak_minutesNoTotal unscheduled meal break, minutes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

destructiveHint=true already declares this is a mutating operation, and the description is consistent with that. It usefully adds the future-time restriction, but does not disclose overwrite semantics even though start_time, end_time, and area_id are all required, nor any permission requirements.

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 tight sentences with the action and editable fields front-loaded, followed by a trailing endpoint reference. Nothing is padded, though the raw 'Deputy: POST /api/...' fragment adds little for an agent that already has the tool.

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 destructive mutation with no output schema and annotations limited to destructiveHint, the description covers what is edited and one validity rule but omits permission/auth needs and whether unlisted fields are cleared. Adequate, not complete.

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 every parameter including timestamp formats and the mealbreak range is already documented in the schema. The description's field list (start/end, area, meal break, 'supervisor comment') merely restates that, so the baseline 3 applies.

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

Purpose4/5

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

States a specific verb ('correct') and resource ('an existing timesheet') and enumerates the editable fields, which cleanly separates it from create/approve/get timesheet siblings. It stops short of naming any sibling explicitly, so it is clear but not sibling-routing.

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?

The only constraint offered is 'Times cannot be in the future,' which is a validity rule rather than usage guidance. There is no statement of when to prefer this over deputy_update_shift, deputy_approve_timesheet, or a create path.

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.