Skip to main content
Glama

Prepare a source download

source_prepare_download
Idempotent

Prepare a dataset download and return a short-lived download capability, or enqueue a billed export when the requested GIS format needs conversion. An optional stateless filter (bbox, typed attribute predicates, column projection, row cap) produces a snapshot export; parquet filters are computed with DuckDB over the source GeoParquet. Repeat the same filter when polling status.

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": {
      "sourceId": "<sourceId>",
      "download": "<download>"
    },
    "name": "source_prepare_download"
  }
}

Input Schema

NameRequiredDescriptionDefault
downloadYes
sourceIdYes
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.",
      +  "type": "string"
      +}
  2. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare it is not read-only, is idempotent and non-destructive; the description adds genuinely new behavior: downloads are short-lived, some formats trigger a billed conversion/export job, and parquet filters are evaluated by DuckDB over the source GeoParquet. It stops short of stating cost magnitude, what happens if the capability expires, or how long an export job takes, but the billing and expiration disclosures are the meaningful extras.

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?

Three front-loaded sentences with no redundant restatement of the name; the key distinction (capability vs. billed export) comes first and the filter caveat last. The middle clause about DuckDB is dense but earns its place by explaining filter semantics.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description only sketches the return (a download capability or an enqueued export) without naming the fields an agent would need — download URL, expiry, job identifier — to act on the result. For a nested-filter tool with two distinct execution paths, the return side and the format-to-conversion mapping remain underspecified.

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?

With only 33% schema coverage, the description compensates well by enumerating the filter's components (bbox, typed attribute predicates, column projection, row cap) and tying filter computation to parquet sources. It still leaves expiresIn, format selection between direct vs. converted formats, and the predicate expression syntax unexplained, so it does not fully close the coverage gap.

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 concrete verb and resource (prepare a dataset download) and immediately distinguishes the two outcomes: a short-lived download capability versus an enqueued billed export when conversion is needed. An agent can tell this apart from a status-checking tool without opening the schema.

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

Usage Guidelines3/5

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

Gives one operational rule — repeat the same stateless filter when polling status — which implicitly routes the agent to the status tool, but never names it or states when to prefer this tool over source_download_status or map_image_export_prepare. Usage is implied rather than prescribed.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources