Skip to main content
Glama

file_upload

Uploads a local file through a resumable transport; .vrchapp app packages stay private until inspected and committed.

Instructions

Upload a local regular file through the shared resumable file transport. App packages must use .vrchapp and remain private until inspect/commit.

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": {
      "path": "<path>",
      "purpose": "<purpose>"
    },
    "name": "file_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
purposeYes
operationIdNo
workspaceIdNo
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

B3.1/5.0
Behavior3/5

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

Annotations already declare openWorldHint, non-idempotent, non-destructive write semantics. The description adds real value by disclosing resumability and the privacy window before inspect/commit, but says nothing about errors, overwrite behavior, or host targeting requirements.

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?

Two short sentences, front-loaded with the core action and followed by the constraint. No filler, though a clause on parameter meaning could replace nothing rather than pad.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With five parameters, 20% schema coverage, and no output schema, the description is too thin: four parameters and the return/status behavior are unexplained. For a write tool with resumable semantics, an agent needs more before calling confidently.

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

Parameters2/5

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

Schema description coverage is only 20% (only connectionRef is documented), so the description must compensate. It explains nothing about path, purpose enum values, operationId, or workspaceId, only indirectly hinting at the app-package purpose via the .vrchapp rule.

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?

States a specific verb and resource ('Upload a local regular file') plus the transport used ('shared resumable file transport'). It does not distinguish itself from siblings like file_download or apps_file_commit, but the action and object are unambiguous.

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?

Gives a conditional rule for app packages ('must use .vrchapp and remain private until inspect/commit'), which implies the intended handoff to inspect/commit. However, it never says when to choose this tool over file_download or the apps_import_* flow, so usage is only implied.

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