Skip to main content
Glama

detect_water_sar

Map surface water and flood inundation from Sentinel-1 radar. Specify a bounding box and date range; works under all weather conditions.

Instructions

Perform all-weather surface water and flood inundation mapping using Sentinel-1 C-band SAR radar backscatter. Zero-config: Runs out-of-the-box without requiring API keys or user credentials.

Args: bbox: Bounding box [min_lon, min_lat, max_lon, max_lat] in WGS84. datetime_range: Acquisition date range (e.g. '2024-06-01/2024-06-30'). threshold_db: Backscatter threshold in decibels below which pixels are classified as water. Default is -16.0 dB.

Returns: JSON string with detected surface water percentage and backscatter characteristics.

References:

  • Twele, A., et al. (2016). International Journal of Remote Sensing, 37(13), 2990-3004. DOI: 10.1080/01431161.2016.1192304

  • Bioresita, F., et al. (2018). Remote Sensing, 10(2), 217. DOI: 10.3390/rs10020217

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bboxYes
threshold_dbNo
datetime_rangeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations present, the description carries the behavioral disclosure burden. It clearly states that the tool runs with zero configuration, requires no credentials, classifies pixels below a decibel threshold as water, and returns a JSON string with water percentage and backscatter characteristics. This goes beyond the bare function name and gives useful behavioral context, though it does not mention edge cases or limitations.

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 well-structured and front-loaded with the core purpose and zero-config behavior. The Args and Returns sections are compact and directly useful. The references add methodological credibility but are not strictly necessary for tool invocation, so it is concise but not perfectly lean.

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

Completeness5/5

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

For a tool with three parameters, no annotations, and a schema with zero description coverage, the description covers everything needed to invoke it correctly: required inputs, optional threshold with default, return format, and the underlying method. An agent can confidently call this tool with just bbox and datetime_range based on the provided guidance.

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?

The input schema has 0% description coverage, but the description fully compensates by explaining each parameter: bbox format and coordinate system, datetime_range with an explicit example, and threshold_db with its meaning and default value. This adds essential semantic meaning that the JSON schema alone does not provide.

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 opens with a specific verb and resource: 'Perform all-weather surface water and flood inundation mapping using Sentinel-1 C-band SAR radar backscatter.' This clearly distinguishes it from sibling tools like detect_dark_vessels or assess_location_hazard by naming the exact task and data source. It is not a tautology and provides enough specificity for an agent to know what the tool does.

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 gives clear context for when this tool is relevant: all-weather water and flood mapping with SAR. It also highlights a practical condition: zero-config and no API keys needed, which helps an agent decide to use it without credential setup. It does not explicitly name alternatives or exclusions, so it misses the highest bar, but the guidance is clear enough for selection.

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