Skip to main content
Glama

Download a dataset

download_dataset
Read-onlyIdempotent

Fetch a whole version as json, csv or geojson. A file up to the server limit comes back inline. Paid datasets answer payment_required with the price and payment details. This tool never pays; a payment is made only by the caller's own client, if its operator allows it. A file above the server limit comes back as a download address to fetch with an HTTP client.

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": {
      "dataset_id": "<dataset_id>"
    },
    "name": "download_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNojson, csv or geojson (geojson only with coordinates)json
versionNoA specific version; default is the current one
dataset_idYesDataset id from search_datasets, for example bg.finance.credit_institutions

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations (readOnly/idempotent/non-destructive), it discloses the two response modes (inline file vs download address above the server limit) and the payment_required response with pricing. It also clarifies that the tool never pays, which is exactly the kind of behavioral context annotations cannot carry. It doesn't mention auth requirements or whether the download address expires.

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?

Four short sentences, front-loaded with the core action, then size limit, then payment semantics. No filler and the most decision-relevant caveats come before secondary detail.

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?

For a three-parameter read tool with no output schema, the description covers the success shapes (inline payload, download address), the failure shape (payment_required), and the no-payment guarantee. An agent can call this and handle every likely outcome without further documentation.

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

Parameters3/5

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

Schema coverage is 100%, and the description's format list and version scoping merely restate the schema's own descriptions. With the schema doing all the parameter work, this lands at the baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Fetch a whole version') plus the supported formats, and the word 'whole' implicitly contrasts with preview_dataset and query_dataset. It stops short of naming those siblings, so the agent must infer the boundary rather than read it explicitly.

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?

Usage is implied by 'a whole version' and by the size/payment branches, but the description never states when to prefer this over preview_dataset or query_dataset. No explicit exclusions or decision criteria are given.

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