Skip to main content
Glama

We Are Greater Than The Ultrarich

Full Comparison Of Two Wealths

comparison
Read-onlyIdempotent

Complete "them vs. you": runs one expression for both wealths and returns both results plus the ratio between them. Ideal for questions like "how does my net worth compare to a billionaire's?" A ratio.value below 1 means the user's wealth is the larger.

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": {
      "expression": "<expression>",
      "wealthYours": "<wealthYours>",
      "wealthTheirs": "<wealthTheirs>"
    },
    "name": "comparison"
  }
}

Input Schema

NameRequiredDescriptionDefault
rateNogrowthOfCompoundInterest only.
spendNodurationOfDailySpend only: daily spend amount.
periodNogrowthOfCompoundInterest only.
frequencyNogrowthOfCompoundInterest only.
expressionYesWhich expression to compute for both wealths.
typeOfItemNonumberOfItems only. Item slug. Thing to buy or pay off. Choose what fits the question: a year of minimum-wage salary and a superyacht make very different points. One of: fancy_coffee ($10 Fancy Coffee); quick_meal ($15 Quick Meal); dinner_with_drinks ($175 Dinner With Drinks); iphone ($1,400 iPhone); month_of_childcare ($1,750 Month Of Childcare); rent_or_mortgage_payment ($3,000 Rent Or Mortgage Payment); year_of_low_minimum_wage_salary (Year Of Low Minimum Wage Salary ($15,080)); year_of_high_minimum_wage_salary (Year Of High Minimum Wage Salary ($32,240)); student_loan_debt ($40K Student Loan Debt); car ($50K Car); year_of_salary_65k (Year Of $65,000 Salary); year_of_salary_100k (Year Of $100,000 Salary); luxury_car ($275K Luxury Car); house ($500K House); yacht ($800K Yacht); supercar ($4M Supercar); island ($30M Island); mansion ($75M Mansion); estate_with_a_mega_mansion ($200M Estate With A Mega-Mansion); luxury_island ($300M Luxury Island); superyacht ($600M Superyacht)
typeOfMoneyNoheightOfMoneyStack only. Money slug. Denomination to stack, across 11 currencies. Coins stack far higher than bills — pick coins for maximum contrast. The slug's currency overrides any currency given for wealth (no conversion is done). One of: usd_1_coin (Dollar Coins (USD)); usd_100_bill (Hundred-Dollar Bills (USD)); cad_1_coin (Loonies (CAD)); cad_100_bill (Hundred-Dollar Bills (CAD)); eur_1_coin (Euro Coins); eur_100_bill (Hundred-Euro Bills); gbp_1_coin (Pound Coins); gbp_100_bill (Hundred-Pound Bills); cny_1_coin (Yuan Coins); cny_100_bill (Hundred-Yuan Bills); inr_1_coin (Rupee Coins); inr_100_bill (Hundred-Rupee Bills); krw_1_coin (Won Coins); krw_1000_bill (Thousand-Won Bills); rub_1_coin (Ruble Coins); rub_100_bill (Hundred-Ruble Bills); try_1_coin (Lira Coins); try_100_bill (Hundred-Lira Bills); chf_1_coin (Franc Coins); chf_100_bill (Hundred-Franc Bills); brl_1_coin (Real Coins); brl_100_bill (Hundred-Real Bills)
wealthYoursYesThe user's (smaller) wealth.
wealthTheirsYesThe ultrarich (larger) wealth.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed2 schema fields changed
    • changedInput schema / properties / typeOfItem / description
      Previous value: -"numberOfItems only. Item slug. One of: fancy_coffee ($10 Fancy Coffee); quick_meal ($15 Quick Meal); dinner_with_drinks ($175 Dinner With Drinks); iphone ($1,400 iPhone); month_of_childcare ($1,750 Month Of Childcare); rent_or_mortgage_payment ($3,000 Rent Or Mortgage Payment); year_of_low_minimum_wage_salary (Year Of Low Minimum Wage Salary ($15,080)); year_of_high_minimum_wage_salary (Year Of High Minimum Wage Salary ($32,240)); student_loan_debt ($40K Student Loan Debt); car ($50K Car); year_of_salary_65k (Year Of $65,000 Salary); year_of_salary_100k (Year Of $100,000 Salary); luxury_car ($275K Luxury Car); house ($500K House); yacht ($800K Yacht); supercar ($4M Supercar); island ($30M Island); mansion ($75M Mansion); estate_with_a_mega_mansion ($200M Estate With A Mega-Mansion); luxury_island ($300M Luxury Island); superyacht ($600M Superyacht)"New value: +"numberOfItems only. Item slug. Thing to buy or pay off. Choose what fits the question: a year of minimum-wage salary and a superyacht make very different points. One of: fancy_coffee ($10 Fancy Coffee); quick_meal ($15 Quick Meal); dinner_with_drinks ($175 Dinner With Drinks); iphone ($1,400 iPhone); month_of_childcare ($1,750 Month Of Childcare); rent_or_mortgage_payment ($3,000 Rent Or Mortgage Payment); year_of_low_minimum_wage_salary (Year Of Low Minimum Wage Salary ($15,080)); year_of_high_minimum_wage_salary (Year Of High Minimum Wage Salary ($32,240)); student_loan_debt ($40K Student Loan Debt); car ($50K Car); year_of_salary_65k (Year Of $65,000 Salary); year_of_salary_100k (Year Of $100,000 Salary); luxury_car ($275K Luxury Car); house ($500K House); yacht ($800K Yacht); supercar ($4M Supercar); island ($30M Island); mansion ($75M Mansion); estate_with_a_mega_mansion ($200M Estate With A Mega-Mansion); luxury_island ($300M Luxury Island); superyacht ($600M Superyacht)"
    • changedInput schema / properties / typeOfMoney / description
      Previous value: -"heightOfMoneyStack only. Money slug. The slug's currency overrides any currency given for wealth (no conversion is done). One of: usd_1_coin (Dollar Coins (USD)); usd_100_bill (Hundred-Dollar Bills (USD)); cad_1_coin (Loonies (CAD)); cad_100_bill (Hundred-Dollar Bills (CAD)); eur_1_coin (Euro Coins); eur_100_bill (Hundred-Euro Bills); gbp_1_coin (Pound Coins); gbp_100_bill (Hundred-Pound Bills); cny_1_coin (Yuan Coins); cny_100_bill (Hundred-Yuan Bills); inr_1_coin (Rupee Coins); inr_100_bill (Hundred-Rupee Bills); krw_1_coin (Won Coins); krw_1000_bill (Thousand-Won Bills); rub_1_coin (Ruble Coins); rub_100_bill (Hundred-Ruble Bills); try_1_coin (Lira Coins); try_100_bill (Hundred-Lira Bills); chf_1_coin (Franc Coins); chf_100_bill (Hundred-Franc Bills); brl_1_coin (Real Coins); brl_100_bill (Hundred-Real Bills)"New value: +"heightOfMoneyStack only. Money slug. Denomination to stack, across 11 currencies. Coins stack far higher than bills — pick coins for maximum contrast. The slug's currency overrides any currency given for wealth (no conversion is done). One of: usd_1_coin (Dollar Coins (USD)); usd_100_bill (Hundred-Dollar Bills (USD)); cad_1_coin (Loonies (CAD)); cad_100_bill (Hundred-Dollar Bills (CAD)); eur_1_coin (Euro Coins); eur_100_bill (Hundred-Euro Bills); gbp_1_coin (Pound Coins); gbp_100_bill (Hundred-Pound Bills); cny_1_coin (Yuan Coins); cny_100_bill (Hundred-Yuan Bills); inr_1_coin (Rupee Coins); inr_100_bill (Hundred-Rupee Bills); krw_1_coin (Won Coins); krw_1000_bill (Thousand-Won Bills); rub_1_coin (Ruble Coins); rub_100_bill (Hundred-Ruble Bills); try_1_coin (Lira Coins); try_100_bill (Hundred-Lira Bills); chf_1_coin (Franc Coins); chf_100_bill (Hundred-Franc Bills); brl_1_coin (Real Coins); brl_100_bill (Hundred-Real Bills)"
  3. Changed1 schema field changed
    • changedInput schema / properties / typeOfMoney / description
      Previous value: -"heightOfMoneyStack only. Money slug. The slug's currency overrides any currency given for wealth (no conversion is done). One of: usd_1_coin (Dollar Coins (USD)); usd_100_bill (Hundred Dollar Bills (USD)); cad_1_coin (Loonies (CAD)); cad_100_bill (Hundred Dollar Bills (CAD)); eur_1_coin (Euro Coins); eur_100_bill (Hundred Euro Bills); gbp_1_coin (Pound Coins); gbp_100_bill (Hundred Pound Bills); cny_1_coin (Yuan Coins); cny_100_bill (Hundred Yuan Bills); inr_1_coin (Rupee Coins); inr_100_bill (Hundred Rupee Bills); krw_1_coin (Won Coins); krw_1000_bill (Thousand Won Bills); rub_1_coin (Ruble Coins); rub_100_bill (Hundred Ruble Bills); try_1_coin (Lira Coins); try_100_bill (Hundred Lira Bills); chf_1_coin (Franc Coins); chf_100_bill (Hundred Franc Bills); brl_1_coin (Real Coins); brl_100_bill (Hundred Real Bills)"New value: +"heightOfMoneyStack only. Money slug. The slug's currency overrides any currency given for wealth (no conversion is done). One of: usd_1_coin (Dollar Coins (USD)); usd_100_bill (Hundred-Dollar Bills (USD)); cad_1_coin (Loonies (CAD)); cad_100_bill (Hundred-Dollar Bills (CAD)); eur_1_coin (Euro Coins); eur_100_bill (Hundred-Euro Bills); gbp_1_coin (Pound Coins); gbp_100_bill (Hundred-Pound Bills); cny_1_coin (Yuan Coins); cny_100_bill (Hundred-Yuan Bills); inr_1_coin (Rupee Coins); inr_100_bill (Hundred-Rupee Bills); krw_1_coin (Won Coins); krw_1000_bill (Thousand-Won Bills); rub_1_coin (Ruble Coins); rub_100_bill (Hundred-Ruble Bills); try_1_coin (Lira Coins); try_100_bill (Hundred-Lira Bills); chf_1_coin (Franc Coins); chf_100_bill (Hundred-Franc Bills); brl_1_coin (Real Coins); brl_100_bill (Hundred-Real Bills)"
  4. Changed4 schema fields changed
    • changedInput schema / properties / typeOfItem / description
      Previous value: -"numberOfItems only. Item price key. One of: 10 (Fancy Coffee); 15 (Quick Meal); 175 (Dinner With Drinks); 1400 (iPhone); 1750 (Month Of Childcare); 3000 (Rent Or Mortgage Payment); 15080 (Year Of Low Minimum Wage Salary); 32240 (Year Of High Minimum Wage Salary); 40000 (Student Loan Debt); 50000 (Car); 65000 (Year Of $65,000 Salary); 100000 (Year Of $100,000 Salary); 275000 (Luxury Car); 500000 (House); 800000 (Yacht); 4000000 (Supercar); 30000000 (Island); 75000000 (Mansion); 200000000 (Estate With A Mega-Mansion); 300000000 (Luxury Island); 600000000 (Superyacht)"New value: +"numberOfItems only. Item slug. One of: fancy_coffee ($10 Fancy Coffee); quick_meal ($15 Quick Meal); dinner_with_drinks ($175 Dinner With Drinks); iphone ($1,400 iPhone); month_of_childcare ($1,750 Month Of Childcare); rent_or_mortgage_payment ($3,000 Rent Or Mortgage Payment); year_of_low_minimum_wage_salary (Year Of Low Minimum Wage Salary ($15,080)); year_of_high_minimum_wage_salary (Year Of High Minimum Wage Salary ($32,240)); student_loan_debt ($40K Student Loan Debt); car ($50K Car); year_of_salary_65k (Year Of $65,000 Salary); year_of_salary_100k (Year Of $100,000 Salary); luxury_car ($275K Luxury Car); house ($500K House); yacht ($800K Yacht); supercar ($4M Supercar); island ($30M Island); mansion ($75M Mansion); estate_with_a_mega_mansion ($200M Estate With A Mega-Mansion); luxury_island ($300M Luxury Island); superyacht ($600M Superyacht)"
    • changedInput schema / properties / typeOfItem / enum
      Previous value: -[
      -  "10",
      -  "15",
      -  "175",
      -  "1400",
      -  "1750",
      -  "3000",
      -  "15080",
      -  "32240",
      -  "40000",
      -  "50000",
      -  "65000",
      -  "100000",
      -  "275000",
      -  "500000",
      -  "800000",
      -  "4000000",
      -  "30000000",
      -  "75000000",
      -  "200000000",
      -  "300000000",
      -  "600000000"
      -]New value: +[
      +  "fancy_coffee",
      +  "quick_meal",
      +  "dinner_with_drinks",
      +  "iphone",
      +  "month_of_childcare",
      +  "rent_or_mortgage_payment",
      +  "year_of_low_minimum_wage_salary",
      +  "year_of_high_minimum_wage_salary",
      +  "student_loan_debt",
      +  "car",
      +  "year_of_salary_65k",
      +  "year_of_salary_100k",
      +  "luxury_car",
      +  "house",
      +  "yacht",
      +  "supercar",
      +  "island",
      +  "mansion",
      +  "estate_with_a_mega_mansion",
      +  "luxury_island",
      +  "superyacht"
      +]
    • changedInput schema / properties / typeOfMoney / description
      Previous value: -"heightOfMoneyStack only: 1 = dollar coins, 100 = hundred-dollar bills."New value: +"heightOfMoneyStack only. Money slug. The slug's currency overrides any currency given for wealth (no conversion is done). One of: usd_1_coin (Dollar Coins (USD)); usd_100_bill (Hundred Dollar Bills (USD)); cad_1_coin (Loonies (CAD)); cad_100_bill (Hundred Dollar Bills (CAD)); eur_1_coin (Euro Coins); eur_100_bill (Hundred Euro Bills); gbp_1_coin (Pound Coins); gbp_100_bill (Hundred Pound Bills); cny_1_coin (Yuan Coins); cny_100_bill (Hundred Yuan Bills); inr_1_coin (Rupee Coins); inr_100_bill (Hundred Rupee Bills); krw_1_coin (Won Coins); krw_1000_bill (Thousand Won Bills); rub_1_coin (Ruble Coins); rub_100_bill (Hundred Ruble Bills); try_1_coin (Lira Coins); try_100_bill (Hundred Lira Bills); chf_1_coin (Franc Coins); chf_100_bill (Hundred Franc Bills); brl_1_coin (Real Coins); brl_100_bill (Hundred Real Bills)"
    • changedInput schema / properties / typeOfMoney / enum
      Previous value: -[
      -  "1",
      -  "100"
      -]New value: +[
      +  "usd_1_coin",
      +  "usd_100_bill",
      +  "cad_1_coin",
      +  "cad_100_bill",
      +  "eur_1_coin",
      +  "eur_100_bill",
      +  "gbp_1_coin",
      +  "gbp_100_bill",
      +  "cny_1_coin",
      +  "cny_100_bill",
      +  "inr_1_coin",
      +  "inr_100_bill",
      +  "krw_1_coin",
      +  "krw_1000_bill",
      +  "rub_1_coin",
      +  "rub_100_bill",
      +  "try_1_coin",
      +  "try_100_bill",
      +  "chf_1_coin",
      +  "chf_100_bill",
      +  "brl_1_coin",
      +  "brl_100_bill"
      +]
  5. First observed

