Skip to main content
Glama

get pay range

get_pay_range
Read-onlyIdempotent

Summarize posted yearly pay (USD) for the roles the user is searching for, from their job scans and tracked roles: low, median and high, how many postings it's from, last week's median when it's comparable, and a few roles hiring now with their pay. Use it for salary questions about the search as a whole; one role's pay is on its posting. With a role (a goal role, like Head of Product), it answers for postings titled for that role instead: the count, the months they're from and the range, in one line to quote as it is. Read-only. With too few postings that list pay, it says so and gives Glassdoor's estimate when there is one: always call that a Glassdoor estimate with its sample size and date, never posted 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_range"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNoA role to answer for, like the user's goal role (Head of Product); leave empty for the roles they search for

Output Schema

NameRequiredDescriptionDefault
textYesThe answer, or what was done, in plain words for the user: the same text as content
undoNoOn a saved write: its undo handle, for undo within 24 hours
widgetNoThe card the host draws with it, e.g. "pipeline"; "confirm" means a write waits for the user's Yes and nothing is saved yet

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / role
      Added value: +{
      +  "description": "A role to answer for, like the user's goal role (Head of Product); leave empty for the roles they search for",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent/closed-world, and the description goes well beyond them: it discloses the sparse-data fallback to a Glassdoor estimate with sample size and date, the mandated labeling ("never posted pay"), the conditional last-week median, and the exact one-line quoting format. These are operational facts an agent could not get from the structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is dense and mostly earns its place, but the sentences are long colon-and-dash constructions that require re-reading, and the ordering sets up the "search as a whole" rule before partially walking it back with the role mode. "Read-only" restates the annotation rather than adding anything.

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?

Given an output schema exists, return structure need not be spelled out, yet the description still covers edge cases (too few postings, missing Glassdoor data) and quoting requirements thoroughly. The only gap is the boundary between the aggregate search mode and the role mode, which is stated but not fully reconciled.

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 100% and there is only one optional parameter, so the baseline is 3; the description adds real meaning by defining `role` as a goal role like "Head of Product" and explaining that empty means the roles the user searches for. It also tells the agent that supplying `role` changes the returned shape (count, months, range, one quotable line), which the schema does not convey.

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 resource and verb: summarizing posted yearly pay (USD) as low/median/high, with posting count, last week's comparable median, and a few hiring roles. It explicitly distinguishes two operating modes — whole-search versus a named role — so an agent knows exactly what the tool answers.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It states the primary trigger ("salary questions about the search as a whole") and redirects the single-posting case elsewhere ("one role's pay is on its posting"). The role-parameter mode is then introduced as a counter-case, which slightly muddies the earlier "search as a whole" rule, but the alternatives are named rather than left to inference.

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.

Resources