Skip to main content
Glama

India Salary Calculator

Employer cost of a salary in India

employer_cost
Read-onlyIdempotent

What a salary in India costs the employer (employer social contributions itemised), or the reverse: the gross salary a total budget allows. Give gross_annual or budget_annual.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "employer_cost"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageNoAge; changes the result here (young-worker reliefs, senior slabs, surcharges). Default 35.
epfNoEPF contribution: none = Not in this calculation; ceiling = 12% on basic up to ₹15,000/month; full = 12% on full basic. Default none.
hraNoHRA received (₹ / year). Default 0.
npsNoOwn NPS, 80CCD(1B) (₹ / year). Default 0.
rentNoRent paid (₹ / year). Default 0.
metroNoMetro city (Delhi, Mumbai, Kolkata, Chennai) Default false.
regimeNoTax regime: new = New regime (default); old = Old regime; best = Whichever is lower. Default new.
sec80cNo80C investments besides EPF. PPF, ELSS, life insurance, tuition fees, principal on a home loan. (₹ / year). Default 0.
sec80dNo80D health insurance premium (₹ / year). Default 0.
prof_taxNoProfessional tax (₹2,500/year). Charged by states such as Maharashtra, Karnataka, West Bengal. Default false.
tax_yearNoTax year. Offered: 2026 (final), 2025 (final), 2024 (final). Default 2026. A year that is not listed is not available for this country.
basic_pctNoBasic salary. Basic pay as a share of gross; EPF, HRA and NPS limits work on it. (% of gross). Default 50.
home_loanNoHome loan interest, 24(b) (₹ / year). Default 0.
fx_per_eurNoExchange rate: 1 euro = this many INR, for the euro amounts. Default 90 (indicative).
bonus_annualNoYearly bonus in INR. Default 0.
employer_npsNoEmployer NPS. Deductible in both regimes: up to 14% of basic (new), 10% (old). (% of basic). Default 0.
gross_annualNoGross yearly salary in INR
budget_annualNoTotal yearly employer budget in INR, to find the gross salary it allows

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / tax_year
      Added value: +{
      +  "description": "Tax year. Offered: 2026 (final), 2025 (final), 2024 (final). Default 2026. A year that is not listed is not available for this country.",
      +  "enum": [
      +    2026,
      +    2025,
      +    2024
      +  ],
      +  "type": "integer"
      +}
  2. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered without description help. The description adds one genuinely useful behavioural detail beyond that: the output itemises employer social contributions. It says nothing about error behaviour when the two mode parameters conflict, or about how the reverse solve resolves.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no filler. The primary forward mode is front-loaded and the inverse mode follows immediately, with the parameter instruction closing the description.

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 an 18-parameter financial tool with no output schema, the description plus the fully documented schema covers enough for correct invocation: direction selection, India scope, and the itemised-contribution output. The remaining gaps are edge-case behaviour when the mode parameters are missing or both supplied, which is a modest omission rather than a blocking one.

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, but the description adds meaning the schema cannot: with zero required parameters, it specifies that exactly one of gross_annual or budget_annual is the entry point and that the two are alternative modes rather than independent inputs. That disambiguation is a real contribution above the schema.

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 names a specific verb-and-resource pair: total employer cost of an Indian salary with itemised employer social contributions, plus a clearly stated inverse mode (gross salary implied by a budget). The dual direction is explicit enough to separate it from a plain net-salary calculator. It stops short of naming siblings, so it sits at 4 rather than 5.

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?

'Give gross_annual or budget_annual' tells the agent which input selects which direction, which is useful invocation guidance. However, there is no guidance on when to prefer this over siblings such as gross_for_target_net or net_salary, and no statement of what happens if neither or both of the two entry parameters are supplied.

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