Skip to main content
Glama
IBM
by IBM

stac_coverage_check

Verifies if cached scenes fully cover a target bounding box before mosaicking. Returns coverage percentage and identifies uncovered areas.

Instructions

Check if cached scenes fully cover a requested bounding box.

Rasterizes the target bbox into a grid and checks which cells are covered by the provided scenes. Useful for planning mosaics to ensure gap-free coverage.

Args: bbox: Target bounding box [west, south, east, north] in EPSG:4326 scene_ids: Scene identifiers (must be cached from prior stac_search calls) output_mode: Response format - "json" (default) or "text"

Returns: JSON with coverage percentage and uncovered areas

Tips for LLMs: - Call this before stac_mosaic to verify scenes fully cover your area of interest - If coverage is less than 100%, search for more scenes or widen the date range to find additional tiles - Scenes must have been found by a prior stac_search call

Example: check = await stac_coverage_check( bbox=[0.8, 51.8, 1.0, 51.95], scene_ids=["S2B_...", "S2A_..."] )

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bboxYes
scene_idsYes
output_modeNojson
Behavior4/5

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

No annotations provided, so description carries full burden. It explains the rasterization process and output format, but doesn't mention read-only nature or other behavioral traits like rate limits. Still transparent enough for safe use.

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?

Well-structured with Args, Returns, Tips, and Example. Each section is useful, though slightly verbose. Front-loaded with the main purpose.

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?

No output schema, but description explains the JSON return format with coverage percentage and uncovered areas. Adequately complete for the tool's purpose.

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?

Schema coverage is 0%, so description fully compensates by explaining bbox format (EPSG:4326), scene_ids requirement (cached from stac_search), and output_mode default. Adds meaning beyond the schema.

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 clearly states 'Check if cached scenes fully cover a requested bounding box,' using a specific verb and resource. This distinguishes it from siblings like stac_mosaic and stac_search.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit usage guidance: 'Call this before stac_mosaic to verify scenes fully cover your area of interest' and tips for handling insufficient coverage. Also specifies scenes must be from prior stac_search.

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/IBM/chuk-mcp-stac'

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