Skip to main content
Glama

Localize a salary for fair pay across borders

localize_salary
Read-onlyIdempotent

Convert a base salary from a home country into a cost-of-living-fair local equivalent: S_local = S_base × (I_target / I_home), where I is a US-relative price level. Omit target to receive a localized salary matrix across every country in the source — useful for pricing one offer across many markets. Returns USD purchasing-power equivalents, not currency-converted amounts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
baseYesBase annual salary in the home country (USD-denominated).
homeYesISO 3166-1 alpha-2 home country code the base salary is expressed in (case-insensitive).
sourceNoPPP dataset to draw figures from. Defaults to 'consensus' if omitted.consensus
targetNoOptional ISO 3166-1 alpha-2 target country code. Omit to localize across all countries in the source.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
homeNo
inputNo
sourceNo
resultsNo

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already carry the safety profile (readOnlyHint=true, idempotentHint=true, destructiveHint=false), so the bar is lower. The description adds value beyond annotations by disclosing the mathematical transformation behavior, the matrix-mode expansion when target is omitted, and the critical non-obvious return trait: 'USD purchasing-power equivalents, not currency-converted amounts.' This prevents a common misuse.

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 dense sentences, each earning its place: the core operation with formula, the batch-mode variation, and the return-semantics clarification. The most decision-relevant information (what it computes and how) is front-loaded, with zero filler words.

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?

Given the output schema exists and annotations are rich, the description need not explain return structures or safety. It covers the formula, both invocation modes, and return semantics. Minor gaps remain: no guidance on choosing among the 8 source datasets and no edge-case behavior (e.g., home == target), but these are minor for a read-only calculation tool.

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%, so the baseline is 3. The description adds genuine meaning beyond the schema by relating home and target through the ratio (I_target / I_home), giving the agent a conceptual model of how the parameters interact. The omit-target behavior is somewhat redundant with the schema's target description, but the formula is a real increment.

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 states a specific verb ('Convert') + resource ('base salary') + purpose ('cost-of-living-fair local equivalent'), backed by the exact formula S_local = S_base × (I_target / I_home). It differentiates itself from close siblings like calculate_ppp and calculate_wage_bands by clarifying it returns salary equivalents, not indices or bands, and explicitly notes it is not a currency conversion.

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?

The description gives clear context for the two modes: single-target conversion versus omitting target to 'receive a localized salary matrix across every country' with the use case 'pricing one offer across many markets.' However, it does not name sibling alternatives (e.g., calculate_ppp, calculate_wage_bands) or state when-not-to-use, so routing between related tools is left to inference.

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.

TDQS

A3.9/5.0
Disambiguation3/5

Several tools occupy adjacent territory: check_travel_residency explicitly supersedes check_residency, check_schengen, and check_tax_residency_risk, and the cost-of-living family (arrival_cost, compare_total_cost, compare_housing, estimate_micro_costs, calculate_ppp, localize_salary) has overlapping price-level concepts. The detailed descriptions mostly clarify boundaries, but an agent selecting by name alone could easily pick the wrong residency or cost tool.

Naming Consistency4/5

Most tools follow a clean verb_noun snake_case pattern with recognizable prefixes (compare_*, check_*, find_*, calculate_*), which makes the set predictable. Deviations like arrival_cost, passport_power, required_rate, and the acronym-heavy calculate_ppp keep it from being perfectly uniform.

Tool Count3/5

26 tools is a heavy surface, and at least three of the check_* tools are explicitly superseded by check_travel_residency, adding redundant weight. The broad geo-arbitrage/nomad domain justifies much of the breadth, but the set feels closer to a full toolkit than a focused server.

Completeness4/5

The toolset covers the core remote-work and geo-arbitrage decision space: cost of living, purchasing power, tax residency risk, nomad visas, housing, healthcare, climate, connectivity, holidays, salary localization, FIRE, livability, and even team timezone planning. Gaps are minor—no family-size cost tool, no immigration/citizenship pathway data, and no dedicated safety/crime dataset beyond the livability composite—but agents can work around them.

Resources