Skip to main content
Glama

Sentinelhub Ndvi Stats

sentinelhub_ndvi_stats
Read-onlyIdempotent

NDVI vegetation statistics over an area and time range — returns per-interval mean/min/max/stdev of the vegetation index (NDVI) from Sentinel-2 imagery for a bbox or GeoJSON polygon. Derived numbers only, no imagery. Example: sentinelhub_ndvi_stats({ bbox: [12.44, 41.87, 12.53, 41.93], date_from: "2023-05-01", date_to: "2023-09-01", aggregation: "P1M", _apiKey: "client_id:client_secret" })

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bboxNoBounding box [minLon, minLat, maxLon, maxLat] in EPSG:4326. Provide this OR `geometry`.
_apiKeyYesSentinel Hub OAuth credentials as "client_id:client_secret" (from sentinel-hub.com or free at dataspace.copernicus.eu).
date_toYesEnd date, YYYY-MM-DD.
geometryNoA GeoJSON Polygon geometry (EPSG:4326) as an alternative to `bbox`.
date_fromYesStart date, YYYY-MM-DD.
aggregationNoISO-8601 aggregation interval (default "P1M" = monthly). E.g. "P1D", "P10D", "P1M".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/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 covered. The description adds useful behavioral context: it returns per-interval mean/min/max/stdev, uses Sentinel-2 imagery, and explicitly states 'Derived numbers only, no imagery', which clarifies return behavior beyond the schema.

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 plus a realistic example. The first sentence states the core purpose, the second adds the key 'no imagery' distinction, and the example demonstrates a complete valid call. Every element earns its place without redundancy or filler.

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 6 parameters, a nested geometry object, and no output schema, the description covers the essential points: input area and time range, aggregation, derived statistics, and the derived-only nature of results. It does not mention potential quirks like cloud coverage, Sentinel-2 data availability, or output formatting, but these are not critical for a read-only stats call.

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 baseline is 3. The description's inline example illustrates parameter usage (bbox order, date format, aggregation, _apiKey format), but it largely duplicates what the schema already explains. It does not introduce meaning beyond the schema for any parameter.

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 states a specific verb ('returns'), resource (NDVI vegetation statistics from Sentinel-2 imagery), and scope ('over an area and time range'). It also distinguishes itself from imagery-returning tools by explicitly saying 'Derived numbers only, no imagery', which separates it from siblings like sentinelhub_catalog_search.

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 description implies its use case — computing NDVI statistics over a bbox/GeoJSON area and date range — and gives a concrete example. However, it does not explicitly tell an agent when to prefer this tool over alternatives such as sentinelhub_catalog_search, nor does it state any exclusions or conditions.

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.