Skip to main content
Glama

Take-home pay

take_home_pay
Read-onlyIdempotent

Net salary after income tax and social contributions for an employee in one of ten countries (uk, us, ca, au, in, br, pl, fr, de, es), computed live by the LifeByNumbers salary calculators (same operator). Takes a gross salary in local currency (annual by default, or monthly with period) and a country code, plus optional state and filingStatus for the US, province for Canada, region (england|scotland) for the UK and region (madrid|cataluna) for Spain. Returns gross, net and total deductions (each annual and monthly), a line-by-line breakdown typed as tax / social / contribution / repayment, effectiveRate, the tax year the figures apply to, currency, the assumptions behind the estimate and the upstream calculator page as source.

Input Schema

NameRequiredDescriptionDefault
grossYesgross salary in local currency, annual unless period is monthly, e.g. 50000
stateNoUS only: two-letter state code, e.g. TX (default CA)
periodNoperiod of gross (default annual); results always give both annual and monthly
regionNoUK: england | scotland | wales | northern-ireland (scotland applies Scottish income tax bands; default england). Spain: madrid | cataluna, the autonomous community whose IRPF scale applies (default madrid)
countryYesISO 3166-1 alpha-2, lower case: uk, us, ca, au, in, br, pl, fr, de, es
provinceNoCanada only: two-letter province/territory code, e.g. BC (default ON)
filingStatusNoUS only (default single)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / region / description
      Previous value: -"UK only: scotland applies Scottish income tax bands (default england)"New value: +"UK: england | scotland | wales | northern-ireland (scotland applies Scottish income tax bands; default england). Spain: madrid | cataluna, the autonomous community whose IRPF scale applies (default madrid)"
    • changedInput schema / properties / region / enum
      Previous value: -[
      -  "england",
      -  "scotland",
      -  "wales",
      -  "northern-ireland"
      -]New value: +[
      +  "england",
      +  "scotland",
      +  "wales",
      +  "northern-ireland",
      +  "madrid",
      +  "cataluna"
      +]
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior. The description goes further by disclosing that figures are computed live upstream, that results include the tax year, currency, underlying assumptions and a source page, which tells the agent how much to trust and cite the output. It stops short of noting edge cases such as unsupported gross ranges or failure behavior.

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?

Two dense but well-ordered sentences: purpose first, then inputs, then return shape. Every clause carries information, though the return-value enumeration is long enough that it verges on a wall of text for a single paragraph.

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 no output schema, the description must describe return values and does so thoroughly (gross/net/deductions annual and monthly, typed breakdown, effectiveRate, tax year, currency, assumptions, source). Combined with full schema coverage and annotations covering safety, an agent has everything needed to call and interpret it.

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 coverage is 100%, so parameter meaning is largely carried by the schema and baseline is 3. The description adds country-to-parameter mapping but is slightly narrower than the schema (it lists only england|scotland and madrid|cataluna while the enum also includes wales and northern-ireland), so it does not meaningfully exceed the schema's own documentation.

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+resource ('net salary after income tax and social contributions') with an explicit scope (ten named countries) and provenance (LifeByNumbers calculators). An agent can distinguish it from rate-lookup siblings like uk_rates_lookup or get_fact without opening the schema.

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?

Implicitly tells the agent this is the tool for take-home pay questions and clarifies which optional parameters apply per country (US state/filingStatus, CA province, UK region, ES region). However, it never says when to prefer this over siblings such as uk_rates_lookup, nor states exclusions or preconditions, so selection remains partly inferential.

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.