Corcava logoLe seul outil métier dont vous avez besoinCorcava
Menu

Hygiène du suivi du temps avec MCP : détecter les timers longs et les trous

Maintain clean time tracking data using MCP. This operational playbook shows you how to check current tracking status, flag timers running too long, identify tracking gaps, and propose cleanup steps—with optional timer stopping after explicit approval.

Ce que ce workflow permet

Time tracking hygiene with MCP ensures accurate time logs:

Résultats clés

  • Status monitoring: Check current tracking status across workspace
  • Anomaly detection: Flag timers running too long (e.g., >8 hours)
  • Gap identification: Find periods with no time tracking
  • Cleanup proposals: Get AI-suggested actions to fix issues
  • Data quality: Maintain accurate time tracking records

Prérequis

Before using this workflow, ensure you have:

Workflow pas à pas

Step 1: Check Current Tracking Status

Start by checking what timers are currently running:

Status Check Prompt

"Check time tracking hygiene: - Get current tracking status for all active timers - Show me: which tasks are being tracked, how long each timer has been running, and who is tracking Present a summary of all active timers."

What the AI does:

  1. Calls get_tracking_status to check active timers
  2. Retrieves task details for tracked tasks
  3. Calculates duration for each timer
  4. Presents status summary

Step 2: Flag Long-Running Timers

Identify timers that have been running too long:

Long-Running Timer Detection Prompt

"Identify timers that have been running too long: - Flag timers running more than 8 hours (likely forgotten) - Flag timers running more than 12 hours (definitely needs attention) - Show me: task, duration, and recommendation For each long-running timer, suggest whether it should be stopped or if the time should be adjusted."

What the AI does:

  1. Analyzes timer durations
  2. Flags timers exceeding thresholds
  3. Identifies likely forgotten timers
  4. Proposes cleanup actions

Step 3: Detect Tracking Gaps

Find periods with missing time tracking:

Gap Detection Prompt

"Analyze time tracking patterns: - Find days with no time tracking entries - Identify gaps between tracked sessions (e.g., worked but didn't track) - Show me: date ranges with gaps and recommendations Help identify when time tracking might have been missed."

What the AI does:

  1. Analyzes time tracking history
  2. Identifies days with no entries
  3. Finds gaps in tracking patterns
  4. Presents gap analysis

Step 4: Propose Cleanup Steps

Get recommendations for fixing issues:

Cleanup Proposal Prompt

"For the issues found (long-running timers, gaps), propose cleanup steps: - For long-running timers: stop timer, adjust time, or add note - For gaps: suggest retroactive tracking or note the gap - Prioritize actions (urgent vs. can wait) Show me the cleanup plan before taking any actions."

What the AI does:

  1. Analyzes all identified issues
  2. Proposes specific cleanup actions
  3. Prioritizes urgent items
  4. Presents cleanup plan for review

Step 5: Stop Long-Running Timers (Optional, with Approval)

⚠️ Always Confirm Before Stopping Timers

When stopping long-running timers:

  • Preview First: Show which timers will be stopped
  • Confirmation Token: Require "CONFIRM" or "STOP ALL" before stopping
  • Review Impact: Understand what time will be logged

Safe Timer Stopping Prompt

"Stop the long-running timer on task [Task ID]. But first: 1. Show me the timer details (task, duration, start time) 2. Confirm this timer should be stopped 3. Wait for me to type 'STOP TIMER' or 'CONFIRM' 4. Only then stop the timer If I don't confirm, don't stop the timer."

What the AI does:

  1. Shows timer details
  2. Waits for "STOP TIMER" or "CONFIRM"
  3. Only after confirmation, calls stop_time_tracking
  4. Confirms timer was stopped

Complete Workflow Prompts

Here are complete, copy-paste ready prompts:

Full Hygiene Check

"Perform a time tracking hygiene check: 1. Check current tracking status (all active timers) 2. Flag timers running more than 8 hours 3. Identify tracking gaps (days with no entries) 4. Propose cleanup steps for all issues 5. Show me the hygiene report Don't stop any timers unless I explicitly ask you to."

Use this when: You want a complete hygiene audit

Quick Long-Running Timer Check

"Find any timers running more than 8 hours. Show me which tasks and how long they've been running."

Use this when: You just want to check for forgotten timers

Workflow Variants

Variant 1: Team-Wide Hygiene Check

Check hygiene across the entire team:

"Perform a team-wide time tracking hygiene check: - Check all active timers across the workspace - Flag long-running timers for any team member - Identify team-wide tracking patterns - Propose team cleanup actions Focus on team-level issues."

What happens: AI analyzes tracking hygiene for entire team

Variant 2: Daily Hygiene Routine

Regular daily check:

"Do a daily time tracking hygiene check: - Check for timers running from yesterday - Flag any timers over 12 hours - Suggest stopping forgotten timers - Recommend cleanup actions Make it a quick daily routine."

What happens: AI performs quick daily hygiene check

Example: Complete Hygiene Check Session

Here's a real example of how a hygiene check session flows:

User Prompt

"Check time tracking hygiene. Find long-running timers and tracking gaps."

AI Response (Hygiene Report)

Time Tracking Hygiene Report

Active Timers (1 found):

  • Task: "Implement user authentication" - Running for 14 hours (started yesterday at 3:00 PM)
    ⚠️ Long-running timer detected
    Recommendation: This timer has been running for 14 hours. Likely forgotten. Should be stopped.

Tracking Gaps:

  • No tracking entries on Jan 22, 2026 (gap detected)
  • No tracking entries on Jan 24, 2026 morning (9 AM - 12 PM gap)

Cleanup Recommendations:

  • Urgent: Stop the 14-hour timer on "Implement user authentication"
  • Optional: Add retroactive time entries for Jan 22 if work was done

Safety Patterns

⚠️ Confirmation Rules for Stopping Timers

When stopping long-running timers:

  • Always preview: Show timer details before stopping
  • Require explicit confirmation: Use "STOP TIMER" or "CONFIRM" token
  • Review impact: Understand what time will be logged
  • Verify task: Confirm you're stopping the correct timer

En savoir plus sur les workflows d'écriture sécurisés →

Troubleshooting

No Issues Found

Symptom: AI reports no hygiene issues

Possible causes:

  • Time tracking is actually clean
  • Thresholds too high (e.g., only flagging >24 hours)

Fix: Adjust thresholds: "Flag timers running more than 4 hours"

Too Many Issues

Symptom: Hygiene check shows many problems

Possible causes:

  • Many forgotten timers
  • Team not using time tracking consistently

Fix: Focus on urgent items: "Show only timers running more than 12 hours"

Related Tools

This workflow uses these Corcava MCP tools:

Related Use Cases

Maintain Clean Time Tracking

Connect your AI assistant to Corcava and keep time tracking data accurate