Skip to main content
Glama

Download the data as files

download_data
Read-onlyIdempotent

The project's data as files, for a user who asks for the files, a CSV or Excel export, seeds for dbt, or data to load into a database: a link that downloads every table as CSV, for the user to open. Nothing is downloaded by this call. For a few rows to paste, preview_data with table and show_rows is enough.

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": {
      "project_id": "<project_id>"
    },
    "name": "download_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and closed-world, and the description adds the non-obvious behavior that this call performs no download and instead yields a link the user opens. That is exactly the kind of context annotations cannot convey. It does not say anything about the link's lifetime, size limits, or whether large projects are chunked, which keeps it off a 5.

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?

The scoping sentence comes first, then the clarifying 'Nothing is downloaded by this call,' then the redirect to the alternative — a sensible ordering. The opening clause 'for a user who asks for the files' is slightly redundant with the trigger list that follows and the run-on comma chain could be tighter, but nothing is padding.

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 one required parameter, an output schema, and full safety annotations, the definition covers what an agent needs: what triggers it, that it returns a link rather than bytes, and where to go for a smaller need. The only loose thread is that it advertises an Excel export while describing the output as CSV per table, which an agent may have to reconcile at call time.

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 description coverage is 0%, so the description carries the burden, and it does so only implicitly: 'The project's data' signals that `project_id` selects the project whose tables are exported. Nothing states the identifier format or where to obtain it (e.g. from `list_projects`), so the single required parameter remains lightly specified.

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?

The description states a specific resource and outcome: the project's data as a downloadable file link, one CSV per table. It is distinguishable from the sibling export-style tools because it explicitly routes row-level needs to `preview_data`. It stops short of a crisp verb-first statement (the opening is a noun phrase), but the intent is unambiguous.

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?

It enumerates concrete triggers (user asks for the files, a CSV or Excel export, dbt seeds, loading into a database) and names the alternative with its parameters when only a few rows are wanted: `preview_data` with `table` and `show_rows`. That is an explicit when-to-use plus when-not-to-use with a named sibling.

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