Skip to main content
Glama

time_fmla_leave

Read-only

FMLA leave calculator — Offline US Family and Medical Leave Act calculator. Give start= (first day of leave). Computes the entitlement in hours (12 workweeks, or 26 with type=caregiver), hours remaining after usedHours=, the last day of continuous leave and the return-to-work business day, or the end date of a reduced schedule (reduced= hours still worked per week). Lists federal holidays inside the leave and whether they count (29 CFR 825.200(h)), employee/employer notice deadlines and certification timing, and an eligibility check (12 months, 1,250 hours, 50 employees within 75 miles). Params: start, weeks, hoursPerWeek, usedHours, reduced, type, tenureMonths, hoursWorked, employees. 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": {
      "start": "<start>"
    },
    "name": "time_fmla_leave"
  }
}

Input Schema

NameRequiredDescriptionDefault
startYese.g. 2026-12-07

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 already declare readOnlyHint=true and destructiveHint=false, and the description adds genuinely non-obvious context: it is an offline calculator, it cites 29 CFR 825.200(h) for holiday treatment, and it discloses the price ($0.003 USDC on Base via x402), which matters for invoking an x402-paid tool. With no output schema, it also explains what the computation returns, though it does not describe the response structure.

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

Conciseness3/5

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

The single dense paragraph is front-loaded with the core action and read reasonably well, but the trailing 'Params:' list plus the pricing sentence are tacked on, and the param list is both redundant with the schema and factually inconsistent with it, so that sentence does not earn its place.

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 domain-specific calculator with no output schema, the description covers the computed results, regulatory basis, eligibility criteria, and cost — enough for an agent to decide to call it. Its one serious hole is the mismatch between the advertised nine parameters and the one-parameter schema, which undermines confidence about what inputs are actually accepted.

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?

The schema has exactly one parameter (start) with 100% coverage and an example, so baseline would be 3. However, the description advertises nine parameters ('start, weeks, hoursPerWeek, usedHours, reduced, type, tenureMonths, hoursWorked, employees') that do not exist in the input schema, and the meaning it supplies for them (type=caregiver, reduced= hours still worked per week) could lead an agent to pass unrecognized arguments.

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?

States a specific verb and domain resource — 'Offline US Family and Medical Leave Act calculator' — and then enumerates the concrete outputs (entitlement hours, hours remaining, last day of leave, return-to-work date, reduced-schedule end date, holiday list, notice deadlines, eligibility). This clearly separates it from sibling calculators like time_business_days or time_court_deadline.

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 the minimum calling instruction ('Give start= (first day of leave)') and names the mode switch (type=caregiver for 26 weeks), but gives no guidance on when to prefer this over other deadline/workday tools and no prerequisites or exclusions.

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