Skip to main content
Glama
calcbloc-mcp

calcbloc-mcp

Compare take-home pay in two countries

compare_countries
Read-onlyIdempotent

Compare net take-home pay, income tax, and social contributions for the same gross salary in two countries, converted at the ECB reference rate, with a plain-English summary and cited tax years and sources.

Instructions

The same gross salary in two countries: take-home pay, income tax and contributions on each side, converted at the European Central Bank reference rate, with a plain-English summary. Countries: sg, fr, nl, es, de, us, uk, au, nz, ca, ie, in. Use region_a / region_b for a US state, UK nation, Canadian province or Indian state (defaults apply otherwise and are stated in the answer). Returns each side's tax year and official sources. Not yet supported: equity compensation (RSUs, stock options), bonus and supplemental withholding, and 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_a": "<country_a>",
      "country_b": "<country_b>",
      "gross_salary": "<gross_salary>"
    },
    "name": "compare_countries"
  }
}

Input Schema

NameRequiredDescriptionDefault
currencyNoCurrency of gross_salary: country A's or country B's (ISO code). Default: country A's.
region_aNoRegion in country A: a US state ("ca"), UK nation ("scotland"), Canadian province ("on") or Indian state ("mh"). Defaults: New York, England, Ontario, Maharashtra.
region_bNoRegion in country B: a US state ("ca"), UK nation ("scotland"), Canadian province ("on") or Indian state ("mh"). Defaults: New York, England, Ontario, Maharashtra.
country_aYesCountry 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.
country_bYesCountry 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.
gross_salaryYesAnnual gross salary, in `currency`.

Output Schema

NameRequiredDescriptionDefault
aYes
bYes
salaryYes
licenceYes
sourcesYesOfficial sources for the rates used.
taxYearYesTax year of each side, e.g. 2026-27 (United Kingdom) / 2026 (Germany).
currencyYes
warningsYes
differenceYes
disclaimerYes
attributionYesAlways "Data by CalcBloc"; show it with the figures.
calcblocUrlYesThe calcbloc.com page for this result.
exchangeRateYes
attributionUrlYes
interpretationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.2.0
    • changedInput schema / properties / country_a / 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 / country_b / 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 / region_a / description
      Previous value: -"Region in country A (used for the US, UK, Canada and India)."New value: +"Region in country A: a US state (\"ca\"), UK nation (\"scotland\"), Canadian province (\"on\") or Indian state (\"mh\"). Defaults: New York, England, Ontario, Maharashtra."
    • changedInput schema / properties / region_b / description
      Previous value: -"Region in country B (used for the US, UK, Canada and India)."New value: +"Region in country B: a US state (\"ca\"), UK nation (\"scotland\"), Canadian province (\"on\") or Indian state (\"mh\"). Defaults: New York, England, Ontario, Maharashtra."
  2. First observedv0.1.1

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/openWorld annotations, the description discloses the FX source (ECB reference rate), that defaults are surfaced in the answer, that each side returns its tax year and official sources, and a clear list of unsupported scenarios. For a read-only tool this is unusually rich behavioral context that prevents misuse.

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?

It is a single front-loaded paragraph that leads with the output, then constraints, then exclusions — no filler sentences. It runs dense and the inline country list is long, but each clause carries operational information rather than restating the name.

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 six parameters, an output schema, and full annotation coverage, the description supplies everything an agent still needs: the supported country set, region semantics and defaults, conversion source, and explicit non-goals. Nothing material for a correct invocation is missing.

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 description coverage is already 100%, so the baseline is 3. The description still adds value the schema lacks: an explicit enumeration of supported country codes (sg, fr, nl, es, de, us, uk, au, nz, ca, ie, in) and the rule that region inputs only matter for four specific countries, reducing invalid inputs.

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 names a specific operation on a specific resource: the same gross salary computed in two countries, returning take-home pay, income tax and contributions per side. It implicitly separates itself from the single-country calculator sibling by emphasizing 'on each side' and the two-country comparison, so an agent can pick it without inspecting 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 Guidelines4/5

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

It gives concrete guidance on region_a/region_b (US state, UK nation, Canadian province, Indian state) plus what defaults apply when omitted, and it carves out unsupported cases (equity comp, bonus/supplemental withholding, cross-border withholding). It stops short of explicitly telling the agent when to prefer calculate_take_home_pay over this tool, which keeps it below a 5.

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