Skip to main content
Glama

fetch_era5_land_soil_moisture

Downloads ERA5-Land monthly mean volumetric soil water content for a specified soil layer. Provides the raw data needed for Soil Moisture Index (SMI) calculations.

Instructions

Downloads ERA5-Land monthly mean volumetric soil water content for one soil layer. This is the primary data source for the SMI pipeline (see skills/calculate-smi).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
eastNoEastern longitude (e.g., 10 for 10E) Example: fetch_era5_land_soil_moisture(1, [str(y) for y in range(1950, 2021)], [f"{m:02d}" for m in range(1, 13)], 'data/raw/era5land_sm_layer1_1950_2020.nc', north=51.5, west=5.5, south=50.5, east=7.0)
westNoWestern longitude (e.g., 5 for 5E)
yearYesYear(s) as string or list (e.g., '2023' or ['1950', ..., '2020']).
layerYesSoil layer 1-4 (1: 0-7cm, 2: 7-28cm, 3: 28-100cm, 4: 100-289cm). Default use: 1.
monthYesMonth(s) as string or list (e.g., '01' or ['01', ..., '12']).
northNoNorthern latitude (e.g., 51 for 51N)
southNoSouthern latitude (e.g., 48 for 48N)
output_filenameYesLocal NetCDF path (e.g., 'data/raw/era5land_sm_layer1_1950_2020.nc').

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/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. The description only says 'Downloads' and does not disclose potential side effects like network dependency, overwriting existing files, required API credentials, or failure modes. It adds no behavioral context beyond what the tool name and schema imply.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with the action verb and resource. There is no redundant or filler content. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description provides a clear purpose and usage context, and the schema is comprehensive. However, it lacks any note about prerequisites (e.g., CDS API key, network availability) or potential pitfalls, which would be important for a data download tool. Given the schema and output schema, this is a decent but not fully complete description.

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?

The input schema already provides 100% coverage, with detailed parameter descriptions including examples and soil layer depth ranges. The description adds no additional parameter semantics beyond hints like 'one soil layer' and 'monthly mean,' which are already captured implicitly. Baseline 3 is appropriate.

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 uses a specific verb 'Downloads' and clearly identifies the exact resource: 'ERA5-Land monthly mean volumetric soil water content for one soil layer.' This distinguishes it from sibling tools like fetch_era5_single_levels or fetch_era5_hourly_pressure_levels, which target different datasets. Mentioning the SMI pipeline adds useful context.

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 states 'This is the primary data source for the SMI pipeline (see skills/calculate-smi)', which gives a clear context for when to use it. However, it does not explicitly state when not to use it or name alternative tools, though sibling names are available. That prevents a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/leandroavl/SMI_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server