TDQS

A4.4/5.0
Behavior5/5

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

The description discloses the ratio interpretation ('A ratio.value below 1 means the user's wealth is the larger') and states the return format (both results plus ratio). This adds behavioral context beyond the readOnlyHint and idempotentHint annotations, and does not contradict them.

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?

The description is two sentences long, front-loaded with the core purpose, and includes an example. Every sentence adds value with no wasted words, achieving high conciseness.

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 tool's complexity (9 parameters, no output schema), the description covers the main purpose and return structure but does not detail the exact output format or explicitly mention that the expression parameter selects among sibling expressions. However, the schema supplies parameter details, and the description gives enough context for typical use, so it is slightly above average.

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 input schema has 100% coverage with descriptions for all 9 parameters, including detailed enums and explanations for typeOfItem and typeOfMoney. The description does not add new parameter-specific information, so a baseline of 3 is appropriate; it only indirectly clarifies the ratio output, which is not a parameter.

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 clearly states the tool's function: 'runs one expression for both wealths and returns both results plus the ratio between them.' It uses a specific verb and resource, and distinguishes itself from sibling tools by focusing on comparison rather than single-wealth computation.

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 provides a clear use case with the example 'how does my net worth compare to a billionaire's?', indicating when this tool is appropriate. It does not explicitly list exclusions or alternative tools, but the context implies it is for comparison scenarios, which is sufficient for a 4.

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