Skip to main content
Glama

List time clock

list_time_clock
Read-onlyIdempotent

List clock-in/clock-out records with resolved user names, newest clock_in first. Pass user_id="me" for your own (resolves to the owner for API keys), active=true for currently-clocked-in sessions (clock_out is null). Answers "when was I last clocked in". Tenant scoped.

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": "list_time_clock"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows (default 50, max 500)
activeNoOnly currently clocked-in sessions (clock_out is null)
offsetNoRows to skip for pagination (default 0)
date_toNoOnly clock-ins on/before this date (YYYY-MM-DD)
user_idNosupport_users.id to filter by, or "me" for the caller. Omit to list all you can see.
date_fromNoOnly clock-ins on/after this date (YYYY-MM-DD)
directionNoSort by clock_in (default: desc — most recent first)
ticket_idNoFilter by ticket UUID
project_idNoFilter by project UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive behavior, so the bar is lower; the description adds non-annotation context — default sort order, tenant scoping, the 'me'→owner substitution for API keys, and that active sessions have a null clock_out. It does not cover pagination limits or returned fields, but those gaps are modest given the annotation coverage.

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

Conciseness5/5

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

Three dense sentences, front-loaded with the resource and default ordering; every clause carries information (scoping, sort, special param values, the question it answers) with no filler.

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

Completeness4/5

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

For a 9-parameter read tool with no output schema, the description supplies ordering, tenancy scoping and the two non-obvious parameter behaviors, which is enough to call it correctly. Return-shape and pagination behavior are left unstated but are covered by the fully described schema.

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 100%, so the schema already documents limit, offset, date bounds, direction, ticket_id and project_id. The description only adds meaning for two of the nine params (the API-key owner resolution for user_id="me", and the null clock_out condition for active), largely restating what the schema states.

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 and resource ('List clock-in/clock-out records') plus ordering ('newest clock_in first') and the fact that names are resolved, which distinguishes it from pure time-entry or plan-time listings.

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

Usage Guidelines4/5

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

Gives concrete calling contexts: user_id="me" for the caller's own history, active=true for currently clocked-in sessions, and the question it answers ('when was I last clocked in'). It does not explicitly route the agent away from siblings like list_time_entries or list_timesheet_signoffs, so no exclusions are stated.

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.

Resources