get_temporal_coverage_tool
Check available years for World Bank datasets to ensure valid data retrieval by identifying temporal coverage before downloading.
Instructions
[STEP 2/3] Get available years for a specific dataset.
CRITICAL: Always call this BEFORE retrieve_data to avoid errors.
Workflow:
1. search_datasets - Done ✓
2. get_temporal_coverage (this tool) - Check what years are available
3. retrieve_data - Use latest_year from this response
Returns: start_year, end_year, latest_year, and full list of available years.
Next step: Call retrieve_data with year=latest_year.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| indicator | Yes | ||
| database | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||