Skip to main content
Glama

finance_overtime

Read-only

Overtime pay calculator (FLSA + CA/AK/CO daily rules) — Offline overtime and gross-pay calculator for non-exempt workers. Give rate= (hourly) and days= (daily hours in workweek order) or hours= (weekly total). Applies the federal FLSA 40-hour weekly rule plus state daily rules for California (over 8 = 1.5x, over 12 = 2x, 7th consecutive day), Alaska (over 8) and Colorado (over 12). Optional bonus= folds a nondiscretionary bonus into the regular rate per 29 CFR 778.209. Returns regular/OT/double-time hours per day, regular rate, premiums and gross pay. Params: rate, days or hours, state (CA|AK|CO|NV|US), bonus. Price: $0.003 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "rate": "<rate>",
      "days": "<days>"
    },
    "name": "finance_overtime"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysYese.g. 9,10,8,12,13,6
rateYese.g. 25

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations establish read-only, non-destructive, open-world behavior. The description adds substantive behavioral detail: federal/state rule application, bonus folding under 29 CFR 778.209, returned hour categories and gross pay, plus x402 pricing. It does not contradict the annotations.

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?

The definition is front-loaded with purpose and rules, and its length is reasonable for a multi-rule calculator. Some content is redundant (title, param list, pricing) but not enough to obscure the core instruction.

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?

It explains the calculation model and the return values, which matters because there is no output schema. The value is reduced by the parameter mismatch: an agent could try to pass state or bonus and fail, and the required days field is not reconciled with the advertised hours alternative.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% for the two declared parameters, so baseline would be 3. The description adds useful meaning for rate and days (hourly, workweek order) but also advertises hours, state, and bonus parameters that are absent from the schema, creating a misleading mismatch.

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 names a specific calculator and domain: offline overtime and gross-pay calculation under FLSA and CA/AK/CO daily rules for non-exempt workers. It goes beyond the name by listing the rules applied and the outputs, so an agent can distinguish it from unrelated finance_* calculators.

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

Usage Guidelines3/5

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

It gives input guidance (rate plus days or hours) and identifies the target user (non-exempt workers), which implies when to use it. However, it names no alternative tools or when-not conditions, and its 'days or hours' wording conflicts with the schema's required days field.

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