Skip to main content
Glama

Gross salary that fits a hiring budget

max_salary_for_budget
Read-only

Use this when the user has an all-in budget for a hire in a country and asks what gross salary it allows (e.g. "I have 100k a year for a hire in Germany, what salary can I offer?", "quel salaire brut pour un budget de 8 000 par mois en Espagne"). Returns the largest gross salary whose statutory employer cost (salary plus employer charges, plus an Employer of Record fee if the user gives one) stays within the budget, solved on the same ledger as employer_cost, so ceilings, floors, bands and fixed amounts are taken into account, and the monthly salary it stands for, paid the country's statutory number of times (13th, 14th month). Amounts given in the local currency come back in it, with the USD in brackets. Do not use for net pay. 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>",
      "budget": "<budget>"
    },
    "name": "max_salary_for_budget"
  }
}

Input Schema

NameRequiredDescriptionDefault
budgetYesTotal employer budget for one employee
countryYesISO 3166-1 alpha-2 code ("DE") or country name ("Germany")
assumptionsNoOverride an adjustable assumption the country declares, e.g. {"basic_share_of_gross": 0.6}. See `assumptions` in an employer_cost answer.
budget_periodNoWhether `budget` is per year or per monthyear
budget_currencyNoCurrency of `budget`: USD, or the local currency of the countryUSD
eor_fee_usd_monthNoAn EOR fee to take out of the budget first, in USD per employee per month, as the user gives it

Output Schema

NameRequiredDescriptionDefault
metaYes
totalYes
budgetYes
countryYes
readingYes
summaryYes
max_salaryYes
employer_costYes
max_monthly_salaryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnly, non-destructive, closed-world), and the description adds genuinely non-obvious behavior: the solve accounts for ceilings, floors, bands and fixed amounts; the EOR fee is deducted from the budget first; results are expressed monthly at the country's statutory payment count; local-currency inputs return local amounts with USD in brackets; and it states a data snapshot date plus a non-advice disclaimer. The only thing left unstated is how the result behaves when the budget is below the floor (error vs. minimum).

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?

Usage trigger is front-loaded in the first clause, followed by the semantics of the solve and then constraints. It is a dense single paragraph and somewhat long, but nearly every clause carries information an agent could act on; only the phrasing around 'the monthly salary it stands for' is slightly convoluted.

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 a six-parameter, nested-schema read tool with an output schema, the description supplies everything needed before invocation: purpose, exclusions, the cost model behind the solve, currency/period behavior, and data vintage. Return-format details are rightly left to the output schema.

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 description coverage is 100%, so the baseline is 3, and the description adds only partial extra meaning — that 'budget' is all-in employer cost including charges and any EOR fee, and that local-currency budgets come back in local currency. It does not clarify the assumptions override object or the budget_period/currency interplay beyond what the schema states.

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 precise verb and resource — returns the largest gross salary whose statutory employer cost stays within an all-in budget — and explicitly frames it as the inverse of employer_cost solved on the same ledger, which separates it from employer_cost and the compare_* siblings. Concrete example queries make the target intent unmistakable.

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 (user has an all-in budget and asks what gross salary it allows), gives two representative phrasings, and adds a clear exclusion: 'Do not use for net pay.' That is when-to-use, when-not-to-use, and a named related tool all in one place.

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.