Skip to main content
Glama

export_data

Export a complete copy of your account's data (GDPR Articles 15 and 20), or check on one. Owner only: sign in with start_login first (a connection with only an API key is refused user_session_required). The first call starts the export; it is prepared in the background, and the account owner is told by email (or on their login channel) with a link that downloads it only while they are signed in — this tool never returns the data itself. Call again to see whether it is ready: an export already preparing or ready is reported instead of starting another. One new export per 24 hours (no limit while the account is scheduled for deletion); the file is kept for 7 days. Pass export_id to read one export's status.

ACCESS: needs a Proof account, signed in: call start_login, show the user its challenge, then wait_for_login, then call this tool again. Authenticating this client alone does NOT open this tool.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "export_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
export_idNoRead this export's status instead of the latest one

Output Schema

NameRequiredDescriptionDefault
idNo
errorNo`too_large` — more than one download can carry (no partial file is ever produced; contact support); `internal` — a failure on our side (start a new export at once, the daily limit was given back)
countsNoRows per section of the file
latestNo
statusNo`preparing` while the job runs; `ready` once the file can be downloaded; `failed` with `error`
ready_atNo
receiptsNoReceipts of the account's downloads, newest first (the latest 20)
expires_atNoThe export and its file are deleted at this time — 7 days after the request
size_bytesNoSize of the compressed file as stored
requested_atNo
download_pathNoPath of the download route while `ready`, else null
downloaded_atNoThe first download, if any

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "counts": {
      +      "description": "Rows per section of the file"
      +    },
      +    "download_path": {
      +      "description": "Path of the download route while `ready`, else null"
      +    },
      +    "downloaded_at": {
      +      "description": "The first download, if any"
      +    },
      +    "error": {
      +      "description": "`too_large` — more than one download can carry (no partial file is ever produced; contact support); `internal` — a failure on our side (start a new export at once, the daily limit was given back)"
      +    },
      +    "expires_at": {
      +      "description": "The export and its file are deleted at this time — 7 days after the request"
      +    },
      +    "id": {},
      +    "latest": {},
      +    "ready_at": {},
      +    "receipts": {
      +      "description": "Receipts of the account's downloads, newest first (the latest 20)"
      +    },
      +    "requested_at": {},
      +    "size_bytes": {
      +      "description": "Size of the compressed file as stored"
      +    },
      +    "status": {
      +      "description": "`preparing` while the job runs; `ready` once the file can be downloaded; `failed` with `error`"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  3. Changed2 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / export_id
      Added value: +{
      +  "description": "Read this export's status instead of the latest one",
      +  "pattern": "^[a-f0-9]{24}$",
      +  "type": "string"
      +}
  4. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Despite annotations only covering readOnly=false/destructive=false, the description discloses the important behavior: the export is prepared in the background, delivery is by email/login-channel link rather than a return value ('this tool never returns the data itself'), one export per 24 hours, 7-day retention, and reuse of an in-progress export instead of starting a new one. It also surfaces the auth failure mode (user_session_required) — genuinely useful context beyond structured fields.

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 core behavior is front-loaded and each sentence carries real information (rate limit, retention, idempotency, non-return of data). The trailing ACCESS paragraph restates the login flow already mentioned in the first paragraph, which is mild redundancy but does consolidate setup steps for the agent.

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 stateful, auth-gated export tool with an output schema present, the description covers everything an agent needs: auth sequence, async semantics, rate limits, retention, and how to poll. Return-value details can be left to the output schema, which exists.

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 coverage is 100%, so the export_id parameter is already documented with a pattern and purpose. The description nonetheless adds interaction-level meaning — that supplying export_id turns the call into a status read rather than a new export request — which goes slightly beyond the schema's wording.

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 description names a specific verb and resource ('Export a complete copy of your account's data') and grounds it in GDPR Articles 15 and 20. It immediately distinguishes the two modes — starting an export versus checking on one — so an agent can tell what the tool does before opening the schema.

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 gives explicit when-to-use mechanics: 'The first call starts the export' and 'Call again to see whether it is ready,' plus the export_id variant for reading a specific export. It also names the required prerequisite siblings (start_login, then wait_for_login) and states the owner-only restriction, leaving little to inference.

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.