Skip to main content
Glama
Reservoir MCP

Reservoir MCP

by joshavenue

Download Reservoir files

reservoir_download
Idempotent

Downloads whole Parquet datasets to the local Reservoir data folder, preserves bucket folder layout, and skips existing files for repeated analysis.

Instructions

Like aws s3 cp: save whole Parquet files to the local Reservoir folder (RESERVOIR_DATA_DIR, default ~/reservoir-data), keeping the bucket's folder layout. Files already there are skipped. Use for repeated analysis.

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": "<dataset>"
    },
    "name": "reservoir_download"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoUTC. A date ("2026-10-26"), date-time ("2026-10-26T14:00:00Z"), relative ("7d", "24h") or Unix ms. A date-only end includes that whole day. Default: the newest day in Reservoir.
startNoUTC. A date ("2026-10-26"), date-time ("2026-10-26T14:00:00Z"), relative ("7d", "24h") or Unix ms. A date-only end includes that whole day. Default: the newest day in Reservoir.
venueNoVenue for by_dex datasets.
marketNoNeeded for order-book datasets.
datasetYesDataset key, as in reservoir_list_files.
max_download_mbNoStop if the estimated download is larger than this many MB (default 1024). Raise it only if the user accepts the AWS cost.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, but the description adds the concrete mechanism: files land in a specific local folder, keep the bucket's layout, and existing files are skipped, which explains the idempotency rather than restating it. It does not mention network/credential requirements or what happens on partial failure, so it stops short of 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the analogy and the destination path, then idempotency, then the use case. Nothing is redundant and every sentence carries information.

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 an output schema present and full parameter documentation, the description only needs to convey the side effects and the intent, which it does. The remaining gap is the absence of any explicit comparison to the sibling query tools for an agent deciding between downloading and querying in place.

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 100%, so dataset, start/end, venue, market, and max_download_mb are all documented in the schema, including cost warnings and defaults. The description adds no parameter-level detail beyond the schema, so the baseline 3 applies.

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 gives a concrete verb+resource ('save whole Parquet files') plus the exact destination (RESERVOIR_DATA_DIR, default ~/reservoir-data) and layout behavior (bucket folder structure preserved). The `aws s3 cp` analogy and 'whole Parquet files' phrasing implicitly separate it from query-style siblings like reservoir_query, but no sibling is named outright.

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?

'Use for repeated analysis' is the only usage cue, and it implies when this beats querying remotely without stating the alternative or any exclusion. There is no guidance on when not to download (e.g., one-off lookups) or how it relates to reservoir_query / reservoir_orderbook.

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