stac_describe_collection
Retrieve detailed metadata for a STAC collection, including band names, recommended composites, spectral indices, and cloud masking info. Use it to discover bands and validate cloud masking before downloading.
Instructions
Get detailed information about a STAC collection.
Returns band wavelengths, recommended composites, supported spectral indices, cloud masking info, and LLM-friendly usage guidance.
For known collections (Sentinel-2, Landsat, Sentinel-1, DEM), provides rich metadata including band names needed for download tools. Unknown collections still return live STAC metadata.
Args: collection_id: Collection identifier. Options: sentinel-2-l2a, sentinel-2-c1-l2a, landsat-c2-l2, sentinel-1-grd, cop-dem-glo-30 catalog: Catalog name (default: earth_search). Options: earth_search, planetary_computer, usgs output_mode: Response format - "json" (default) or "text"
Returns: JSON with band details, composites, spectral indices, and guidance
Tips for LLMs: - Call this to discover band names before using stac_download_bands - The composites field lists pre-defined band combinations (e.g., true_color = [red, green, blue]) - The spectral_indices field shows which indices this collection supports - The llm_guidance field contains domain-specific usage advice - Check cloud_mask_band — if None, the collection is non-optical (SAR radar or DEM) and cloud_mask=True will fail
Example: detail = await stac_describe_collection( collection_id="sentinel-2-l2a" )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| catalog | No | ||
| output_mode | No | json | |
| collection_id | Yes |