Skip to main content
Glama

download_copernicus_granule

Generate an authenticated download URL and curl command to retrieve a full Sentinel/Copernicus product from the Copernicus Data Space Ecosystem.

Instructions

Generate an authenticated download URL and curl command to download an official full Sentinel/Copernicus product package from the Copernicus Data Space Ecosystem (CDSE). Requires CDSE credentials (username/password) configured via environment variables or configure_credentials().

Args: product_id: Official Copernicus Product UUID or name (e.g. 'S2A_MSIL2A_20240618T105631_N0510_R094_T31TDF_20240618T164223').

Returns: JSON string with verified download endpoint, authorization header, and execution instructions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
product_idYes

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, the description carries the behavioral disclosure burden and does a good job: it reveals credential requirements, that the tool generates a URL and curl command rather than necessarily downloading directly, and that the return is a JSON string with a verified endpoint, authorization header, and execution instructions. It does not cover error cases or rate limits, but the core behavior is transparent.

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 and well-organized: an action-oriented opening sentence, a credential prerequisite, an Args section, and a Returns section. Every sentence contributes useful information without redundancy or filler.

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?

For a single-parameter tool with an output schema, the description is largely complete: it explains the parameter format, credential prerequisite, and return contents. Missing details include what happens if credentials are absent or invalid and how the returned curl command should be executed, but these are reasonable gaps given the tool's simplicity.

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 only provides a string property with no description, so the description adds crucial meaning: product_id is an official Copernicus UUID or product name, and it gives a concrete real-world example format. This fully compensates for the 0% schema description coverage.

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 a specific verb and resource: generate an authenticated download URL and curl command for a full Sentinel/Copernicus product package from CDSE. It distinguishes itself from siblings like stac_search or query_nasa_opera by focusing specifically on product-package download with credentials.

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: use this when you need to download an official Copernicus granule, and it explicitly notes the prerequisite of CDSE credentials configured via environment variables or configure_credentials(). It does not explicitly name alternatives or exclusions, but the purpose is specific enough for an agent to route correctly.

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