Skip to main content
Glama
Crawlora MCP

Crawlora MCP

Official

levelsfyi_histogram

Read Levels.fyi pay distributions by job family and location, returning sample counts, 20 pay buckets, and percentiles for total compensation, base salary, stock, and bonus.

Instructions

Read the Levels.fyi pay distribution for a job family and location. Returns the published pay distribution for one job family in one location: the source's total sample count, its 20 value buckets with the count in each, and the percentile sets it publishes for total compensation, base salary, stock grant and bonus separately. Percentiles the source does not publish for a component stay absent rather than becoming zero. Pass a job_family_slug from levelsfyi-job-families and a location_slug from levelsfyi-locations; the location is required and a location the source has no distribution for is a not-found.

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>",
      "location_slug": "<location_slug>"
    },
    "name": "levelsfyi_histogram"
  }
}

Input Schema

NameRequiredDescriptionDefault
location_slugYesLocation slug from levelsfyi-locations
job_family_slugYesJob family slug from levelsfyi-job-families

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.17.28

TDQS

A4.1/5.0
Behavior5/5

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

No annotations exist, so the description carries the full burden, and it does so well: it explains that this is a read, spells out the return payload (total sample count, 20 buckets with per-bucket counts, separate percentile sets for total compensation, base salary, stock, and bonus), and discloses the non-obvious null semantics ('percentiles the source does not publish … stay absent rather than becoming zero'), plus not-found behavior.

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 that are front-loaded: the purpose comes first, then the return shape, then parameter sourcing and errors. Dense but every clause carries information; the enumeration of the four percentile components is necessary for understanding the payload.

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 no output schema and no annotations, the description supplies what the agent otherwise lacks: payload structure, missing-value semantics, and error behavior for an unmatched location. Nothing essential to calling or interpreting the result is left unstated.

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 both slugs are already documented as coming from levelsfyi-locations and levelsfyi-job-families; the description largely restates that. It adds only the requiredness of location and the not-found consequence for an unmatched location, which is a marginal gain over the schema.

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?

States a specific verb and resource: 'Read the Levels.fyi pay distribution for a job family and location,' and then defines exactly which distribution the tool returns. It's clear that the tool reads one distribution and filters it by job family and location, but it never names which siblings to use instead, such as levelsfyi_salaries or levelsfyi_job_titles, so the agent must infer that distinction.

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?

Gives concrete prerequisites: pass a job_family_slug from levelsfyi-job-families and a location_slug from levelsfyi-locations, and warns that a location with no distribution returns not-found. It does not say when to prefer this tool over levelsfyi_salaries or when the histogram is the wrong granularity, so exclusion guidance is missing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools