Skip to main content
Glama

AIGradJobs

Compare offer purchasing power

compare_real_purchasing_power
Read-onlyIdempotent

Compare two positive annual USD offers using US=100 cost-of-living indices; international city values are illustrative assumptions, not live FX. Convert local currencies to USD first.

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": {
      "salary_a": "<salary_a>",
      "city_a": "<city_a>",
      "salary_b": "<salary_b>",
      "city_b": "<city_b>"
    },
    "name": "compare_real_purchasing_power"
  }
}

Input Schema

NameRequiredDescriptionDefault
city_aYes
city_bYes
salary_aYes
salary_bYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare this is a safe, idempotent read with no side effects, so the description focuses on output trustworthiness: it discloses that cost-of-living indices are assumed values rather than live FX rates. That is genuinely useful, but it says nothing about how the comparison is computed or how ties/edge cases are handled beyond what the output schema covers.

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, no filler, with the method and the currency precondition front-loaded before the caveat. Dense but readable; the index-scale notation is slightly terse but appropriate for an analyst-facing tool.

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 4-required-param comparison tool with an output schema and full read-only annotations, the description supplies the method, input preconditions, and a data-reliability caveat. The main residual gap is city input format, which is not addressed anywhere in the definition.

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?

With 0% schema description coverage, the description must carry parameter meaning. It clarifies the unit and domain of the salary inputs (positive, annual, USD) and that city inputs drive cost-of-living index lookup, but leaves the expected city string format (city only, city+state, country) unspecified for both city_a and city_b.

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?

States a specific verb (compare) and resource (two annual USD offers' purchasing power) plus the method used (US=100 cost-of-living indices). It does not differentiate itself from siblings like get_market_salary_benchmark, but the comparison-of-two-offers framing is distinctive enough that an agent can identify the job.

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?

Gives a clear precondition (salaries must already be positive annual USD amounts, so convert local currencies first) and a scope caveat (international city index values are illustrative assumptions). It stops short of naming when-not-to-use or an alternative tool, so it is strong context rather than full routing guidance.

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.

Resources