Skip to main content
Glama
wudongjie

hourledger-mcp

by wudongjie

calculate_work_hours

Calculate regular, overtime, and double-time hours and gross pay from clock in/out entries, applying federal, California, Alaska, Colorado, or Nevada overtime rules.

Instructions

Calculate regular/overtime/double-time hours and gross pay from clock in/out entries. Rulesets: federal (40h/week), california (8h/day 1.5x, 12h/day 2x, 7th-day rule), alaska (8h/day or 40h/week), colorado (12h/day or 40h/week), nevada (8h/day below $18/h, else weekly). Full calculators at https://hourledger.com

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entriesYes
rulesetNofederal
roundingNonone
nvDailyOtNoNevada only: override the rate-based daily-OT eligibility check
hourlyRateYes
workweekStartNo0=Sunday … 6=Saturday
Behavior3/5

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

No annotations exist, so the description carries the burden of behavioral disclosure. It mentions calculation of regular/overtime/double-time hours and gross pay, and lists ruleset details. However, it omits behavioral nuances like rounding options, unpaid break subtraction, overnight shift handling, and workweek-start configuration, which are relevant to the calculation.

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?

The description is two sentences: the first states the purpose, the second lists rulesets and a link. It is compact, front-loaded, and contains no redundant content.

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?

Given 6 parameters, no annotations, and no output schema, the description provides minimal viable context: it states what it calculates and which rulesets are supported. But it leaves parameter semantics and behavioral edge cases unexplained, making it incomplete for a complex tool.

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 only 33%, so the description must compensate. It adds meaning to the 'ruleset' parameter by explaining each state's rule and implies 'hourlyRate' and 'entries' through 'gross pay' and 'clock in/out entries'. It does not explain 'rounding', 'unpaidBreakMins', or 'workweekStart', leaving those to the sparse schema.

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?

The description opens with a precise verb and resource: 'Calculate regular/overtime/double-time hours and gross pay from clock in/out entries.' It clearly states the tool's scope and distinguishes it from sibling time_and_a_half by covering multiple jurisdiction-specific rulesets.

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?

The description provides clear context by enumerating available rulesets (federal, california, alaska, colorado, nevada), implying this tool is for jurisdiction-aware payroll calculations. However, it does not explicitly mention the sibling time_and_a_half or state when to prefer one over the other, so explicit exclusions are missing.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wudongjie/hourledger-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server