Skip to main content
Glama

H1b Salary

h1b_salary
Read-onlyIdempotent

Look up real H-1B base salaries for a job title from DOL LCA disclosures, a market wage benchmark backed by actual filed salaries (not estimates). Answers 'what do H-1B software engineers earn at company X / in city Y'. Filter by job title, and optionally by employer, city, and year. Returns salary statistics (count, min / median / average / max) plus a sample of individual records (employer, title, salary, location, dates).

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "city": "SEATTLE",
      "year": 2024,
      "employer": "Meta",
      "job_title": "software engineer"
    },
    "name": "h1b_salary"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoOptional work city, e.g. "SEATTLE" or "NEW YORK".
yearNoFiling year (e.g. 2024). Defaults to the most recent full year.
limitNoMax sample records to return (default 15, max 50).
employerNoOptional employer name to scope to, e.g. "Meta".
job_titleYesJob title to search, e.g. "software engineer", "data scientist". Matched as a substring of the disclosed title.

Output Schema

NameRequiredDescriptionDefault
cityNo
noteNo
yearNo
sampleNo
sourceNo
employerNo
job_titleNo
data_as_ofNo
base_salary_usdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "base_salary_usd": {
      +      "properties": {
      +        "average": {
      +          "type": "number"
      +        },
      +        "count": {
      +          "type": "number"
      +        },
      +        "max": {
      +          "type": "number"
      +        },
      +        "median": {
      +          "type": "number"
      +        },
      +        "min": {
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "city": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "data_as_of": {
      +      "type": "string"
      +    },
      +    "employer": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "job_title": {
      +      "type": "string"
      +    },
      +    "note": {
      +      "type": "string"
      +    },
      +    "sample": {
      +      "items": {
      +        "properties": {
      +          "base_salary": {
      +            "type": "number"
      +          },
      +          "employer": {
      +            "type": "string"
      +          },
      +          "location": {
      +            "type": "string"
      +          },
      +          "start_date": {
      +            "type": "string"
      +          },
      +          "title": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "source": {
      +      "type": "string"
      +    },
      +    "year": {
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "city": "SEATTLE",
      +    "employer": "Meta",
      +    "job_title": "software engineer",
      +    "year": 2024
      +  },
      +  {
      +    "job_title": "data scientist",
      +    "limit": 25
      +  }
      +]
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so safety is covered. The description adds genuinely useful context beyond that: the data provenance (DOL LCA disclosures) and the important caveat that figures are actual filed salaries rather than estimates, plus what the response contains (aggregate stats and a record sample).

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?

Three sentences, front-loaded with the core purpose, source, and return shape, with no filler. The parenthetical '(not estimates)' and the example-question sentence are slightly redundant with adjacent phrasing but still earn their place by clarifying intent.

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 an output schema present and annotations covering the safety profile, the description only needs to establish purpose, source, and filtering, all of which it does. An agent has enough to call it correctly and interpret the result type without further guessing.

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 100%, so the schema already documents all five parameters including the substring matching and the default year. The description restates the same filter set without adding syntax, casing, or matching nuances beyond what the schema provides; the 'limit' parameter is not mentioned at all.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb+resource ('look up real H-1B base salaries') and names the data source (DOL LCA disclosures), so an agent knows exactly what it returns. It does not name or contrast any sibling such as h1b_employer_sponsorship or h1b_top_sponsors, so the differentiation is implicit rather than explicit.

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?

Usage is conveyed indirectly through the example questions ('what do H-1B software engineers earn at company X / in city Y') and the note that job title is required while employer, city, and year are optional. There is no explicit when-to-use / when-not-to-use statement or pointer to the related H-1B siblings, so the agent must infer routing.

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.