Skip to main content
Glama

apps_file_export

Read-only

Creates a fixed download snapshot of a relative file in the current App workspace, returning its reference and SHA-256 for later download without changing the preview or saving the App.

Instructions

Create a fixed download snapshot of a relative file in the current App workspace. Returns its reference and sha256; use file_download with app-workspace. Does not change preview or save the App.

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": {
      "workspaceId": "<workspaceId>",
      "path": "<path>"
    },
    "name": "apps_file_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
workspaceIdYes
connectionRefNoThe host connection to act on, as returned by terminal_connect (for example vrch-110.vrch.ai). Required when several hosts are connected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / connectionRef
      Added value: +{
      +  "description": "The host connection to act on, as returned by terminal_connect (for example vrch-110.vrch.ai). Required when several hosts are connected.",
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds meaningful context beyond that: the snapshot is fixed/point-in-time (later changes don't affect it), it returns a reference plus sha256, and it leaves preview and saved App state untouched. It does not mention snapshot lifetime or cleanup, which would complete the picture.

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?

Three short sentences, front-loaded with the core action, followed by the return value and the explicit non-effects. No filler; the only slight ambiguity is the terse 'use file_download with app-workspace' phrasing.

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 3-parameter tool with no output schema, the description adequately conveys what is created and what comes back (reference and sha256). The remaining gap is snapshot lifecycle/expiry and workspaceId semantics, minor against the covered essentials.

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 coverage is only 33%, so the description carries part of the load: it clarifies that path is relative to the current App workspace and that a reference/sha256 come back. workspaceId is required but unexplained, and connectionRef's multi-host requirement is only documented in the schema.

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 and resource (create a fixed download snapshot) plus the scope (a relative file in the current App workspace). It also distinguishes itself from the file_download sibling by naming it and the handoff condition.

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?

Clearly indicates the follow-up flow: use file_download with app-workspace to actually retrieve the file, and states the negative case (does not change preview or save the App). It does not cover alternatives such as apps_export_begin, so it stops short of a full when/when-not routing map.

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