Skip to main content
Glama

Turn Zero Cloud for Backend & Hosting

Request data export

tzcloud_request_export

Export an application's database and stored files. Use export_account for declarations. Pass application, and the environment defaults to production. Read tzcloud_read_export until completed, then pass download: true and export. Run one returned command for your system outside the application's folder. Use your account's credential or an application-bounded token in a session or job. The application's platform credential cannot start or download.

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": {
      "application": "<application>"
    },
    "name": "tzcloud_request_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
exportNoThe export's id, from `tzcloud_request_export`. The export must be completed: a running or failed one is refused `export_not_completed`, and an id the application does not hold, or an export whose files no longer exist, is refused 404 `not_found`.
downloadNo`true` returns the line that downloads a completed export's files, naming `export`, in place of starting an export. An application's platform credential is refused it.
local_pathNoOptional: the folder on your machine for the export, absolute or relative to where the line runs. Absent, the line writes `export-<export id>` where it runs, refused if that folder holds `package.json`. A path outside the pattern, `~`, or one opening `~/` or `~\` is refused `invalid_request`.
applicationYesThe id of the application whose database and files the export reads, one of your account's; `tzcloud_list_applications` returns it.
environmentNoExport environment, default production; omit beside `download: true`, which takes its environment from the export.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.9/5.0
Behavior5/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, openWorldHint=false — the description adds substantial context beyond that: the async polling requirement, that the returned command must run outside the application's folder, the credential types accepted and refused (platform credential cannot start or download), and default environment behavior. That's real behavioral disclosure for a multi-step workflow.

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?

Dense but front-loaded: purpose first, then alternative, then the step sequence, then execution mechanics, then credential rules. Every sentence carries distinct operational 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?

Covers the full request→poll→download cycle and credential constraints without an output schema. Missing minor items: what the initial response returns (export id is implied), and rate/expiry behavior of exports. Still complete enough for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although schema coverage is 100%, the description ties parameters into the workflow: which app, environment defaulting to production, and the export+download pairing with the ordering constraint. This adds operational meaning that the schema alone doesn't convey.

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?

States a specific verb+resource: 'Export an application's database and stored files.' It also distinguishes from the sibling export_account ('Use export_account for declarations'), which an agent can use to route correctly.

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?

Explicitly names the alternative (export_account) and the condition that selects it, plus the full workflow sequence: request → read tzcloud_read_export until completed → download:true with export. Also states credential requirements and what credentials are refused.

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