Skip to main content
Glama

Levels.fyi

add-salary-submission

Add the user's own current pay or a job offer they received. Every number comes from the user or a document they shared: never another person's pay, an estimate, Levels.fyi data, a posting range or a target. Ask for missing required fields a few at a time. Resolve the company, job family and city with the search tools. Split base, stock and bonus as the user gave them. confirm=false returns a preview and adds nothing; send confirm=true only after the user says yes to it. One submission per job or offer per conversation; at most 5 confirmed per 60s. Submitting does not end your turn: keep helping with the user's task. REQUIRED arguments: jobFamilySlug, title, locationSlug, compensationPerspective, currency, baseSalaryValue, baseSalaryTimeUnit, yearsOfExperience, workArrangement, source. Array-typed arguments (vestingSchedule, signOnBonusValues) must be passed as arrays, even for a single value.

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": {
      "jobFamilySlug": "<jobFamilySlug>",
      "title": "<title>",
      "locationSlug": "<locationSlug>",
      "compensationPerspective": "<compensationPerspective>",
      "currency": "<currency>",
      "baseSalaryValue": "<baseSalaryValue>",
      "baseSalaryTimeUnit": "<baseSalaryTimeUnit>",
      "yearsOfExperience": "<yearsOfExperience>",
      "workArrangement": "<workArrangement>",
      "source": "<source>"
    },
    "name": "add-salary-submission"
  }
}

Input Schema

