Skip to main content
Glama

calculate kr safety education hours

calculate_kr_safety_education_hours
Read-onlyIdempotent

Korean mandatory occupational safety and health training hours (산업안전보건법 시행규칙 별표 4, amended 2025-05-30): regular training 6 hours per half-year for office and sales workers, 12 hours for others; on hiring 8 hours (1 week-1 month contracts 4, daily or ≤1 week 1); on job change 2 hours (daily 1); supervisors 16 hours a year; construction day workers 4-hour basic training; half hours for wholesale/lodging/restaurant workplaces under 50 workers. Returns per-worker hours and the yearly total.

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": {
      "job": "<job>",
      "hire": "<hire>"
    },
    "name": "calculate_kr_safety_education_hours"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobYesOffice work, sales work, or other (production, field)
halfNoWholesale, lodging or restaurant business with under 50 workers (half hours)
hireYesOver 1 month, 1 week-1 month, up to 1 week fixed-term, or daily worker
workersNoNumber of workers
supervisorsNoNumber of supervisors
constructionNoConstruction site

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive, so the purity of the operation is established structurally. The description adds the legal basis with an amendment date (2025-05-30) and states the return shape (per-worker hours plus yearly total), which is genuinely useful. It still does not say how supervisors and workers aggregates are combined or whether the yearly total sums both categories.

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?

Content is dense and largely earns its place, but it is delivered as a single semicolon-chained wall of regulation text with no hierarchy, requiring the reader to unpick which clause maps to which parameter. Front-loading is weak: the core action ('computes training hours from job/hire/construction/half') is embedded rather than stated first.

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?

With no output schema, the description correctly carries the burden of stating what is returned (per-worker hours and yearly total). For a pure deterministic calculator with 6 well-described parameters, that is close to sufficient. The residual gap is whether supervisors are included in the reported yearly total and how the two worker counts aggregate.

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

Parameters4/5

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

Schema coverage is 100% and each field already carries its own description, so the baseline is 3. The description earns more by explaining how parameters interact — job type selects 6 vs 12 hours, hire type selects 8/4/1 hours, hire=daily or ≤1 week maps to 1 hour, and the half flag corresponds to wholesale/lodging/restaurant workplaces under 50 workers. That coupling of job × hire × construction × half into rate outcomes is meaningful beyond the field-level text.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description plainly identifies the resource: Korean mandatory occupational safety and health training hours under 산업안전보건법 시행규칙 별표 4, with the specific obligation categories (regular, on-hiring, job-change, supervisors, construction day workers). A reader knows exactly what quantity is being computed. It does not name or differentiate itself from sibling calculators such as check_kr_safety_staffing, which keeps it from a 5.

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

Usage Guidelines2/5

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

There is no explicit when-to-use/when-not guidance and no routing to alternatives among the many kr_ calculators. Usage must be inferred from the rule listing itself. The scenario-to-hours mapping is helpful context but is not the same as selection guidance.

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.