Skip to main content
Glama

Export dataset

export_dataset

Queue a full immutable table export, or poll job_id. Browser delivery requires sign-in. signed_url returns a reusable cookie-free URL valid for 15 minutes with Range support; poll the same finished job to refresh it. Verify downloaded bytes using size_bytes and sha256 (compressed bytes for gzip). NDJSON streams one object per line. Personal data may require acknowledgement or browser delivery per workspace policy.

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>",
      "workspace_id": "<workspace_id>"
    },
    "name": "export_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
tableNo
formatNocsv
job_idNo
versionNo
deliveryNobrowser
dataset_idYes
compressionNo
workspace_idYes
acknowledge_personal_dataNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / acknowledge_personal_data
      Added value: +{
      +  "default": false,
      +  "title": "Acknowledge Personal Data",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / compression
      Added value: +{
      +  "anyOf": [
      +    {
      +      "const": "gzip",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Compression"
      +}
    • addedInput schema / properties / delivery
      Added value: +{
      +  "default": "browser",
      +  "enum": [
      +    "browser",
      +    "signed_url"
      +  ],
      +  "title": "Delivery",
      +  "type": "string"
      +}
    • changedInput schema / properties / format / enum
      Previous value: -[
      -  "csv",
      -  "xlsx",
      -  "json"
      -]New value: +[
      +  "csv",
      +  "xlsx",
      +  "json",
      +  "ndjson"
      +]
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare the generic profile (not read-only, not idempotent, not destructive). The description adds substantial behavior the annotations do not carry: exports are immutable snapshots, browser delivery needs an authenticated session, signed_url expires in 15 minutes but is reusable and supports Range requests, and can be refreshed by re-polling the same finished job. It also explains checksum semantics (sha256/size_bytes over compressed bytes when gzip) and policy gating on personal data.

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?

Front-loaded with the primary action and polling mode before detailing delivery, verification and policy. It is dense and mostly earns its sentences, though the telegraphic clauses ("NDJSON streams one object per line.") make it read as a list of facts rather than a guided paragraph.

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?

For a complex two-mode job tool, the description covers the decisions an agent must make: which mode, which delivery channel, how to validate the download, and when a policy acknowledgement is required. Since an output schema exists, the return shape need not be described; remaining gaps (version semantics, whether polling requires the same arguments) are modest.

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?

With 0% schema description coverage across 9 parameters, the description does meaningful work for delivery, job_id, compression and format (NDJSON is one object per line) and implies the role of acknowledge_personal_data. However, table, version, dataset_id and workspace_id are left entirely to naming inference, and the relationship between version and the "immutable" snapshot is never spelled out.

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?

The definition opens with a specific verb and resource — "Queue a full immutable table export" — and immediately names the second mode ("poll job_id"). The scope qualifier "full immutable table export" separates it from row/query siblings such as browse_dataset_rows and query_dataset without needing to name them.

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

Usage Guidelines4/5

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

It clearly routes between the two operating modes (queue a new export vs. poll an existing job_id) and explains the delivery trade-off: browser requires sign-in, signed_url is cookie-free and time-limited. It also flags that personal-data exports may need acknowledgement or browser delivery. There is no explicit "do not use this when…" exclusion against the query/browse siblings, so it falls short of a 5.

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