Skip to main content
Glama

levelsfyi_company_default_country

Read-only

Returns the country id, slug, name and currency that Levels.fyi defaults one company's salary views to. Use the country id with levelsfyi_salaries or levelsfyi_top_companies to read the company in its home market. Pass a 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, for example google

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds value beyond that by enumerating the returned fields and disclosing the not-found behavior for unknown slugs — genuine behavioral context an agent needs. It stops short of explaining why idempotentHint=false (e.g. that the default can change), which would have closed the loop.

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 short sentences, front-loaded with the return contract, then the downstream usage, then the input contract. Every sentence carries distinct information and nothing is repeated from the 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?

For a single-parameter read-only lookup with an output schema present, the description covers what it returns, where the input comes from, how to use the result, and what happens on failure. 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.

Parameters4/5

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

Schema coverage is 100% and the schema already gives an example ('google'), so the baseline would be 3. The description earns more by specifying the provenance of the slug (from levelsfyi_company_search) and the consequence of an invalid slug, which the schema does not say.

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 opens with a concrete verb and resource: it 'Returns the country id, slug, name and currency that Levels.fyi defaults one company's salary views to.' That names both the output fields and the scoping rule (per-company default), which no sibling name alone would convey.

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?

It explicitly routes the agent: use the returned country id with levelsfyi_salaries or levelsfyi_top_companies, and source the slug from levelsfyi_company_search. It also states the failure mode ('an unknown slug is a not-found'), so both the happy path and the error case are covered.

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.