Skip to main content
Glama

Cost of a healthy diet per person per day

pricepaid_diet_costs
Read-onlyIdempotent

Use this when a user asks how much it costs to eat healthily in a country, for example the cost of the cheapest healthy diet per person per day, how that cost changed on a year earlier, or how much of it goes on fruit, vegetables, animal-source foods, legumes and nuts, oils and fats or starchy staples, in about 68 countries worldwide (World Bank estimates) (country IE, GB, FR, ES, PT, IT, DE, NL, BE, AT, PL, DK, SE, NO, FI, GR, LU, CH, IS, CZ, HU, RO, SK, SI, EE, LV, LT, CY, MT, TR, UA, US, CA, MX, BR, AR, CL, CO, PE, AU, NZ, SG, JP, KR, TW, HK, CN, IN, ID, TH, VN, MY, PH, PK, BD, LK, AE, SA, IL, EG, MA, ZA, NG, KE, GH, TZ, UG, ET). Returns the World Bank's modelled cost of a least-cost healthy diet, built from the food prices collected for the International Comparison Program: the figure in the country's own currency and in international (PPP) dollars, the year, the change on the previous year, the years since 2017, and the official source and licence. This is a modelled national estimate (price_type official_statistic), not a shop receipt, not what one household paid and not a range, so the range fields are null and there is no sample size. How fresh: roughly yearly: version 5.0 was last updated on 2026-07-21 and holds 2017 to 2025; every answer states its year. Do not use for the price of a particular food or shop, restaurant meals, a family's real food bill, or for countries that are not listed.

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": {
      "country": "<country>"
    },
    "name": "pricepaid_diet_costs"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoYear of the estimate (2017 onwards). Leave out for the newest year the World Bank holds. World Bank: 2017 to the newest year held (2025 at the last check). Leave out for the newest year.
countryYesCountries as ISO codes: IE = Ireland, GB = United Kingdom, FR = France, ES = Spain, PT = Portugal, IT = Italy, DE = Germany, NL = Netherlands, BE = Belgium, AT = Austria, PL = Poland, DK = Denmark, SE = Sweden, NO = Norway, FI = Finland, GR = Greece, LU =…
food_groupNoWhich part of the healthy diet: leave out for the whole diet, or give 'fruit', 'vegetables', 'animal foods', 'legumes and nuts', 'oils and fats' or 'starchy staples'. The World Bank leaves some group figures blank. World Bank: food_group…

Output Schema

