Skip to main content
Glama

Fetch Dataset

fetch_dataset

Download a run's advertised dataset by dataset_id to a local file or chosen directory, returning the saved path and size.

Instructions

Download one dataset (a file a run advertised) to a local file; returns the path and size.

dataset_id comes from list_datasets. Writes into dest_dir (a temp dir by default).

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": "fetch_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
dest_dirNo
dataset_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description does disclose that the tool downloads to a local file, writes into dest_dir, defaults to a temp directory, and returns the path and size. It does not explain overwrite behavior, whether dest_dir must already exist, permission requirements, or what happens on download failure, which are important gaps for a disk-writing operation.

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 two tight sentences with no wasted wording. The core action is front-loaded, followed by the parameter sourcing and write-location details.

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?

The tool is simple, has only two parameters, and has an output schema, so the description does not need to explain the return value in detail. It covers the essential call semantics and destination behavior, but omits edge cases such as overwriting an existing file or missing destination directories.

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?

Schema description coverage is 0%, so the description must add meaning. It does so for both parameters: dataset_id is sourced from list_datasets, and dest_dir is the write target with a temp-dir default, though it does not specify dataset_id format or dest_dir creation semantics.

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 verb and resource: download one dataset to a local file. It also clarifies that the dataset is a file a run advertised, which distinguishes it from listing tools, though it does not explicitly contrast with fetch_results.

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 saying dataset_id comes from list_datasets, which gives the agent a clear prerequisite. However, there is no explicit when-to-use guidance, no when-not-to-use guidance, and no named alternative for other fetching scenarios.

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