Skip to main content
Glama

Get travel spending by country and category

economy_tourism_spend_get
Read-onlyIdempotent

Get what residents of up to 10 European countries spend on trips by category (transport, accommodation, restaurants and more) and year, filtered by purpose, destination and trip length. Requires country. Costs credits; see meta.creditsCharged.

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>",
      "context": "<context>",
      "llm_model": "<llm_model>"
    },
    "name": "economy_tourism_spend_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYearNoLast year, e.g. `2024`. Default: the latest year published.
contextYesDescribe the user's underlying goal in one sentence, not the tool you are calling.
countryYesRequired. The travellers' home countries, up to 10, comma-separated: ISO 3166-1 alpha-2 codes of EU and EFTA members and candidate countries, e.g. `DE,FR`, or `EU27` for the European Union. `EL` (Greece) and `UK` are accepted too.
measureNo`total` (default, all spending in euro), `per_trip` (average per trip) or `per_night` (average per night).total
purposeNoWhy people travelled: `total` (default), `personal` or `business`.total
categoryNoSpending categories, comma-separated: `total` (everything except durables), `transport`, `restaurants`, `accommodation`, `package` (package holidays), `other`, `durables` (valuables and durable goods). Without it: all seven.
fromYearNoFirst year, e.g. `2015`. Default: five years before the current year.
llm_modelYesThe exact model identifier you (the assistant) are running as, taken from your system prompt or environment (for example "claude-opus-4-8" or "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" and do not guess.
tripLengthNoTrip length: `any` (default, one night or more), `short` (1 to 3 nights) or `long` (4 nights or more).any
destinationNoWhere they went: `world` (default), `domestic`, `foreign`, `eu` (other EU countries) or `non_eu`.world
conversation_idNoEcho the conversation_id from the server's previous response. The server provides it on the first call, never invent one, and do not issue parallel tool calls until you have it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely new behavioral context: the call costs credits and the amount is reported in `meta.creditsCharged`, which tells the agent to check a response field and to be economical. It does not discuss rate limits or pagination, keeping it short of a 5.

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?

Two sentences, front-loaded with the resource and scope, followed by the required parameter and the cost note. Every clause carries information; nothing is redundant with the title.

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 11 parameters, full schema coverage and clear annotations, the description gives enough to call the tool confidently, and it even points at one response field. Since no output schema exists, the response shape (units, breakdown structure, credit field siblings) is only partially covered, which keeps it from a 5.

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?

Schema description coverage is 100%, so the schema already explains every parameter including enums, defaults and year bounds. The description echoes a few of these (country cap of 10, the purpose/destination/trip-length filters) but adds no syntax or interpretation beyond the schema; baseline 3 applies.

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 and resource: what residents of up to 10 European countries spend on trips, broken out by category and year. It also names the filtering dimensions (purpose, destination, trip length), which is enough to separate it from the household-consumption sibling economy_consumer_spend_get and from government spending.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: it's clear you'd call this for tourism/travel expenditure data, and 'Requires `country`' flags a prerequisite. There is no explicit when-to-use/when-not guidance and no named alternative for related questions, so an agent must infer the routing itself.

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.