Skip to main content
Glama

Net to gross salary calculator

hopi_net_to_gross
Read-onlyIdempotent

Work out the gross salary needed to achieve a desired take-home (net) pay for the 2026/27 tax year in England, Wales and Northern Ireland, using code 1257L income tax bands with personal allowance taper and employee National Insurance. Give the net figure as yearly or monthly. Returns the required gross, tax and NI. Amounts in GBP. Source: https://hopi.co.uk/net-to-gross/

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
netYesDesired take-home pay in GBP
periodNoWhether the net figure is yearly or monthly (default year)year

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
netYes
periodYes
summaryYes
incomeTaxYes
source_urlYesThe tool's page on hopi.co.uk (cite or open to check the figure)
grossPerYearYes
grossPerMonthYes
netCheckPerYearYes
nationalInsuranceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / required
      Added value: +[
      +  "grossPerMonth",
      +  "grossPerYear",
      +  "incomeTax",
      +  "nationalInsurance",
      +  "net",
      +  "netCheckPerYear",
      +  "period",
      +  "source_url",
      +  "summary"
      +]
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive, so the safety profile is covered. The description adds value by explaining the calculation contents (personal allowance taper, employee NI) and the return values (gross, tax, NI). It does not mention edge cases or rate limits, but as a stateless calculator this is acceptable.

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 a single efficient sentence that front-loads the core purpose, then adds specific constraints and outputs. The source URL at the end is extra but unobtrusive. No filler or redundant wording.

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?

Given the two-parameter schema and presence of an output schema, the description sufficiently explains the tool's behavior, scope, and return values. It could mention that it excludes Scotland or student loans, but those are not required for correctness; the description is complete for typical usage.

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?

The schema covers both parameters fully (net, period with enum and default). The description adds only marginal context by mentioning 'yearly or monthly' and 'Amounts in GBP', the latter is not in the schema. With 100% coverage, baseline 3 is appropriate; the description doesn't need to compensate.

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?

The description states a specific verb ('work out the gross salary needed') and resource ('achieving a desired take-home (net) pay'), and narrows scope with tax year, location, and tax code. This clearly distinguishes it from sibling calculators like take_home_pay, which do the reverse (gross to net).

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?

It provides clear context—2026/27 tax year, England/Wales/NI, code 1257L, and monthly/yearly input—which tells the agent when this tool applies. However, it does not explicitly mention alternatives or when not to use it, though the scope excludes Scotland and other tax years by implication.

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