Skip to main content
Glama

download_query

Downloads a saved query's open-access satellite scenes in the background, returning a job_id you can monitor. Narrow to specific scenes or fetch only missing files without choosing a path.

Instructions

Download a saved query's open-access scenes in the background.

Give the slug from save_query or list_queries. Downloads run to a fixed, server-configured root (BHOONIDHI_MCP_DOWNLOAD_ROOT, default ~/Downloads), under a per-slug folder — you cannot choose an arbitrary path. select narrows to specific scenes (1-based indices or full scene IDs); omit it for the whole query. force re-downloads files already present.

Needs a login (see auth_status). Priced and on-order scenes are skipped — stage those with cart_add instead. Returns immediately with a job_id: the download runs on its own and does NOT depend on this conversation, so never block by sleeping and re-polling. To follow it hands-free, delegate a background watcher that loops download_wait on the job_id and reports back, keeping you free to keep talking; the result's 'handoff' note says so. File sizes are unknown until each transfer starts (the portal reveals them only then); once a download proves large, download_status/download_wait flag it and 'large_download' offers a standalone command that outlives this session. Interrupted downloads restart from scratch (no resume support).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "slug": "<slug>"
    },
    "name": "download_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYes
forceNo
selectNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.4/5.0
Behavior3/5

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

Beyond the annotations it discloses a lot that annotations cannot: fixed server-configured download root, no arbitrary path choice, fire-and-forget job_id semantics, no resume on interruption, and unknown file sizes. However, some of the strongest behavioral traits are asserted rather than precisely explained (e.g. how the job_id relates to download_status/download_wait, and whether force applies to partial files), so it is rich but not fully rigorous.

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?

Front-loads the action, then layers constraints in short paragraphs; nearly every sentence carries new information. Some density is avoidable, like the extended aside about large_download and the handoff note being referenced twice, which pushes it past tight.

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?

With no output schema, the description appropriately reveals the key return value (job_id) and the follow-up path (delegate a watcher looping download_wait). It stops short of stating what the job result or handoff note contains, leaving a small gap for a tool whose callers must act on that return value.

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 description coverage is 0%, so the description carries the full burden, and it does: slug provenance, select as 1-based indices or full scene IDs with omit-for-all semantics, and force as re-download of existing files. All three parameters gain meaning the bare schema does not convey.

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?

States a specific verb and resource ('Download a saved query's open-access scenes') plus the asynchronous mode ('in the background'), which cleanly separates it from siblings like download_status and download_wait that merely observe a job.

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?

Gives explicit prerequisites (slug comes from save_query or list_queries; login via auth_status) and explicit exclusions with alternatives: priced and on-order scenes are skipped and should be staged with cart_add instead. It also says to omit select for the whole query, so each decision point has an instruction.

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