Skip to main content
Glama
Crawlora MCP

Crawlora MCP

Official

levelsfyi_locations

Resolve Levels.fyi location slugs into numeric IDs, country codes, currencies, and coordinates so you can obtain country_id and location_slug required by salary and histogram tools.

Instructions

Resolve Levels.fyi location slugs to ids and currency. Resolves one to twenty Levels.fyi location slugs into their numeric id, type, display name, latitude and longitude when published, state and ISO country code, country name, local currency and default salary interval. Use it to discover the country_id that levelsfyi-salaries and levelsfyi-top-companies accept, and the location_slug that levelsfyi-histogram requires. Unknown slugs are rejected by the source wholesale rather than partially resolved, so a 404 means none of the supplied slugs exists.

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": {
      "slugs": "<slugs>"
    },
    "name": "levelsfyi_locations"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugsYesComma-separated location slugs, up to 20, for example united-states

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.17.28

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses the 1-20 slug batch limit, that latitude/longitude are only present 'when published', and critically that resolution is atomic — unknown slugs are rejected wholesale and a 404 means none of the supplied slugs exist. That all-or-nothing failure mode is exactly the kind of behavior an agent cannot infer from schema or annotations.

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-loaded with the core action and the return payload, then the routing guidance, then the failure semantics — a sensible order. The opening sentence and the following 'Resolves one to twenty Levels.fyi location slugs into...' partially restate each other, and the return-field enumeration is dense, though it is justified by the absence of an output schema.

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?

No output schema exists, and the description compensates by listing the returned fields and noting which are conditional. No annotations exist, and the description compensates with batch limits and the wholesale-rejection/404 behavior. For a one-parameter lookup tool, nothing an agent needs in order to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Single parameter with 100% schema description coverage, so the baseline is 3. The description adds one genuinely useful nuance — that slugs are resolved atomically, so one bad slug fails the whole batch — but this is framed as tool behavior rather than parameter guidance, and it does not explain what a valid slug looks like versus a display name or numeric id.

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 ('Resolve Levels.fyi location slugs to ids and currency') and enumerates the returned fields (id, type, display name, lat/long, state, ISO country code, country name, currency, salary interval). The final sentence ties it to concrete consumers (levelsfyi-salaries, levelsfyi-top-companies, levelsfyi-histogram), so an agent can place it among the location-related siblings.

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?

Gives explicit when-to-use guidance by naming the downstream tools and the exact field each needs: country_id for levelsfyi-salaries and levelsfyi-top-companies, location_slug for levelsfyi-histogram. This is a routing instruction, not just a purpose statement, and leaves little to inference.

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