Skip to main content
Glama

compare_dates

Compare two time windows over a location to detect changes using satellite imagery. Returns matched scenes, index delta, and a side-by-side swipe map for visual analysis.

Instructions

Compare two time windows over a place: matched scenes, index delta, swipe map.

The most common Earth question is "what changed?" — this answers it in one call. Windows are RFC3339 ranges ("2026-06-01T00:00:00Z/2026-06-30T23:59:59Z"); window_after defaults to the last 14 days, window_before to roughly one month earlier. Picks Sentinel-2 scenes from the SAME MGRS tile (best AOI coverage, lowest cloud), computes the expression's stats for both dates, and writes a side-by-side swipe map. Returns scenes, means, delta, and map_path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bboxNo
labelNo
placeNo
expressionNo(nir-red)/(nir+red)
window_afterNo
window_beforeNo
max_cloud_coverNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries the full burden. It explains the scene selection strategy (same MGRS tile), computation of expression stats, and output (scenes, means, delta, map_path). It does not mention side effects like file creation but sufficiently describes core behavior.

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 compact with a summary line followed by elaboration. It is front-loaded with purpose and contains no redundant sentences, making it efficient for an agent.

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?

Given the tool's complexity (7 optional parameters, output schema exists), the description covers the main workflow, output structure, and defaults. It misses edge cases but is adequate for typical usage.

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

Parameters4/5

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

Schema coverage is 0%, so the description must compensate. It explains the RFC3339 format for windows, defaults, and expression default. It adds context about SAME MGRS tile selection and algorithm, though does not detail each parameter individually.

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 the tool compares two time windows over a place and returns matched scenes, index delta, and a swipe map. It uses a specific verb-resource pair and distinguishes from siblings like compute_statistics which likely handles single windows.

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 positions this as solving 'what changed?' and provides default window behaviors, implying use for change detection. However, it does not explicitly state when not to use it or suggest alternatives.

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/dannybauman/groundstation'

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