Skip to main content
Glama

Create upload

create_upload

Send an app that is on disk to spawnpoint, for deploy_project: the fast path when the app's files exist on disk (spawnpoint cannot read your disk), are more than a few small text files, or include images. Run the returned command with bash from the app's folder (it tars the folder and PUTs it in seconds), then call deploy_project with name, runtime, and the returned upload_id instead of files: the bytes travel over HTTP instead of through your context. The URL takes a gzipped tar, works exactly once, and expires in 30 minutes; a deploy_project refused before it starts (a bad name, a plan limit, a secret in the bundle) leaves the upload_id usable for the next try. An account holds at most three open uploads at a time (deploying one, or letting it expire, frees its slot), so reuse an upload URL you already have rather than minting another. Limits: uploads take bundles up to 200 MiB for an app that runs on a machine and 50 MiB for a static site (inline files in deploy_project are capped at 4 MiB per request, so this is the path for anything larger), and node_modules and .git must be excluded (dependencies install on the machine from package.json / requirements.txt).

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": "create_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
noteYes
commandYes
upload_idYes
upload_urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond annotations, it discloses crucial behavior: the URL works exactly once, expires in 30 minutes, accepts a gzipped tar, enforces per-account open-upload limits, and remains usable if deploy_project refuses before starting. It also gives size limits and required exclusions, which are not inferable from the annotations.

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 description is front-loaded with purpose and packed with operational details, with no obvious filler. However, it is a dense, run-on paragraph with parentheticals and semicolons; splitting it into shorter statements would improve scanability without losing information.

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 parameterless workflow tool, the description covers the full lifecycle: when to use it, how to run the returned command, how to pass upload_id to deploy_project, expiry and retry behavior, concurrency limits, size caps, and required exclusions. An output schema exists, so return-value details need not be described.

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?

This tool has zero input parameters, so there is no parameter schema for the description to enrich. The description instead explains the returned command and upload_id handoff to deploy_project, but the input-parameter dimension is inherently minimal here.

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 opens with a specific verb and resource: 'Send an app that is on disk to spawnpoint, for deploy_project.' It explicitly positions the tool as the fast path for deploy_project when files exist on disk or are larger than inline text files, distinguishing it from using deploy_project's inline files path.

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 criteria: files exist on disk, there are more than a few small text files, or images are included. It also tells the agent how to complete the workflow: run the returned bash command, then call deploy_project with the returned upload_id instead of files. It covers reuse of upload URLs and the three-open-upload limit.

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.