Skip to main content
Glama
Orolol

FactCheck MCP Toolkit

by Orolol

eurostat_get_ranking

Ranks countries by a Eurostat indicator for a specified year, sorted descending by value. Helps fact-checkers compare EU nations against official statistics.

Instructions

Rank countries by a Eurostat indicator value.

Args: dataset_code: Eurostat dataset code. metric: Metric/na_item code. year: Year to rank on. If None, uses most recent available. geo_scope: Geographic scope filter (unused in basic implementation).

Returns: List of RankingEntry sorted by value descending.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearNo
metricYes
geo_scopeNoEU27
dataset_codeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses meaningful behavioral details: results are sorted by value descending, year=None uses the most recent available year, and geo_scope is ignored in the basic implementation. It does not mention side effects or error behavior, but for a read-only ranking tool the disclosed details are substantive.

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 clean, front-loaded docstring with a one-line summary and structured Args/Returns sections. It is slightly longer than necessary, but every section contributes useful information.

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?

For a tool with four parameters, no annotations, and an existing output schema, the description covers the essential invocation details: defaults, sort order, and an unused parameter. It does not explain how to discover valid dataset_code or metric values, but sibling tools like eurostat_search_datasets can fill that gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Input schema description coverage is 0%, yet the description documents all four parameters in the Args section. It clarifies what dataset_code and metric mean, explains the year default behavior, and warns that geo_scope is unused, adding critical meaning beyond the raw 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 starts with a specific verb and resource: 'Rank countries by a Eurostat indicator value.' This clearly distinguishes the tool from siblings like eurostat_get_data or worldbank_get_country_ranking, whose scope is different.

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?

The first sentence implies the tool should be used when a ranking of countries by a Eurostat indicator is needed, but it never explicitly states alternatives or when-not-to-use conditions. The geo_scope 'unused in basic implementation' caveat adds some guidance, but no routing against sibling tools is given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.