Skip to main content
Glama

Pay and salaries for a job and place

get_pay
Read-onlyIdempotent

Data tool for builders: raw advertised-pay percentile rows (p10-p90) by period for an occupation code and GWIX location or company ID, for a specific figure or data to build on. Not for answering a person's question about a job: use ask_gwix for that, which combines these rows with official statistics. Advertised pay percentiles (p10-p90) from job ads, by period, for an occupation, company, industry and place, with optional change over time and market benchmarks. Pay is advertised pay, not actual pay.

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": "get_pay"
  }
}

Input Schema

NameRequiredDescriptionDefault
splitNo'brand' with parent_company_id or ticker: one row set per brand.
soc_idNoSOC 2018 occupation IDs, e.g. soc_29-1141 (geography and job level only).
tickerNoStock ticker, e.g. MAR: the listed company's whole group.
compareNoAdd change vs the previous period or 12 months earlier.
countryNoISO 3166-1 alpha-2 country, e.g. US, GB. Required unless location_id is given.
role_idNoGWIX role IDs (rol_...).
currencyNoUSD (default) or each country's own currency.
intervalNoPeriod type. Default month; prefer quarter or year for pay.
pay_unitNo
benchmarkNonational, local, industry, local_industry (needs an occupation filter).
company_idNoBrand-level company IDs (cmp_...), from find_id type company.
end_periodNoLast period label. Default: the latest complete period.
industry_idNo4-digit NAICS industry groups, comma-separated, or a 2- or 3-digit sector prefix ending in * (52*, 622*) for all groups under it. get_postings adds a summed row for the prefix; get_pay gives each group only.
location_idNoCountry (US), state (US-CO) or metro (mtr_...) IDs, from find_id type location. Use this or country.
percentilesNoSubset of p10,p25,p50,p75,p90.
job_level_idNolvl_entry, lvl_intermediate or lvl_senior; absent = all levels.
start_periodNoFirst period label, e.g. 2026-Q2, 2026-03, 2025. Default: the latest complete period.
job_family_idNoJob family IDs (jfm_...), from find_id type job_family.
occupation_codeNoOccupation codes as <system>:<code>, comma-separated: soc_2018:15-1252, isco_08:2512, esco:2512.4, onet_soc:15-1252.00, soc_2010:15-1132. Returns one row set per SOC 2018 occupation the code maps to.
parent_company_idNoUltimate parent company ID (cmp_...): the whole group.
sub_job_family_idNoSub-job family IDs (sjf_...), from find_id type sub_job_family.
benchmark_industry_idNo4-digit NAICS for industry benchmarks.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / industry_id / description
      Previous value: -"4-digit NAICS industry groups, comma-separated."New value: +"4-digit NAICS industry groups, comma-separated, or a 2- or 3-digit sector prefix ending in * (52*, 622*) for all groups under it. get_postings adds a summed row for the prefix; get_pay gives each group only."
  2. Changed4 schema fields changed
    • changedInput schema / properties / company_id / description
      Previous value: -"Brand-level company IDs (cmp_...), from lookup type company."New value: +"Brand-level company IDs (cmp_...), from find_id type company."
    • changedInput schema / properties / job_family_id / description
      Previous value: -"Job family IDs (jfm_...), from lookup type job_family."New value: +"Job family IDs (jfm_...), from find_id type job_family."
    • changedInput schema / properties / location_id / description
      Previous value: -"Country (US), state (US-CO) or metro (mtr_...) IDs, from lookup type location. Use this or country."New value: +"Country (US), state (US-CO) or metro (mtr_...) IDs, from find_id type location. Use this or country."
    • changedInput schema / properties / sub_job_family_id / description
      Previous value: -"Sub-job family IDs (sjf_...), from lookup type sub_job_family."New value: +"Sub-job family IDs (sjf_...), from find_id type sub_job_family."
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's job is to add semantics, and it does: 'Pay is advertised pay, not actual pay' is a critical caveat that prevents misreading results, and the industry_id note explains that get_pay returns one row per group rather than a summed prefix row. It stops short of describing row shape, default behavior when no filter is supplied, or row counts/pagination.

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 purpose and the exclusion are front-loaded and the critical 'advertised pay, not actual pay' caveat sits last, which is reasonable. However, the middle sentence largely restates the opening clause (percentiles p10-p90, by period, occupation/place), adding repetition rather than new information.

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 a 22-parameter, zero-required-parameter tool with no output schema, the description covers what is returned, the currency of the metric, and the main alternative. The remaining gap is that it never explains behavior with no filters (all occupations? latest period only?) or the shape of the row set, which matters when a call can succeed without any constraint.

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 95% and the schema itself is unusually detailed (occupation_code formats, industry prefix patterns, benchmark options), so the baseline is 3. The description adds only light mapping ('optional change over time and market benchmarks' pointing at compare and benchmark) and does not clarify interactions among the 22 optional filters or what happens when none is given.

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 names a specific verb and resource: it returns raw advertised-pay percentile rows (p10-p90) by period for an occupation code and a GWIX location or company ID. It also states the audience/purpose ('for a specific figure or data to build on') and explicitly names the sibling it is not (ask_gwix), so an agent can distinguish it from question-answering tools 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit exclusion with a redirect: 'Not for answering a person's question about a job: use ask_gwix for that, which combines these rows with official statistics.' It also states the positive case, raw figures or data to build on, which draws the line between this tool and the aggregate-report siblings.

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.