NameRequiredDescriptionDefault
priceNo
periodNo
sourceNo
statusYes
summaryYesOne sentence an AI can quote.
confidenceNohigh, medium, low or insufficient.
sample_sizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed34 schema fields changed
    • changedInput schema / properties / country / description
      Previous value: -"Countries as ISO codes: IE = Ireland, GB = United Kingdom, FR = France, ES = Spain, PT = Portugal, IT = Italy, DE = Germany, NL = Netherlands, BE = Belgium, AT = Austria, PL = Poland, DK = Denmark, SE = Sweden, NO = Norway, FI = Finland, GR = Greece, LU = Luxembourg, CH = Switzerland, IS = Iceland, CZ = Czechia, HU = Hungary, RO = Romania, SK = Slovakia, SI = Slovenia, EE = Estonia, LV = Latvia, LT = Lithuania, CY = Cyprus, MT = Malta, TR = Turkey, UA = Ukraine, US = United States, CA = Canada, MX = Mexico, BR = Brazil, AR = Argentina, CL = Chile, CO = Colombia, PE = Peru, AU = Australia, NZ = New Zealand, SG = Singapore, JP = Japan, KR = South Korea, TW = Taiwan, HK = Hong Kong, CN = China, IN = India, ID = Indonesia, TH = Thailand, VN = Vietnam, MY = Malaysia, PH = Philippines, PK = Pakistan, BD = Bangladesh, LK = Sri Lanka, AE = United Arab Emirates, SA = Saudi Arabia, IL = Israel, EG = Egypt, MA = Morocco, ZA = South Africa, NG = Nigeria, KE = Kenya, GH = Ghana, TZ = Tanzania, UG = Uganda, ET = Ethiopia. World Bank estimate for the whole country, one figure per year (2017 onwards)."New value: +"Countries as ISO codes: IE = Ireland, GB = United Kingdom, FR = France, ES = Spain, PT = Portugal, IT = Italy, DE = Germany, NL = Netherlands, BE = Belgium, AT = Austria, PL = Poland, DK = Denmark, SE = Sweden, NO = Norway, FI = Finland, GR = Greece, LU =…"
    • changedInput schema / properties / food_group / description
      Previous value: -"Which part of the healthy diet: leave out for the whole diet, or give 'fruit', 'vegetables', 'animal foods', 'legumes and nuts', 'oils and fats' or 'starchy staples'. The World Bank leaves some group figures blank. World Bank: food_group is one of 'fruit', 'vegetables', 'animal foods' (meat, dairy, fish, eggs), 'legumes and nuts', 'oils and fats' or 'starchy staples' (grains, bread, rice, potatoes); leave out for the whole healthy diet. The figure is in the country's own currency per person per day, with international (PPP) dollars in the answer. Blank for some countries and years."New value: +"Which part of the healthy diet: leave out for the whole diet, or give 'fruit', 'vegetables', 'animal foods', 'legumes and nuts', 'oils and fats' or 'starchy staples'. The World Bank leaves some group figures blank. World Bank: food_group…"
    • changedOutput schema / description
      Previous value: -"A price answer: a range or an official statistic with sample size, period, confidence, source and licence."New value: +"Price range from real records: price, sample_size, period, confidence, source and licence."
    • removedOutput schema / properties / answer_id
      Removed value: -{
      -  "description": "Audit trail: a stable id (hash of source id, normalised query, data period and method_version). The same question on the same data gives the same id; keep it with the reasoning that used the figure.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / as_of
      Removed value: -{
      -  "description": "When the answer was produced (ISO 8601); the snapshot date when the official source was down and the answer comes from our copy.",
      -  "type": "string"
      -}
    • changedOutput schema / properties / confidence / description
      Previous value: -"high = 50+ records, medium = 15–49, low = 5–14."New value: +"high, medium, low or insufficient."
    • removedOutput schema / properties / confidence / enum
      Removed value: -[
      -  "high",
      -  "medium",
      -  "low",
      -  "insufficient"
      -]
    • removedOutput schema / properties / data_age_days
      Removed value: -{
      -  "description": "Whole days between data_as_of and retrieved_at; null when data_as_of is null.",
      -  "type": [
      -    "number",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / data_as_of
      Removed value: -{
      -  "description": "ISO date (YYYY-MM-DD) of the newest data point behind the figure; null when unknown.",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / evidence
      Removed value: -{
      -  "additionalProperties": {},
      -  "description": "Audit trail: what kind of evidence the figure is.",
      -  "properties": {
      -    "label": {
      -      "description": "Short name of the kind of evidence, e.g. 'Recorded sale prices', 'Official published average', 'Official published index', 'Posted shelf or pump price', 'Posted or listed price', 'Contract award value', 'Regulated reimbursement price'.",
      -      "type": "string"
      -    },
      -    "meaning": {
      -      "description": "One sentence on what this kind of evidence does and does not establish.",
      -      "type": "string"
      -    },
      -    "type": {
      -      "description": "Same as price_type.",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "type",
      -    "label",
      -    "meaning"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / properties / extra
      Removed value: -{
      -  "additionalProperties": {},
      -  "description": "Source-specific details (for example cheapest stations). extra.stale is true when the answer comes from our copy of the source.",
      -  "propertyNames": {
      -    "type": "string"
      -  },
      -  "type": "object"
      -}
    • removedOutput schema / properties / method
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / method_url
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / method_version
      Removed value: -{
      -  "description": "Audit trail: version of the way this source turns raw data into an answer (per source, default '1').",
      -  "type": "string"
      -}
    • removedOutput schema / properties / notice
      Removed value: -{
      -  "description": "Information, not a valuation or offer. Also says when the answer is our copy because the official source did not respond.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / period / description
      Removed value: -"The period the records cover (ISO dates), or the date of the snapshot when the answer comes from our copy."
    • changedOutput schema / properties / price / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "description": "The price. Null when there is not enough data to publish a figure (fewer than 5 records) or nothing matched.",
      -    "properties": {
      -      "currency": {
      -        "description": "ISO 4217 currency code, e.g. EUR.",
      -        "type": "string"
      -      },
      -      "max": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "measure": {
      -        "description": "What value is: median for ranges built from records; average or median for official statistics.",
      -        "enum": [
      -          "median",
      -          "average"
      -        ],
      -        "type": "string"
      -      },
      -      "median": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "min": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "typical_high": {
      -        "description": "90th percentile; null for official statistics that give no range.",
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "typical_low": {
      -        "description": "10th percentile; null for official statistics that give no range.",
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "unit": {
      -        "description": "What the price is per, e.g. 'per litre', 'per home', 'per kWh'.",
      -        "type": "string"
      -      },
      -      "value": {
      -        "description": "The headline figure. For ranges built from records it equals median.",
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "currency",
      -      "unit",
      -      "value"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "currency": {
      +        "type": "string"
      +      },
      +      "typical_high": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "typical_low": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "unit": {
      +        "type": "string"
      +      },
      +      "value": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "currency",
      +      "unit",
      +      "value"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / price_type
      Removed value: -{
      -  "description": "transaction, posted_pump_price, posted_price, contract_price, reimbursement_price or official_statistic.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / query
      Removed value: -{
      -  "additionalProperties": {},
      -  "description": "The request as understood, echoed back.",
      -  "propertyNames": {
      -    "type": "string"
      -  },
      -  "type": "object"
      -}
    • removedOutput schema / properties / reliability
      Removed value: -{
      -  "description": "How far to trust the figure as a distribution of real prices. official_with_count = a published official figure with a record count; official_median_no_count = a published average or median with no record count (confidence 'high' there means the publisher is official, not that a count was checked); record_level = 15+ records we hold; thin = 5–14 records; stale = our copy because the official source did not respond; insufficient_data = no figure published.",
      -  "enum": [
      -    "official_with_count",
      -    "official_median_no_count",
      -    "record_level",
      -    "thin",
      -    "stale",
      -    "insufficient_data"
      -  ],
      -  "type": "string"
      -}
    • removedOutput schema / properties / retrieved_at
      Removed value: -{
      -  "description": "Audit trail: when ProofPrice produced this answer (ISO 8601). For an answer from our own copy this is now, while as_of is the snapshot date.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / sample_size / description
      Removed value: -"Number of records behind the figure; null when the publisher does not say."
    • removedOutput schema / properties / source / description
      Removed value: -"Where the figure comes from, under which licence, and the attribution line to show."
    • removedOutput schema / properties / source / properties / attribution / description
      Removed value: -"The attribution line to show with the figure."
    • removedOutput schema / properties / source / properties / id
      Removed value: -{
      -  "description": "Source id, e.g. es-fuel.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / source / properties / licence_url
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / source / properties / publisher
      Removed value: -{
      -  "description": "Who publishes the data.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / source / properties / url
      Removed value: -{
      -  "description": "The publisher's page for this data.",
      -  "type": "string"
      -}
    • changedOutput schema / properties / source / required
      Previous value: -[
      -  "id",
      -  "name",
      -  "publisher",
      -  "licence",
      -  "licence_url",
      -  "attribution",
      -  "url"
      -]New value: +[
      +  "name",
      +  "licence",
      +  "attribution"
      +]
    • removedOutput schema / properties / statistic
      Removed value: -{
      -  "additionalProperties": {},
      -  "description": "Official statistics only: what kind of figure it is and the period the publisher states it for.",
      -  "properties": {
      -    "measure": {
      -      "enum": [
      -        "median",
      -        "average"
      -      ],
      -      "type": "string"
      -    },
      -    "note": {
      -      "type": "string"
      -    },
      -    "reference_period": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "measure",
      -    "reference_period"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / properties / status / description
      Removed value: -"ok = a figure is returned; insufficient_data = fewer than 5 matching records; no_matches = nothing matched."
    • removedOutput schema / properties / suggestions
      Removed value: -{
      -  "description": "Short plain things to try next: widen the period or area, ask for an itemised quote. May be empty.",
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • changedOutput schema / properties / summary / description
      Previous value: -"One plain sentence an AI can quote."New value: +"One sentence an AI can quote."
    • changedOutput schema / required
      Previous value: -[
      -  "query",
      -  "status",
      -  "source",
      -  "summary",
      -  "notice"
      -]New value: +[
      +  "status",
      +  "summary"
      +]
  2. Changed1 schema field changed
    • changedOutput schema / properties / evidence / properties / label / description
      Previous value: -"Short name of the kind of evidence, e.g. 'Recorded sale prices', 'Official published average', 'Posted shelf or pump price', 'Contract award value', 'Regulated reimbursement price'."New value: +"Short name of the kind of evidence, e.g. 'Recorded sale prices', 'Official published average', 'Official published index', 'Posted shelf or pump price', 'Posted or listed price', 'Contract award value', 'Regulated reimbursement price'."
  3. Added

TDQS

A4.5/5.0
Behavior5/5

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

Going well past the readOnly/idempotent/openWorld annotations, it discloses that the figure is a modelled national estimate (price_type official_statistic), not a receipt or household bill, that the range fields are null and there is no sample size, and that it returns local currency plus PPP dollars, year, year-on-year change, years since 2017, source and licence. It also states freshness and versioning (v5.0, updated 2026-07-21, coverage 2017–2025), which is exactly the kind of context annotations cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The trigger, caveats and freshness note are front-loaded and well organised, but the long inline list of ~68 ISO country codes duplicates the enum in the input schema verbatim and consumes a large share of the text without adding decision value. Trimming that list would make the description notably tighter.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter modelled-indicator tool with an output schema, the description covers everything an agent needs: what the number represents, its limits, currency and units, temporal coverage, update cadence, and when not to use it. Nothing material is left to inference.

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?

With 100% schema coverage the baseline is 3, and the description earns more by explaining what each parameter produces: `year` yields the change on a year earlier and years since 2017, and `food_group` yields the share going on fruit, vegetables, animal-source foods, legumes and nuts, oils and fats or starchy staples. It also warns that some food-group figures are blank, which adds predictive meaning beyond the schema.

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 names a precise resource and unit ('cost of the cheapest healthy diet per person per day'), states the geographic scope (~68 named countries, World Bank estimates), and frames it around the questions it answers (level, year-on-year change, food-group split). That distinguishes it cleanly from sibling price tools such as grocery or check_price without needing to open their schemas.

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 opens with an explicit trigger ('Use this when a user asks how much it costs to eat healthily in a country') and closes with a strong set of exclusions: not a particular food or shop, not restaurant meals, not a family's real food bill, not unlisted countries. The only gap is that it never names an alternative tool to route to for those excluded cases, so the agent must infer the substitute.

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.