Skip to main content
Glama

Groundsocial

Household spending

economy_consumer_spend_get
Read-onlyIdempotent

Household spending by country and category, from Eurostat.

Household final consumption by purpose (COICOP), per country and year, from Eurostat (nama_10_co3_p3). category: any of total, food, alcohol_tobacco, clothing, housing, furnishings, health, transport, communication, recreation, education, restaurants_hotels, miscellaneous (default all). unit: eur_millions (default), eur_per_capita or share_of_total. Up to 10 countries; EU27 is the EU total.

Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

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_code": "<country_code>"
    },
    "name": "economy_consumer_spend_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitNo
to_yearNoLast year. Defaults to the latest Eurostat has.
categoryNoCategories, comma-separated.
from_yearNoFirst year. Defaults to five years ago.
country_codeYesISO 3166-1 alpha-2 codes, comma-separated (up to 10); EU27 for the European Union.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, open-world), and the description adds genuinely new operational context: 1 credit per call, automatic refund on failure, and the cost_credits/credits_remaining fields in the response. It stops short of describing error conditions beyond refunds, so it is strong rather than exhaustive.

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 resource and source, then parameters, then cost/safety. Sentences are dense but each carries information; the only mild redundancy is repeating unit and default values already implied by schema defaults.

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 still tells the agent the response includes cost_credits and credits_remaining, and it covers source table, aggregation geo (EU27), defaults for years and units. Complete enough for a read-only data-retrieval call; only the exact shape of the spending series is left unspecified.

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?

Schema coverage is 80%, so the baseline is 3, but the description goes further by enumerating all 14 valid COICOP category values and their 'all' default, which the schema only hints at with 'Categories, comma-separated.' It also restates the unit options and their eur_millions default, adding modest reinforcement over the enum.

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?

The description names a specific resource (household final consumption by COICOP purpose, Eurostat table nama_10_co3_p3) and the two dimensions of aggregation (country, year). 'Household' implicitly separates it from siblings like economy_government_spend_get and economy_tourism_spend_get, though no sibling is named explicitly.

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 constraints are given (up to 10 countries, EU27 as the EU aggregate, defaults for category/unit), which tells the agent how to call it but not when to prefer it over the government-spending or tourism-spending siblings. No exclusions or alternative-routing guidance is present.

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.