Skip to main content
Glama

Employer cost of an employee in a country

employer_cost
Read-only

Use this when the user asks what an employee costs the employer in a country beyond the gross salary: employer social security contributions, payroll taxes, pension, health or accident insurance, mandatory levies, or the total cost of employment (e.g. "how much does it cost to employ a developer in Germany at 80k", "employer charges in Spain", "coût employeur d'un salarié en Pologne"). Returns each statutory employer contribution with its rate, base, ceiling, source (official wherever one exists) and check date, then the monthly and annual total and its percent of gross, before any Employer of Record fee. A total the country declares as a floor or a ceiling is written "at least" or "at most". A monthly salary is passed as the user gives it, with salary_period "month": the country's statutory 13th or 14th month is then applied (e.g. "a hire at 4,000 a month in Madrid", "un salarié payé 2 500 par mois à Lisbonne"). When the user asks for the full cost through an Employer of Record and has been quoted its fees, pass them as the user gives them (eor_fee_monthly, eor_one_time_fees, deposit): the answer keeps the statutory cost, the fees entered by the user and their total apart, and the deposit out of the total. EOR Scope holds no provider fee: without the user's figures, the answer stays statutory, and eor_fee_sources says where each provider publishes its fees. Do not use for an employee's net pay or income tax or for legal advice. Amounts given in the local currency come back in it, with the USD in brackets. Data snapshot 2026-11-06. Cost comparison, not legal or tax advice.

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

Input Schema

NameRequiredDescriptionDefault
salaryNoGross salary, a year unless salary_period is "month". Omit to use the country's example salary.
countryYesISO 3166-1 alpha-2 code ("DE") or country name ("Germany")
depositNoA deposit the user was quoted: shown apart, never added to the cost
assumptionsNoOverride an adjustable assumption the country declares, e.g. {"basic_share_of_gross": 0.6}. See `assumptions` in an employer_cost answer.
fees_currencyNoCurrency of eor_fee_monthly and eor_one_time_fees: USD, or the local currency of the countryUSD
include_notesNoInclude the long legal note behind each line
salary_periodNoWhether the salary is a year (default) or a month. Pass a monthly salary as the user gives it, with "month": the statutory number of monthly payments of the country (13th, 14th month) is applied, see salary_basis in the answer.year
eor_fee_monthlyNoThe Employer of Record fee the user was quoted, per employee per month, in fees_currency. Only a figure the user gives.
salary_currencyNoCurrency of `salary`: USD, or the local currency of the countryUSD
eor_one_time_feesNoOne-time fees the user was quoted (onboarding, set-up), in total for this employee, in fees_currency. Only a figure the user gives.
payments_per_yearNoWith salary_period "month" only: the total number of monthly salaries the contract pays in a year, statutory ones included (e.g. 14). Omit to use the statutory number of the country.

Output Schema

