Skip to main content
Glama

Levels.fyi

get-metric-explanation

Read-only

Explain a Levels.fyi compensation metric or concept (e.g. "TC" / total_compensation, base salary, total_cash, tc_first_year, vesting, sign_on, target_bonus) — its meaning, formula, and caveats. Pass an unknown metric to get the list of known ones. REQUIRED arguments: metric.

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": {
      "metric": "<metric>"
    },
    "name": "get-metric-explanation"
  }
}

Input Schema

NameRequiredDescriptionDefault
metricYesCompensation metric or concept to explain, e.g. "TC", "total_compensation", "base", "vesting", "sign_on", "tc_first_year". Case/separator-insensitive.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so the safety profile is covered. Beyond that, the description discloses a genuinely non-obvious behavior — unrecognized input degrades gracefully into a known-metric listing — which prevents the agent from treating a bad value as a hard failure. It stops short of saying what form the explanation takes (text, formula string, caveat list).

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?

Two sentences, front-loaded with the purpose before the fallback hint; nothing is buried. The parenthetical example list partially duplicates the examples already present in the schema's metric description, which is the only waste.

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?

For a single-parameter, non-destructive lookup with full schema coverage and no output schema, the description covers purpose, example inputs, and the unknown-value fallback — enough to call it correctly. It could note that the output is explanatory prose rather than structured data, which matters for downstream use.

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 coverage is 100%, and the description's example list and 'REQUIRED arguments: metric' largely restate what the schema already says. The one addition beyond the schema is the semantics of an invalid value (returns the list of known ones), which is genuinely useful but is behavioral rather than parameter-descriptive. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

The description uses a specific verb ('Explain') with a specific resource ('a Levels.fyi compensation metric or concept') and enumerates concrete examples (TC, base salary, vesting, sign_on), so an agent knows exactly what comes back: meaning, formula, caveats. It does not explicitly delineate against overlapping siblings such as get-domain-knowledge or get-vesting-schedules, which keeps it short of a 5.

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 gives clear usage context, including a self-recovery pattern: passing an unknown metric returns the list of known ones, which tells the agent it can safely probe. It does not state when to prefer a sibling like get-domain-knowledge or get-vesting-schedules, so the exclusions half of the guidance is absent.

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.