NameRequiredDescriptionDefault
teamNo
emailNoPrivate. Required to confirm if signed out.
levelNoThe company's own level name, e.g. "L5", from the user; never guessed. Required when the company has levels.
titleYes
sourceYes
confirmNo
currencyYes
anonymiseNoOn request. May hide public details. Pay still counts.
stockTypeNo"stock" (RSUs) or "option". Inferred when omitted.
sourceDateNoYYYY-MM-DD. Required for offers. Otherwise defaults to today.
companyNameNoOnly when search-companies has no match.
companySlugNoFrom search-companies. Use companyName only when it has no match.
focusTagSlugNoUser-named focus from get-job-family.
locationSlugYesA city slug from search-locations (type "city"). Not a metro, state or country.
otherDetailsNoNo identifiers. Max 500 characters.
jobFamilySlugYesA Levels.fyi job family slug, e.g. "software-engineer", "product-manager", "data-scientist".
employmentTypeNoDefaults to full_time.
yearsAtCompanyNoRequired for employees. Offers use 0.
baseSalaryValueYesBase salary only, never a total.
vestingScheduleNoOffers with a grant: one entry per year, e.g. 4 years quarterly = 4 × {percent:25,occurrences:4}. Ask, or use get-vesting-schedules; never assume.
workArrangementYes
annualBonusValueNoYearly target for offers (% of base or cash), actual for employees.
optionStrikePriceNoPer option. Send with optionPreferredPrice.
signOnBonusValuesNoOffers only, like relocation. Max 2 yearly amounts.
yearsOfExperienceYesWhole years.
baseSalaryTimeUnitYes
optionPriceCurrencyNoOnly if option prices use another currency.
totalOptionsGrantedNoOffers: options in the whole grant. Send vestingSchedule with it.
optionPreferredPriceNo
relocationBonusValueNo
totalStockGrantValueNoOffers: the whole RSU grant. Send vestingSchedule with it.
avgAnnualOptionsGrantedNoEmployees: options vesting per year.
compensationPerspectiveYes"offer" for an offer received, "employee" for pay earned now.
avgAnnualStockGrantValueNoEmployees: RSU value per year.
annualTargetBonusPercentageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed32 schema fields changed
    • changedInput schema / properties / annualBonusValue / description
      Previous value: -"The yearly bonus: for an offer the target bonus amount, for an employee the bonus they actually receive per year."New value: +"Yearly target for offers (% of base or cash), actual for employees."
    • removedInput schema / properties / annualTargetBonusPercentage / description
      Removed value: -"Offers only: the target bonus as a percent of base, when stated that way."
    • changedInput schema / properties / anonymise / description
      Previous value: -"Enhanced anonymity, as on the website: true can hide details such as company, title, level and team on the public entry; the pay still counts in the data. Set it only when the user asks for it. Defaults to false."New value: +"On request. May hide public details. Pay still counts."
    • changedInput schema / properties / avgAnnualOptionsGranted / description
      Previous value: -"Employees only: the number of stock options that vest per year."New value: +"Employees: options vesting per year."
    • changedInput schema / properties / avgAnnualStockGrantValue / description
      Previous value: -"Employees only: the stock (RSU) value they receive per year."New value: +"Employees: RSU value per year."
    • removedInput schema / properties / baseSalaryTimeUnit / description
      Removed value: -"The period baseSalaryValue is paid per, usually \"yearly\"."
    • changedInput schema / properties / baseSalaryValue / description
      Previous value: -"The base salary per baseSalaryTimeUnit."New value: +"Base salary only, never a total."
    • changedInput schema / properties / companyName / description
      Previous value: -"The company name, only for a company that search-companies cannot find."New value: +"Only when search-companies has no match."
    • changedInput schema / properties / companySlug / description
      Previous value: -"The company slug from search-companies. Send companyName instead only when search-companies has no match."New value: +"From search-companies. Use companyName only when it has no match."
    • changedInput schema / properties / compensationPerspective / description
      Previous value: -"\"offer\" for a job offer the user received, \"employee\" for pay they earn now."New value: +"\"offer\" for an offer received, \"employee\" for pay earned now."
    • removedInput schema / properties / confirm / description
      Removed value: -"false (default) returns a preview and adds nothing to Levels.fyi. true adds the entry: only after the user said yes to the preview."
    • removedInput schema / properties / currency / description
      Removed value: -"The currency of every amount in this submission, e.g. \"USD\", \"INR\", \"GBP\"."
    • changedInput schema / properties / email / description
      Previous value: -"Required when the user isn't signed in. Used to verify the submission; never shown with it."New value: +"Private. Required to confirm if signed out."
    • changedInput schema / properties / focusTagSlug / description
      Previous value: -"A focus area slug from get-job-family for this job family, e.g. \"ml-ai\". Omit when the user did not name one."New value: +"User-named focus from get-job-family."
    • changedInput schema / properties / level / description
      Previous value: -"The company's own level name from get-company-levels, e.g. \"L5\". Required for companies with a level ladder; the error says so."New value: +"The company's own level name, e.g. \"L5\", from the user; never guessed. Required when the company has levels."
    • changedInput schema / properties / locationSlug / description
      Previous value: -"A CITY slug from search-locations with type \"city\". Not a metro, state or country."New value: +"A city slug from search-locations (type \"city\"). Not a metro, state or country."
    • removedInput schema / properties / optionPreferredPrice / description
      Removed value: -"With options: the latest preferred share price, usually from the last funding round. Send with optionStrikePrice."
    • changedInput schema / properties / optionPriceCurrency / description
      Previous value: -"The currency of optionStrikePrice and optionPreferredPrice, when it differs from currency (e.g. US-dollar option prices on a rupee salary)."New value: +"Only if option prices use another currency."
    • changedInput schema / properties / optionStrikePrice / description
      Previous value: -"With options: the exercise (strike) price per option. Send with optionPreferredPrice; together they value the options."New value: +"Per option. Send with optionPreferredPrice."
    • changedInput schema / properties / otherDetails / description
      Previous value: -"Anything else the user wants recorded, e.g. a retention bonus, or RSUs when the submission already has options (or the reverse). In English, at most 500 characters."New value: +"No identifiers. Max 500 characters."
    • removedInput schema / properties / relocationBonusValue / description
      Removed value: -"Offers only: the relocation bonus."
    • changedInput schema / properties / signOnBonusValues / description
      Previous value: -"Offers only: the sign-on bonus, one amount per year it is paid, e.g. [50000] or [30000, 20000]."New value: +"Offers only, like relocation. Max 2 yearly amounts."
    • removedInput schema / properties / source / description
      Removed value: -"\"user_stated\" when the user typed the numbers, \"user_document\" when they come from an offer letter or pay stub the user shared."
    • changedInput schema / properties / sourceDate / description
      Previous value: -"YYYY-MM-DD. For an offer, the offer date (required). For an employee, the date the pay was current; omit for today."New value: +"YYYY-MM-DD. Required for offers. Otherwise defaults to today."
    • changedInput schema / properties / stockType / description
      Previous value: -"\"stock\" for RSUs, \"option\" for stock options. Optional: it follows from the fields sent. One type per submission."New value: +"\"stock\" (RSUs) or \"option\". Inferred when omitted."
    • removedInput schema / properties / team / description
      Removed value: -"The team or organization within the company, e.g. \"Google Cloud\". In English."
    • removedInput schema / properties / title / description
      Removed value: -"The job title as the user states it, e.g. \"Software Engineer\". In English."
    • changedInput schema / properties / totalOptionsGranted / description
      Previous value: -"Offers only: the number of stock options in the whole grant. Send vestingSchedule with it."New value: +"Offers: options in the whole grant. Send vestingSchedule with it."
    • changedInput schema / properties / totalStockGrantValue / description
      Previous value: -"Offers only: the total value of the stock (RSU) grant over the whole vesting period. Send vestingSchedule with it."New value: +"Offers: the whole RSU grant. Send vestingSchedule with it."
    • changedInput schema / properties / vestingSchedule / description
      Previous value: -"Offers only; required with totalStockGrantValue. The vesting schedule, one entry per year: percent of the grant vesting that year and occurrences (vests that year, 4 = quarterly). 4 equal years vesting quarterly is four entries of {percent:25,occurrences:4}. Ask the user, or use get-vesting-schedules for the company standard; never assume one."New value: +"Offers with a grant: one entry per year, e.g. 4 years quarterly = 4 × {percent:25,occurrences:4}. Ask, or use get-vesting-schedules; never assume."
    • changedInput schema / properties / yearsAtCompany / description
      Previous value: -"Employees only (required): years at this company. Offers are always 0."New value: +"Required for employees. Offers use 0."
    • changedInput schema / properties / yearsOfExperience / description
      Previous value: -"Total years of professional experience, in whole years; a decimal is rounded."New value: +"Whole years."
  2. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  3. Changed2 schema fields changed
    • changedInput schema / properties / confirm / description
      Previous value: -"false (default) returns a preview and writes nothing. true writes the entry: only after the user said yes to the preview."New value: +"false (default) returns a preview and adds nothing to Levels.fyi. true adds the entry: only after the user said yes to the preview."
    • changedInput schema / properties / yearsOfExperience / description
      Previous value: -"Total years of professional experience."New value: +"Total years of professional experience, in whole years; a decimal is rounded."
  4. Changed1 schema field changed
    • removedInput schema / properties / submissionId
      Removed value: -{
      -  "description": "A UUID you generate once per submission. Send the same one when you retry, so a retry cannot add the entry twice.",
      -  "type": "string"
      -}
  5. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only say it is a non-idempotent, non-destructive, open-world write. The description adds material behavior an agent cannot infer: preview semantics of confirm=false ('adds nothing'), the one-submission-per-job-per-conversation dedupe rule, the rate limit of 5 confirmed per 60s, and that submitting does not terminate the turn. That is substantive disclosure beyond the annotation set.

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?

