Skip to main content
Glama

日本の給与・社会保険・労働法

入社月・退社月の保険料の要否

check_insurance_eligibility

The single most expensive month-end mistake in Japanese payroll, and one an assistant will get wrong from memory.

Coverage ends the day AFTER the last day worked, not on it. So an employee leaving on the LAST day of a month loses coverage on the 1st of the next month, and still owes that month's premium — while leaving one day earlier means no premium for the month at all. A full month of both employee and employer premium turns on a single day. Always check here rather than reasoning it out.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
monthNoMonth to judge, YYYY-MM or a full date. Defaults to today.
left_onNoLast day actually worked, YYYY-MM-DD — not the day after.
joined_onNoFirst day of employment, YYYY-MM-DD.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description carries the burden of behavior disclosure. It reveals the key rule and outcome (whether the month's premium is owed), which is behaviorally important, but it does not explain the return format, whether both employee and employer premiums are addressed, or edge-case handling such as mid-month entry or missing dates. A 3 is fair because the core deterministic rule is transparent, yet implementation details remain opaque.

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 description is heavily front-loaded with a compelling warning and a concrete example, then ends with the directive. Every sentence serves a purpose, though the opening 'single most expensive month-end mistake' framing is somewhat repetitive of the title's subject. It is not bloated and reads quickly.

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 judgment tool with three self-explanatory parameters and no output schema, the description explains the core rule, gives a concrete edge case, and tells the assistant to always delegate to it. It leaves out the exact return value shape, but the absence of an output schema and the simple yes/no nature of the judgment make this a minor gap rather than a serious one.

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 coverage is 100%, so the schema already documents all three parameters well. The description adds emphasis that left_on is the last day actually worked, not the day after, which is a valuable semantic correction beyond the schema. However, it does not clarify the interplay between joined_on and left_on, such as when both are supplied for someone joining and leaving in the same month, so it only modestly exceeds the schema baseline.

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 clearly states this tool judges insurance premium liability for joining/leaving months in Japanese payroll, and the unusual rule is spelled out. Its title '入社月・退社月の保険料の要否' plus the description of 'Coverage ends the day AFTER the last day worked' makes the purpose unmistakable and distinct from sibling tools that calculate amounts or rates.

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

Usage Guidelines5/5

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

It explicitly tells the assistant this is the authoritative check for the single most expensive month-end mistake and says 'Always check here rather than reasoning it out.' This both establishes when to use it (whenever judging premium liability for months around joining/leaving) and effectively excludes guessing/memory or alternative calculation tools.

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.

TDQS

A3.8/5.0
Disambiguation4/5

Most tools have distinct, well-defined jobs—payroll calculations, revision judgments, eligibility checks, and data lookups are clearly separated. The main remaining risk is among the standard-remuneration judgment tools and the batch/singleton pairs, but their descriptions are detailed enough to prevent serious misselection.

Naming Consistency3/5

There is a reasonably recognizable pattern with calculate_, judge_, check_, get_, and validate_ groups. However, several noun-phrase names (business_days, consumption_tax, national_insurance, commuting_allowance_exemption) and overlapping verb choices (decide_ vs judge_ vs check_) prevent a fully consistent verb_noun convention.

Tool Count2/5

At 30 tools, the surface is materially larger than the 3–15 range that keeps an agent's selection burden low. Batch variants and three separate standard-remuneration revision tools add complexity, and although the domain is broad, the count feels heavy for an assistant to choose from confidently.

Completeness4/5

The core workflows are well covered: monthly pay, bonuses, overtime, standard-remuneration determination, year-end adjustment, resident tax, leave, worker classification, and invoice validation. Gaps exist around statutory benefit payments such as sickness or maternity allowances and retirement-specific processing, but most payroll and social insurance tasks can be completed without dead ends.