Skip to main content
Glama
calcbloc-mcp

calcbloc-mcp

Calculate employer cost

calculate_employer_cost
Read-onlyIdempotent

Compute the total cost of employing someone from a gross salary, including employer social security, payroll taxes, pension and other on-costs, with a tax-year breakdown and official source citations.

Instructions

Total cost of employing someone on a gross salary: the salary plus employer social security, payroll taxes, pension and other on-costs, with a breakdown, for the current tax year. Countries: sg, nl, es, de, us, uk, au, nz, ca, ie, in. region is REQUIRED for: us, au, ca; optional for: es, de, in; a missing or unknown region returns the valid codes. Returns the tax year, official source URLs and the calcbloc.com page. Bonus and other supplemental pay (withholding vs final tax): calculate_supplemental_withholding (sg, fr, nl, es, de, us, uk, au, nz, ca, ie, in). Equity compensation (RSUs, stock options): calculate_equity_tax (us, uk, au, ca, in). Not yet supported: cross-border (multi-country) withholding.

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>",
      "gross_salary": "<gross_salary>"
    },
    "name": "calculate_employer_cost"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoTax year, e.g. "2026" or "2026-27". Default: the current year. Calculations use the current year only.
regionNoRegion code or name. Required for: us, au, ca. Examples: US "ca", Australia "nsw", Canada "on". list_countries with the country lists every code.
countryYesCountry short code (ISO 3166-1 alpha-2 in lower case; the UK is "uk", "gb" also works), e.g. "us", "uk", "ca", "de", "in", "au", "nz", or the English name. Older keys such as "new-zealand" also work. See list_countries.
optionsNoCountry-specific options. Examples: US {"filing_status":"mfj","children":2} (filing_status: single | mfj | hoh; "married" and "head_of_household" are accepted too), UK {"pension_pct":5,"student_loan":"plan2"} (student_loan: none | plan1 | plan2 | plan4 | plan5), Germany {"tax_class":3,"church":true}. Call list_countries with the country to see every option, its allowed values and its default.
gross_salaryYesGross salary before tax in the country's currency. Annual for every country except Singapore (monthly); India: annual CTC/gross as described by list_countries.

Output Schema

NameRequiredDescriptionDefault
notesYes
inputsYes
regionYes
countryYes
licenceYes
resultsYes
sourcesYesOfficial sources for the rates used.
taxYearYes
currencyYes
warningsYes
breakdownYes
totalCostYes
disclaimerYes
multiplierYes
attributionYesAlways "Data by CalcBloc"; show it with the figures.
calcblocUrlYesThe calcbloc.com page for this result.
countryNameYes
grossSalaryYes
monthlyCostYes
taxTablesUrlYes
salaryMeaningYes
attributionUrlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.2.0
    • changedInput schema / properties / country / description
      Previous value: -"Country code or name, e.g. \"us\", \"uk\", \"canada\", \"germany\", \"india\", \"australia\". See list_countries."New value: +"Country short code (ISO 3166-1 alpha-2 in lower case; the UK is \"uk\", \"gb\" also works), e.g. \"us\", \"uk\", \"ca\", \"de\", \"in\", \"au\", \"nz\", or the English name. Older keys such as \"new-zealand\" also work. See list_countries."
    • changedInput schema / properties / options / description
      Previous value: -"Country-specific options, e.g. US {\"filing_status\":\"married\",\"children\":2}, UK {\"pension_pct\":5,\"student_loan\":\"plan2\"}, Germany {\"tax_class\":3,\"church\":true}. Call list_countries with the country to see every option."New value: +"Country-specific options. Examples: US {\"filing_status\":\"mfj\",\"children\":2} (filing_status: single | mfj | hoh; \"married\" and \"head_of_household\" are accepted too), UK {\"pension_pct\":5,\"student_loan\":\"plan2\"} (student_loan: none | plan1 | plan2 | plan4 | plan5), Germany {\"tax_class\":3,\"church\":true}. Call list_countries with the country to see every option, its allowed values and its default."
    • changedInput schema / properties / region / description
      Previous value: -"Region code or name where employer costs vary by region (e.g. US state, Canadian province, Spanish community, Australian state)."New value: +"Region code or name. Required for: us, au, ca. Examples: US \"ca\", Australia \"nsw\", Canada \"on\". list_countries with the country lists every code."
  2. First observedv0.1.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so safety is covered; the description adds real behavior: an unknown or missing region soft-fails by returning valid codes rather than erroring, and it discloses the returned tax year and source URLs. It stops short of describing invalid-country handling or option-validation failures, so it is strong but not exhaustive.

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?

Front-loaded with the purpose, then progressively narrowing to jurisdiction constraints, failure behavior, and sibling routing — a sensible order with no filler sentences. The inline country enumerations are repeated from the schema and slightly bloat the paragraph without adding new constraints.

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?

Given a rich input schema, an output schema, and fully covering annotations, the description supplies exactly the missing layer: scope, jurisdiction handling, failure mode, and explicit routing to the two adjacent calculators. Nothing an agent needs in order to select and call this tool is absent.

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 year, region, country, options and gross_salary with examples and defaults. The description only restates the region-required country set and the country list, adding little meaning beyond the schema text; baseline 3 applies.

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 first sentence names a specific verb and resource ('total cost of employing someone on a gross salary') and enumerates the cost components included (employer social security, payroll taxes, pension, other on-costs). The supported-country list plus the explicit sibling routing make it unambiguous against calculate_take_home_pay or calculate_supplemental_withholding.

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 names two alternatives explicitly with the condition that selects them ('Bonus and other supplemental pay ... calculate_supplemental_withholding', 'Equity compensation ... calculate_equity_tax') and states a clear exclusion ('Not yet supported: cross-border (multi-country) withholding'). An agent can route without opening another schema.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.