NameRequiredDescriptionDefault
metaYes
linesYes
salaryYes
widgetNo
countryYes
summaryYes
assumptionsYes
not_in_totalYes
salary_basisNo
employer_costYes
with_user_feesNo
included_in_gross_salaryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / deposit
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "A deposit the user was quoted: shown apart, never added to the cost",
      +  "properties": {
      +    "amount": {
      +      "description": "Deposit or reserve the user was asked for",
      +      "maximum": 1000000000000,
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "currency": {
      +      "default": "USD",
      +      "description": "USD, or the local currency of the country",
      +      "enum": [
      +        "USD",
      +        "local"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "amount"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / eor_fee_monthly
      Added value: +{
      +  "description": "The Employer of Record fee the user was quoted, per employee per month, in fees_currency. Only a figure the user gives.",
      +  "maximum": 1000000000,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / eor_one_time_fees
      Added value: +{
      +  "description": "One-time fees the user was quoted (onboarding, set-up), in total for this employee, in fees_currency. Only a figure the user gives.",
      +  "maximum": 1000000000,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / fees_currency
      Added value: +{
      +  "default": "USD",
      +  "description": "Currency of eor_fee_monthly and eor_one_time_fees: USD, or the local currency of the country",
      +  "enum": [
      +    "USD",
      +    "local"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / with_user_fees
      Added value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "deposit": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "amount": {
      +          "$ref": "#/properties/summary"
      +        },
      +        "amount_usd": {
      +          "$ref": "#/properties/salary/properties/annual_usd"
      +        },
      +        "reading": {
      +          "$ref": "#/properties/summary"
      +        }
      +      },
      +      "required": [
      +        "amount_usd",
      +        "amount",
      +        "reading"
      +      ],
      +      "type": "object"
      +    },
      +    "reading": {
      +      "$ref": "#/properties/summary"
      +    },
      +    "source": {
      +      "$ref": "#/properties/summary"
      +    },
      +    "statutory_cost": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "annual": {
      +          "$ref": "#/properties/summary"
      +        },
      +        "annual_usd": {
      +          "$ref": "#/properties/salary/properties/annual_usd"
      +        },
      +        "bound": {
      +          "$ref": "#/properties/summary"
      +        },
      +        "monthly_usd": {
      +          "$ref": "#/properties/salary/properties/annual_usd"
      +        }
      +      },
      +      "required": [
      +        "annual_usd",
      +        "monthly_usd",
      +        "annual"
      +      ],
      +      "type": "object"
      +    },
      +    "total": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "bound": {
      +          "$ref": "#/properties/summary"
      +        },
      +        "first_year_usd": {
      +          "$ref": "#/properties/salary/properties/annual_usd"
      +        },
      +        "later_years_annual_usd": {
      +          "$ref": "#/properties/salary/properties/annual_usd"
      +        },
      +        "monthly_recurring_usd": {
      +          "$ref": "#/properties/salary/properties/annual_usd"
      +        }
      +      },
      +      "required": [
      +        "monthly_recurring_usd",
      +        "first_year_usd",
      +        "later_years_annual_usd"
      +      ],
      +      "type": "object"
      +    },
      +    "user_entered_fees": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "eor_fee_annual_usd": {
      +          "$ref": "#/properties/salary/properties/annual_usd"
      +        },
      +        "eor_fee_monthly_usd": {
      +          "$ref": "#/properties/salary/properties/annual_usd"
      +        },
      +        "one_time_fees_usd": {
      +          "$ref": "#/properties/salary/properties/annual_usd"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "source",
      +    "statutory_cost",
      +    "user_entered_fees",
      +    "total",
      +    "reading"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/non-destructive/closed-world, and the description adds substantial behavior beyond them: the return payload structure (rate, base, ceiling, source, check date, monthly and annual totals, percent of gross), the "at least"/"at most" convention for declared floors and ceilings, currency echo behavior, deposit exclusion, and the separation of statutory cost from user-entered EOR fees. It also pins a data snapshot date, which matters for a rate-based tool.

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 core use case and the three example utterances are front-loaded and each sentence covers a distinct scenario (statutory cost, monthly salary, EOR fees). It runs long and the disclaimer appears twice in spirit ("Do not use for... legal advice" and the closing "not legal or tax advice"), a minor redundancy in an otherwise dense, purposeful description.

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?

For an 11-parameter tool with a nested deposit object and an output schema, the description supplies everything missing from structured fields: when to call it, what comes back, how totals and caveats are surfaced, and how EOR fees and deposits are handled. Nothing an agent needs to invoke it correctly is absent.

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 earns extra by explaining cross-parameter behavior the schema cannot: passing a monthly salary with salary_period "month" triggers the country's statutory 13th/14th month, and EOR fee/deposit values are passed as the user gives them and kept out of the total. It does not elaborate on assumptions, include_notes or payments_per_year beyond the schema text, which is fine given full coverage.

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: the employer-side cost of an employee in a country, itemized as social security, payroll taxes, pension, insurance and mandatory levies, plus total cost of employment. It explicitly carves out net pay, income tax and legal advice, which is exactly what an agent would otherwise confuse with a salary calculator.

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?

Opens with an explicit trigger condition ("Use this when the user asks what an employee costs the employer...") supported by three multilingual example phrasings, and closes with explicit exclusions (net pay, income tax, legal advice). It also routes the EOR-fee question: fees only when the user supplies them, otherwise stay statutory and consult eor_fee_sources.

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.