Skip to main content
Glama

levelsfyi_salaries

Read-only

Returns the newest published Levels.fyi salary submissions for one job family, with company, level, title, years of experience, offer date, location with country and DMA ids, work arrangement, base salary, total compensation, currency and exchange rate, plus the source's redaction flags. Start from levelsfyi_job_families for job_family_slug; country_ids from levelsfyi_locations, currency from levelsfyi_currencies, company_slug from levelsfyi_company_search and focus_tag_slug from levelsfyi_focus_tags each narrow the set. Only the newest 1 to 20 rows are served because the source accepts no other offset and caps limit at 20, so total greater than count means more submissions exist without a follow-up page.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "job_family_slug": "<job_family_slug>"
    },
    "name": "levelsfyi_salaries"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRows to return, 1 to 20; defaults to 20
currencyNoISO-4217 currency code from levelsfyi-currencies used to convert the published compensation; defaults to USD
country_idsNoComma-separated country ids from levelsfyi-locations, for example 254 for United States; omit for no country filter
company_slugNoRestrict to one company slug from levelsfyi-company-search
focus_tag_slugNoRestrict to one focus tag slug from levelsfyi-focus-tags; an unknown tag is an honest empty result
job_family_slugYesJob family slug from levelsfyi-job-families, for example software-engineer

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / company_slug / description
      Previous value: -"Restrict to one company slug from levelsfyi-companies"New value: +"Restrict to one company slug from levelsfyi-company-search"
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the description's extra value is the pagination constraint: no offset support, a hard limit cap of 20, and the total-vs-count signal for truncation. It also notes the source's redaction flags are surfaced in the result. It stops short of anything on freshness/refresh cadence or upstream availability, so not a full 5.

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 is front-loaded, and the long field enumeration is dense but functional. The slug-provenance sentence partially duplicates schema text, costing some tightness, but there is no filler or hedging language.

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?

Output schema exists, so return-field explanation is optional and the description does not need to carry it. Combined with annotations covering the read-only profile, the definition supplies everything an agent needs: required slug, filter sources, conversion currency, and the exact limits of pagination.

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%, and the schema descriptions already name the originating lookup tool for each slug parameter, so most of the description's parameter text is redundant. The one genuine addition is that the filters "each narrow the set" — i.e. they combine conjunctively — which the schema does not state. That is a small delta over a fully documented schema, matching the baseline-plus-one-idea level.

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 and resource: "Returns the newest published Levels.fyi salary submissions for one job family", then enumerates the returned fields (company, level, years of experience, compensation, currency, redaction flags). This is clearly distinct from sibling lookups like levelsfyi_job_families or levelsfyi_histogram, which supply slugs or aggregates rather than raw submissions.

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?

Explicitly routes the agent to levelsfyi_job_families for the required slug and names the source tool for each optional filter (locations, currencies, company_search, focus_tags). It also sets expectations on when not to expect more data: "only the newest 1 to 20 rows are served ... total greater than count means more submissions exist without a follow-up page."

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.