Skip to main content
Glama

fx_ppp

Read-only

Purchasing power parity: cost-of-living equivalent between two countries — Converts an amount of one country's local currency into the purchasing-power equivalent in another country (World Bank private-consumption PPP, GDP PPP fallback) and compares it with the market-rate conversion, giving the relative price level (e.g. prices in India are ~23% of US levels). For salary, pricing and cost-of-living comparisons. World Bank WDI (CC BY 4.0); annual, lags 1-2 years. Params: from, to (ISO 2- or 3-letter country codes, e.g. US, IN); optional amount (local currency of from, default 100). Price: $0.003 USDC (Base, via x402).

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "fx_ppp"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesIN
fromYesUS

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only cover the safety profile (readOnly, openWorld, non-destructive), and the description adds substantial extra context: data source and license (World Bank WDI, CC BY 4.0), update cadence (annual), known staleness (lags 1-2 years), and per-call cost ($0.003 USDC via x402). Those are exactly the operational facts an agent needs before deciding to call and how to caveat the result.

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?

Front-loaded with the core definition and the output example, then compactly packs source, cadence, params and price into a short block. Some phrasing is dense (em-dash chain plus parenthetical fallback note), but no sentence is filler.

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?

With no output schema, the description carries the return-value burden and does so: the converted PPP amount, the market-rate comparison, and the relative price level with a concrete example. Data provenance and lag are disclosed too. The one gap is the phantom `amount` parameter versus a schema that only accepts from/to, which leaves the call signature slightly incoherent.

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?

The description does add real meaning over the bare schema: country codes are ISO 2- or 3-letter (schema only shows example values 'US'/'IN'), and it explains that amount is in the 'from' country's local currency with a default of 100. However, it advertises an optional `amount` parameter that is entirely absent from the input schema, which could lead an agent to pass an unsupported argument; that inconsistency offsets the added detail.

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 precise verb+resource: converts an amount of one country's local currency into the purchasing-power equivalent in another, using World Bank private-consumption PPP with GDP PPP fallback. It even specifies the comparison output (relative price level, e.g. India ~23% of US). It does not, however, contrast itself with the sibling econ_ppp, so an agent must infer which PPP tool applies.

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 clear usage context: 'For salary, pricing and cost-of-living comparisons.' That tells the agent when the tool is appropriate. It offers no exclusions and names no alternative for straight market-rate conversion (e.g. fx_currency/fx_convert_historical), so the boundary with sibling tools is left implicit.

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