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-10-22. Cost comparison, not legal or tax advice.

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.6/5.0
Behavior5/5

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

Annotations already cover the safety profile (read-only, non-destructive, closed-world), and the description adds substantive behavior: employer charges plus optional EOR fee are deducted from the budget first, ceilings/floors/bands/fixed amounts are honored, the monthly salary is expressed at the country's statutory payment count, and currency round-tripping is stated. It also discloses the data snapshot date and the not-legal-advice caveat, which go well beyond structured fields.

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 use case and quoted examples, then the mechanics, then caveats — a sensible order with no filler sentences. It is a dense single paragraph, but nearly every clause carries decision-relevant information.

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?

With annotations, a full input schema, and an output schema, the description supplies the remaining essentials: budget semantics, fee ordering, rounding/period behavior, and data freshness. Nothing an agent needs to invoke it correctly appears 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 coverage is 100%, so the baseline is 3; the description earns an extra point by clarifying that the budget is all-in and that eor_fee_usd_month is removed from the budget before solving, plus that local-currency input returns local currency with USD in brackets. It still leaves the `assumptions` override barely explained beyond the schema text.

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 computation (largest gross salary whose statutory employer cost fits the budget) on a named resource, and ties itself to the employer_cost ledger, which distinguishes it from siblings. The inverse relationship to employer_cost is clear enough that an agent can pick correctly.

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?

Gives concrete trigger phrasing in two languages and an explicit exclusion ("Do not use for net pay"), which is strong when-to-use guidance. It does not name the alternative tool to use instead for net pay or for budget-free salary lookups, so routing is clear but not fully closed.

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.