Skip to main content
Glama

parental leave income gap

parental_leave_income_gap
Read-onlyIdempotent

Statutory parental leave pay for a birth parent and the income gap against normal pay (gross, before tax) in the UK (Statutory Maternity Pay), Ireland (Maternity Benefit), Canada (EI), Quebec (QPIP), Australia (Parental Leave Pay) or a US state’s paid family and medical leave (us-CA, us-NY, us-NJ, us-WA, us-MA and the rest; us-XX = no state program, FMLA unpaid), with an optional employer top-up. Use this for a quick cross-country comparison of one parent’s gross leave pay; for detailed national rules use the country tools (canada_ei_maternity_parental, quebec_qpip, ireland_maternity_leave_pay, uk_statutory_maternity_pay, australia_parental_leave_pay).

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": {
      "country": "<country>",
      "salary": "<salary>"
    },
    "name": "parental_leave_income_gap"
  }
}

Input Schema

NameRequiredDescriptionDefault
topUpNoEmployer tops pay up to this share of normal pay, 0 to 1
weeksNoWeeks of leave (default 52)
salaryYesGross annual pay in local currency
countryYesCountry, or us- plus the state code
topUpWeeksNoWeeks the top-up lasts

Output Schema

NameRequiredDescriptionDefault
nextNoOptional paid follow-on (name, url, what) where it genuinely helps
noteNoWhen the figures were read, and that this is general information, not advice
pageYesThe calculator page to cite or link, https://decisionscalc.com/...
resultYesThe calculation (usually an object), same engine and figures as the calculator page
sourcesYesOfficial source URLs for the figures used

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "next": {
      +      "description": "Optional paid follow-on (name, url, what) where it genuinely helps",
      +      "properties": {
      +        "name": {
      +          "type": "string"
      +        },
      +        "url": {
      +          "type": "string"
      +        },
      +        "what": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "note": {
      +      "description": "When the figures were read, and that this is general information, not advice",
      +      "type": "string"
      +    },
      +    "page": {
      +      "description": "The calculator page to cite or link, https://decisionscalc.com/...",
      +      "type": "string"
      +    },
      +    "result": {
      +      "description": "The calculation (usually an object), same engine and figures as the calculator page"
      +    },
      +    "sources": {
      +      "description": "Official source URLs for the figures used",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "result",
      +    "page",
      +    "sources"
      +  ],
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / country / description
      Previous value: -"Country"New value: +"Country, or us- plus the state code"
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "gb",
      -  "ie",
      -  "ca",
      -  "qc",
      -  "au"
      -]New value: +[
      +  "gb",
      +  "ie",
      +  "ca",
      +  "qc",
      +  "au",
      +  "us-CA",
      +  "us-CO",
      +  "us-CT",
      +  "us-DC",
      +  "us-DE",
      +  "us-MA",
      +  "us-ME",
      +  "us-MN",
      +  "us-NJ",
      +  "us-NY",
      +  "us-OR",
      +  "us-RI",
      +  "us-WA",
      +  "us-XX"
      +]
  3. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the bar is lower. The description adds genuinely useful domain context beyond them: figures are gross and before tax, employer top-up is optional, and us-XX encodes "no state program, FMLA unpaid". It does not state assumptions such as whether only the birth parent is modeled or how the gap is derived, which keeps it from a 5.

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?

Two sentences, front-loaded with what is computed, followed by scope and alternatives. Dense but every clause carries information; the long parenthetical enumerations of state codes and sibling tool names are the only mildly heavy element.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described. The description covers jurisdiction coverage, the optional top-up dimension, tax basis, the us-XX edge case, and routing to alternatives — everything an agent needs to select and call it correctly.

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%, so the baseline is 3. The description still adds meaning the schema does not: it explains the country enum's us-XX sentinel value (no state program, FMLA unpaid) and frames salary as normal pay against which the gap is measured, which clarifies how the required inputs interact.

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 resource: computes statutory parental leave pay for a birth parent plus the income gap against normal gross pay. It also names the exact jurisdictions covered and explicitly contrasts itself with the per-country tools, so an agent can distinguish it from siblings without opening the schema.

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?

Gives an explicit when-to-use ("quick cross-country comparison of one parent's gross leave pay") and an explicit when-not-to / alternative ("for detailed national rules use the country tools") with the five sibling names listed. The selection rule is fully determined.

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.