Skip to main content
Glama

Net salary in another country

net_salary_abroad
Read-onlyIdempotent

Take-home pay for an employee in one of 18 countries (India, United States, United Kingdom, Germany, France, Greece, Spain, Romania, Bulgaria, China, Poland, Turkey, Morocco, Belgium, Italy, Indonesia, Singapore, United Arab Emirates) from a gross yearly salary in that country's currency, 2026 rules: income tax and employee social contributions, itemised, also in euros. Each country models one standard situation (single, no children, a named city or region where taxes differ), stated in the result.

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_annual": "<gross_annual>"
    },
    "name": "net_salary_abroad"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryYesISO 3166-1 alpha-2 country code: IN, US, GB, DE, FR, GR, ES, RO, BG, CN, PL, TR, MA, BE, IT, ID, SG, AE
fx_per_eurNoExchange rate: 1 euro = this many units of the local currency, for the euro amounts. Default: an indicative rate; ignored for euro countries.
gross_annualYesGross yearly salary in the country's own currency

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / country / description
      Previous value: -"ISO 3166-1 alpha-2 country code: IN, US, GB, DE, FR, GR, ES, RO, BG, CN, PL, TR, MA, BE, IT, ID"New value: +"ISO 3166-1 alpha-2 country code: IN, US, GB, DE, FR, GR, ES, RO, BG, CN, PL, TR, MA, BE, IT, ID, SG, AE"
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "IN",
      -  "US",
      -  "GB",
      -  "DE",
      -  "FR",
      -  "GR",
      -  "ES",
      -  "RO",
      -  "BG",
      -  "CN",
      -  "PL",
      -  "TR",
      -  "MA",
      -  "BE",
      -  "IT",
      -  "ID"
      -]New value: +[
      +  "IN",
      +  "US",
      +  "GB",
      +  "DE",
      +  "FR",
      +  "GR",
      +  "ES",
      +  "RO",
      +  "BG",
      +  "CN",
      +  "PL",
      +  "TR",
      +  "MA",
      +  "BE",
      +  "IT",
      +  "ID",
      +  "SG",
      +  "AE"
      +]
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already establish that this is a read-only, idempotent, non-destructive, closed-world calculation. The description adds meaningful behavioral context: 2026 rules, income tax plus employee social contributions, itemized results, euro conversion, and a single standardized situation per country (single, no children, named city/region where relevant).

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 front-loaded with the core purpose and then adds rules and modeling assumptions efficiently. The explicit list of 18 countries duplicates the enum in the schema and makes the description longer than necessary, but it remains readable and purposeful.

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 calculation tool with no output schema, the description explains that the result includes take-home pay, itemized income tax and employee contributions, euro amounts, and the modeled standard situation. It does not specify exact response fields, but it provides enough context for an agent to call and interpret the tool correctly.

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 all three parameters are already documented in the schema, including the country enum and the fx_per_eur meaning. The description adds some context by saying gross salary is in the country's currency and results are also in euros, but it largely restates the schema rather than adding new parameter meaning.

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 states a specific computation: take-home pay from a gross yearly salary for one of 18 named countries under 2026 tax rules. It clearly implies a single-country gross-to-net calculation, though it does not explicitly name sibling alternatives such as salary_country_comparison or gross_salary_for_target_net.

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

Usage Guidelines3/5

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

Usage is implied by the scope: use this for gross-to-net pay in one of the listed countries. There is no explicit when-to-use/when-not-to-use guidance, no mention of alternatives for comparisons or reverse net-to-gross calculations, and no stated prerequisites beyond the country and salary.

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.

Resources