{
  "slug": "time-card",
  "mcpServerUrl": "https://plugins-worker.demos.42a.ai/time-card/mcp",
  "interface": {
    "displayName": "Handy Time Card Calculator",
    "shortDescription": "Hours, overtime and pay",
    "longDescription": "Turn clock-in and clock-out times into exact hours worked, overtime and gross pay, then download a clean timesheet.\n\nPaste your punches in any format (\"8:45 to 5:15 with a 30 minute lunch\", \"Mon 9-5:30, Tue 8:30-6\"), and the card adds them up to the minute: decimal hours and hours-and-minutes, breaks deducted, overnight shifts handled. Choose the overtime rule (US federal 40 hours a week, California-style daily 8/12 hours, or none), add an hourly rate to see regular, overtime and double-time pay, and round punches to 5, 6 or 15 minutes if your employer does.\n\nDownload the week as an Excel timesheet with live totals or a printable PDF with signature lines. Nothing is stored.",
    "category": "Business & Operations",
    "defaultPrompt": [
      "Calculate my hours this week: Mon 8:45-5:15, Tue 9-6, Wed 8:30-5, Thu 9-5:30, Fri 8-4, 30 min lunch each day",
      "How many hours is 7:50 AM to 4:20 PM with a 45 minute break?",
      "Make a timesheet for Jane: Mon-Fri 9 to 6, $22/hour, California overtime"
    ],
    "capabilities": [
      "Adds up shifts to the minute, in decimal hours and hours:minutes",
      "Deducts unpaid breaks and handles overnight shifts",
      "Weekly 40-hour or California daily overtime and double time",
      "Gross pay at regular, overtime and double-time rates",
      "Punch rounding to 5, 6 or 15 minutes",
      "Excel and printable PDF timesheets"
    ],
    "logo": "https://plugins-worker.demos.42a.ai/time-card/icon.svg",
    "websiteURL": "https://plugins-worker.demos.42a.ai/time-card/",
    "supportURL": "https://plugins-worker.demos.42a.ai/support",
    "privacyPolicyURL": "https://plugins-worker.demos.42a.ai/privacy",
    "termsOfServiceURL": "https://plugins-worker.demos.42a.ai/terms",
    "developerName": "42a"
  },
  "keywords": [
    "time card calculator",
    "calculate my hours worked",
    "hours worked calculator",
    "timesheet calculator",
    "how many hours is 8 to 5",
    "overtime calculator",
    "make a timesheet",
    "convert hours and minutes to decimal"
  ],
  "tools": [
    {
      "name": "calculate_time_card",
      "title": "Calculate time card",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    }
  ],
  "dataSources": [],
  "review": {
    "positiveTestCases": [
      {
        "description": "A standard week with lunch breaks",
        "prompt": "Calculate my hours this week: Mon 8:45-5:15, Tue 9-6, Wed 8:30-5, Thu 9-5:30, Fri 8-4, 30 min lunch each day",
        "tools_triggered": [
          "calculate_time_card"
        ],
        "expected_behavior": "Card shows exactly 40.00 hours with no overtime, a per-day table, and Excel/PDF timesheet downloads."
      },
      {
        "description": "A single shift",
        "prompt": "How many hours is 7:50 AM to 4:20 PM with a 45 minute break?",
        "tools_triggered": [
          "calculate_time_card"
        ],
        "expected_behavior": "Answers 7.75 hours (7h 45m)."
      },
      {
        "description": "California daily overtime with pay",
        "prompt": "Make a timesheet for Jane: Mon-Fri 9 to 6, Sat 9 to 1, $22/hour, California overtime",
        "tools_triggered": [
          "calculate_time_card"
        ],
        "expected_behavior": "Card shows 49 hours: 40 regular and 9 overtime, gross pay $1,177.00, and timesheet downloads."
      },
      {
        "description": "An overnight shift",
        "prompt": "I worked from 10pm to 6:30am last night with a 30 minute break, how many hours is that?",
        "tools_triggered": [
          "calculate_time_card"
        ],
        "expected_behavior": "Answers 8 hours, marking the shift as ending the next day."
      },
      {
        "description": "Weekly overtime pay at a given rate",
        "prompt": "I worked 10 hours a day Monday to Friday at $18 an hour. What is my pay with overtime?",
        "tools_triggered": [
          "calculate_time_card"
        ],
        "expected_behavior": "Card shows 50 hours (40 regular, 10 overtime) and gross pay of $990.00."
      }
    ],
    "negativeTestCases": [
      {
        "prompt": "How much will I take home from a $60,000 salary after taxes?",
        "expected_behavior": "Does not call Handy Time Card Calculator: Take-home pay and taxes are a paycheck question, not a time card."
      },
      {
        "prompt": "How many days until my vacation on July 4?",
        "expected_behavior": "Does not call Handy Time Card Calculator: Counting days between dates is not adding up work hours."
      },
      {
        "prompt": "Write me a polite email asking my manager for overtime approval.",
        "expected_behavior": "Does not call Handy Time Card Calculator: Writing an email needs no calculation."
      }
    ]
  }
}