Skip to main content
Glama

Tool Search Multitemporal Pair

tool_search_multitemporal_pair

Searches STAC for a Sentinel-2 L2A multitemporal pair, clips it in POSGAR 2007, and downloads COG windows for sand/gravel extraction anomaly detection from a WGS84 bounding box and target date.

Instructions

Busca en STAC y recorta en POSGAR 2007 un par multitemporal Sentinel-2 L2A (10m VNIR + 20m SWIR/SCL).

Cierra el flujo extremo a extremo desde el servidor MCP: dado un bounding box WGS84 y fecha T1, descarga las ventanas COG en data/raw listas para tool_detect_extraction_anomalies.

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": {
      "min_lon": "<min_lon>",
      "min_lat": "<min_lat>",
      "max_lon": "<max_lon>",
      "max_lat": "<max_lat>"
    },
    "name": "tool_search_multitemporal_pair"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_latYes
max_lonYes
min_latYes
min_lonYes
t1_end_dateNo
lookback_yearsNo

Output Schema

NameRequiredDescriptionDefault
statusYesEstado de la descarga/recorte (ej. 'success').
crs_epsgYesCódigo EPSG métrico común (POSGAR 2007).
t0_sceneYesMetadatos de la escena histórica base (T0).
t1_sceneYesMetadatos de la escena actual evaluada (T1).
resolution_mYesResolución espacial común en metros.
bounds_posgarYesBounding box métrico común (minx, miny, maxx, maxy).
t0_raster_pathYesRuta al GeoTIFF multibanda recortado de T0 en POSGAR 2007.
t1_raster_pathYesRuta al GeoTIFF multibanda recortado de T1 en POSGAR 2007.
rgb_t0_chip_pathNoRuta opcional al chip RGB PNG de referencia para T0.
rgb_t1_chip_pathNoRuta opcional al chip RGB PNG de referencia para T1.
t0_swir_raster_pathNoRuta al GeoTIFF nativo 20 m (B11, B12, SCL) recortado de T0 en POSGAR 2007.
t1_swir_raster_pathNoRuta al GeoTIFF nativo 20 m (B11, B12, SCL) recortado de T1 en POSGAR 2007.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one important behavior: COG windows are downloaded into `data/raw`, i.e. this tool writes to disk, which an agent must know. It omits failure modes (no scenes found, partial coverage of the bbox), cost/latency of the STAC query and downloads, and whether files are overwritten on repeat runs.

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?

Two sentences with the core operation front-loaded and the pipeline handoff second; nothing is padded. The density of untranslated jargon (COG, VNIR, SCL, STAC) and the language switch reduce immediate readability but not structure.

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?

An output schema exists, so return values need not be described. However, for a tool with a filesystem side effect, network dependency, and six largely undocumented parameters, the description leaves out date-selection semantics and error/empty-result behavior that an agent needs before invoking it.

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

Parameters2/5

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

Schema description coverage is 0%, so the description should compensate, but it only covers the bounding box (as WGS84, which is genuinely useful since the output CRS is POSGAR 2007) and 'fecha T1'. The four bounding coordinates, t1_end_date, and lookback_years (default 3, integer) are left entirely unexplained, including how lookback_years interacts with t1_end_date and which date pair is actually selected.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific compound action: query STAC and clip a multitemporal Sentinel-2 L2A pair (10m VNIR + 20m SWIR/SCL) in POSGAR 2007. It is clearly not a generic search or a detection tool, and it names its downstream consumer, tool_detect_extraction_anomalies. It stops short of contrasting with siblings that also operate on scenes or spectral data.

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?

Usage is implied through the phrase 'dado un bounding box WGS84 y fecha T1' and the explicit handoff to tool_detect_extraction_anomalies, which tells the agent where this fits in the pipeline. There is no statement of when not to use it, no prerequisites (credentials, STAC endpoint availability), and no alternative for a single-date or non-Sentinel-2 request.

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