Skip to main content
Glama

Eurostat — EU Fertility & Demographic Indicators

eurostat2.demographics.fertility
Read-onlyIdempotent

Retrieve annual fertility and demographic indicators for EU/EEA countries from Eurostat's SDMX 2.1 API (dataset: demo_find). Includes total fertility rate, mean age of women at childbirth, mean age at first/second/third birth, median age at childbirth, and share of non-marital births. Country parameter accepts ISO 3166-1 alpha-2 codes (DE, FR, IT, ES, PL) or EU aggregates (EU27_2020, EA20). Data covers 2018–present; updated annually. Source: Eurostat, CC BY 4.0, no auth required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countryYesEurostat geo code: ISO 3166-1 alpha-2 country (e.g. DE, FR, IT, ES, PL) or EU aggregate (EU27_2020, EA20)
indicatorNoFertility indicator: TOTFERRT=total fertility rate (default), AGEMOTH=mean age at childbirth, AGEMOTH1=mean age at first birth, MEDAGEMOTH=median age at childbirth, NMARPCT=share of non-marital births (%)
since_yearNoFirst year to include (integer, e.g. 2010). Defaults to 2010.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is clear. The description adds useful behavioral context: the data source (Eurostat SDMX 2.1 API), the dataset name (demo_find), the time coverage (2018-present), update frequency (annual), and licensing (CC BY 4.0, no auth required). This goes beyond the annotations to tell the agent what to expect.

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?

The description is a single dense paragraph that front-loads the core purpose and then provides supporting details. It's efficient with no wasted words, though it could be slightly more structured with line breaks. Every sentence adds value: what it retrieves, from where, what indicators, what parameters, time range, and licensing.

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?

The description is complete for a read-only data retrieval tool. It covers the data source, dataset, indicators, country codes, time range, update frequency, and licensing. The output schema exists, so return values don't need to be described. The only minor gap is not explaining the default indicator behavior (TOTFERRT) in the description, though the schema covers it.

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 documents all three parameters thoroughly. The description adds context about the country parameter accepting ISO codes and EU aggregates, which mirrors the schema. The indicator enum values are explained in the schema, and the description lists them too. The description doesn't add significant meaning beyond the schema, but the schema is already complete.

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 retrieves annual fertility and demographic indicators from Eurostat's SDMX 2.1 API, names the specific dataset (demo_find), and enumerates the exact indicators included. It distinguishes itself from sibling tools like eurostat2.employment.youth and eurostat2.energy.renewable by focusing on fertility/demographics.

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 clear context on what data is available, the country codes accepted, and the time range. It doesn't explicitly state when to use this tool versus alternatives, but the specificity of fertility indicators makes the use case clear. It also notes the data is updated annually and covers 2018-present, which helps an agent decide if this is the right source.

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.