Skip to main content
Glama
Crawlora MCP

Crawlora MCP

Official

levelsfyi_company_default_country

Retrieve the default country and currency for a Levels.fyi company to identify its home market, then use the returned country id or slug with salary, histogram, or top-companies tools.

Instructions

Read the country and currency Levels.fyi defaults a company to. Returns the market the source opens a company's salary views in: the country id, country slug, country name and local currency. Use the country id with levelsfyi-salaries or levelsfyi-top-companies, or the slug with levelsfyi-histogram, to read a company in its home market. Pass a company slug from levelsfyi-company-search; an unknown slug 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": {
      "slug": "<slug>"
    },
    "name": "levelsfyi_company_default_country"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesCompany slug from levelsfyi-company-search

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.17.28

TDQS

A4.7/5.0
Behavior4/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 disclose the read-only nature via "Read", the exact return payload, and the not-found failure mode for unknown slugs. It does not mention auth requirements, rate limits, or whether results are cached, which keeps it just short of a 5.

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

Conciseness5/5

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

Three sentences, front-loaded with purpose, then return payload, then usage chaining and error case. No redundant restatement of the tool name and no filler.

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?

There is no output schema, and the description compensates by enumerating the returned fields and the not-found case. For a one-parameter read tool, an agent has everything needed to select and invoke it correctly.

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 already 100% for the single slug parameter, so baseline would be 3; the description adds value by stating the slug's provenance (levels.fyi company search) and what happens when it is invalid. It does not add format details for the slug beyond that.

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 ("Read the country and currency Levels.fyi defaults a company to") and immediately enumerates the returned fields (country id, slug, name, local currency). This clearly separates it from sibling tools like levelsfyi_company or levelsfyi_currencies, which do not resolve a company's default market.

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 prerequisite provenance ("Pass a company slug from levelsfyi-company-search") and explicit downstream routing (country id to levelsfyi-salaries / levelsfyi-top-companies, slug to levelsfyi-histogram). Error behavior for the wrong input ("an unknown slug is a not-found") is also stated, leaving 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