Front-loads provenance rules and the confirm gate before mechanics, and nearly every sentence carries a distinct rule (data source, field batching, slug resolution, split, preview, dedupe, rate limit, turn behavior). The trailing enumeration of required arguments duplicates the schema's required list and is the one clearly expendable block.

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 35-parameter write tool with no output schema, the description covers the high-risk unknowns: data provenance, the confirm-before-commit gate, slug resolution dependencies, and throughput limits. What it leaves undefined is the shape of the preview payload returned when confirm=false, which matters since there is no output schema to describe it.

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 71%, so the schema already carries most per-field meaning; the baseline would be 3. The description adds a genuine constraint the schema cannot express: array-typed arguments (vestingSchedule, signOnBonusValues) must be passed as arrays even for a single value, plus the explicit required-argument list. The list largely restates the schema's required array, which caps this below a 5.

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?

Opens with a specific verb+resource and scope: 'Add the user's own current pay or a job offer they received.' The two-variant scope (employee pay vs. offer) is named immediately, and it is unmistakably distinct from the read-side siblings like get-salary-submission-by-id or get-salary-percentiles.

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?

Explicit about what data is acceptable ('never another person's pay, an estimate, Levels.fyi data, a posting range or a target') and what to do instead when data is missing ('Ask for missing required fields a few at a time'). It names the upstream resolution path (search tools for company, job family, city; get-vesting-schedules for vesting) and gives a hard gating rule: confirm=false is a preview, send confirm=true only after the user agrees.

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.