Skip to main content
Glama

ilostat-mcp-server

Describe an ILOSTAT dataset

ilostat_describe_indicator
Read-onlyIdempotent

Explain one ILOSTAT dataset before comparing numbers: its definition, unit and multiplier, frequency variants and coverage, the sex and breakdown codes in use across its frequencies (the total code of each breakdown marked), the reference areas it covers, whether it carries World/regional/income-group aggregates, and how its observations are classed as reported, modelled, or projected. Accepts a dataset ID (UNE_DEAP_SEX_AGE_RT_A) or a bare indicator code (UNE_DEAP_SEX_AGE_RT), which describes every frequency. An unknown code returns found: false with guidance.

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": {
      "dataset_id": "<dataset_id>"
    },
    "name": "ilostat_describe_indicator"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataset_idYesOne dataset ID (indicator code plus _A, _Q, or _M, e.g. UNE_DEAP_SEX_AGE_RT_A) or a bare indicator code (UNE_DEAP_SEX_AGE_RT), as ilostat_search_indicators returns them. Case-insensitive; a DF_ prefix (the SDMX dataflow form) is stripped.

Output Schema

NameRequiredDescriptionDefault
capNoThe most related indicators listed.
unitNoUnit of the values, from ILOSTAT's catalog, already in the multiplier scale; absent only when the catalog lists none.
errorNoPresent when the call failed. Absent on success.
foundNoFalse when no dataset or indicator has the code.
labelNoIndicator label as ILOSTAT publishes it.
shownNoRelated indicators listed.
noticeNoWhere to find breakdown codes when the structure service did not supply them, and how to list every related indicator when the list is cut — whichever apply, joined.
measureNoMeasure (the quantity measured, shared by breakdown variants) code and label.
subjectNoSubject code and label.
databaseNoSource database code and label.
datasetsNoEvery frequency variant of the indicator, annual first.
guidanceNoOn a miss: how to find a valid dataset ID.
indicatorNoIndicator code.
ref_areasNoReference areas the indicator covers across its frequencies, from ILOSTAT's structure service; absent when structure_status is unavailable.
truncatedNoTrue when related_datasets lists fewer than related_total.
basis_ruleNoHow observations are classed reported, modelled_estimate, or projection.
breakdownsNoBreakdown codes in use, from ILOSTAT's structure service; absent when structure_status is unavailable.
dataset_idNoThe dataset requested, when a dataset ID (not a bare indicator code) was given.
definitionNoILOSTAT definition of the indicator, HTML stripped; links kept as "text (url)".
attributionNoCitation to keep with any use of the data.
catalog_as_ofNoISO timestamp the catalog was last confirmed current.
default_sliceNoThe dataset's total codes from its default view — the slice ilostat_compare_geographies uses when sex, classif1, or classif2 is omitted; a breakdown with no total (deciles) is left out.
related_totalNoHow many other indicators share this measure. ilostat_search_indicators with measure set to measure.code lists them all.
has_aggregatesNoWhether the requested dataset (or, for an indicator code, any of its datasets) carries World, regional, or income-group rows.
related_datasetsNoThe first 20 other indicators sharing this measure under other breakdowns, by code; related_total counts all of them.
structure_statusNounavailable when ILOSTAT's structure service has no entry for the indicator or cannot be reached; breakdowns, default_slice, and ref_areas are then absent, and unit carries the catalog's labels without type_label.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedOutput schema / properties / notice / description
      Previous value: -"Where to find breakdown codes and units when the structure service did not supply them, and how to list every related indicator when the list is cut — whichever apply, joined."New value: +"Where to find breakdown codes when the structure service did not supply them, and how to list every related indicator when the list is cut — whichever apply, joined."
    • changedOutput schema / properties / structure_status / description
      Previous value: -"unavailable when ILOSTAT's structure service has no entry for the indicator or cannot be reached; breakdowns, default_slice, unit, and ref_areas are then absent."New value: +"unavailable when ILOSTAT's structure service has no entry for the indicator or cannot be reached; breakdowns, default_slice, and ref_areas are then absent, and unit carries the catalog's labels without type_label."
    • changedOutput schema / properties / unit / description
      Previous value: -"Unit of the values, already in the multiplier scale; absent when unresolved."New value: +"Unit of the values, from ILOSTAT's catalog, already in the multiplier scale; absent only when the catalog lists none."
    • changedOutput schema / properties / unit / properties / type_label / description
      Previous value: -"Unit type label."New value: +"Unit type label; absent when structure_status is unavailable."
  2. Changed6 schema fields changed
    • addedOutput schema / properties / cap
      Added value: +{
      +  "description": "The most related indicators listed.",
      +  "type": "number"
      +}
    • changedOutput schema / properties / notice / description
      Previous value: -"Where to find breakdown codes and units when the structure service did not supply them."New value: +"Where to find breakdown codes and units when the structure service did not supply them, and how to list every related indicator when the list is cut — whichever apply, joined."
    • changedOutput schema / properties / related_datasets / description
      Previous value: -"Up to 20 other indicators sharing this measure under other breakdowns."New value: +"The first 20 other indicators sharing this measure under other breakdowns, by code; related_total counts all of them."
    • addedOutput schema / properties / related_total
      Added value: +{
      +  "description": "How many other indicators share this measure. ilostat_search_indicators with measure set to measure.code lists them all.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / shown
      Added value: +{
      +  "description": "Related indicators listed.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / truncated
      Added value: +{
      +  "description": "True when related_datasets lists fewer than related_total.",
      +  "type": "boolean"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/openWorld, so the description is not required to restate safety, and it instead adds behavior the annotations don't cover: unknown codes return found: false with guidance, case-insensitivity, DF_ prefix stripping, and the consequence that a bare indicator expands to all frequencies. That error-path and input-normalization detail is genuinely useful beyond the structured fields.

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?

Purpose is front-loaded and the long enumeration sentence is efficiently packed with distinct, non-redundant attributes, followed by two short sentences on input forms and the failure case. The middle sentence is dense but every clause corresponds to a distinct piece of returned metadata, so little is wasted.

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?

An output schema exists, so the description need not explain return shape, and it nonetheless covers what an agent needs: the scope of information returned, the two input forms and their differing breadth, and the behavior on an unknown code. Nothing essential for correct invocation is missing for a single-parameter, read-only metadata tool.

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 100% and the single parameter is already well documented, so the baseline is 3. The description still adds meaning beyond the schema by explaining the semantic consequence of the two accepted forms — a bare indicator code 'describes every frequency' — which tells the agent how the same parameter changes the scope of the response.

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 opens with a specific verb and resource ('Explain one ILOSTAT dataset') and then enumerates exactly what is explained: definition, unit and multiplier, frequency variants and coverage, sex/breakdown codes with total codes marked, reference areas, aggregate presence, and observation classing. That enumeration distinguishes it clearly from the querying/comparison siblings, which return numbers rather than metadata.

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 phrase 'before comparing numbers' gives a concrete when-to-use trigger, and the accepted input forms are spelled out (dataset ID vs bare indicator code, the latter describing every frequency). It stops short of naming an explicit alternative to use instead, but the sequencing guidance is clear enough for an agent to place this step correctly.

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.