Skip to main content
Glama

Turn Zero Cloud for Backend & Hosting

Deploy files

tzcloud_deploy_files
Destructive

Deploy an application with inline content or files in its storage areas.

No folder path or ZIP is accepted. With a shell and the app's whole folder, use tzcloud_deploy_command where it works. With a shell, use the upload route beyond this tool's total or entry caps. Use tzcloud_deploy_files wherever the command cannot run, or for a disposable simple test app's first deploy.

One complete files call starts deployment. Your files must contain no secret values. Unreadable binary content needs an app storage area and a user upload. Get the page's address from tzcloud_read_status's dashboard, passing brief: false. Ask your user to sign in there and use Upload a file.

A non-platform response leaves the start uncertain. A retry needs tzcloud_read_status to show that deployment did not start.

Details: read_documentation /cloud/getting-started/ways-to-deploy/.

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_deploy_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNoKeeps one file before a list call, for content too large for that call.
filesNoComplete version. A server needs root `package.json`; a serverless application does not. Omitted files are absent. Omitted library copies fill only from manifest `packages`, with `[]` filling none. The result lists `missing`. With none missing, it deploys, or checks with `check_only`.
check_onlyNoTrue keeps accepted files and runs pre-deploy checks without starting or counting a deploy. It returns deploy refusals, or `files_checked` with deploy notes.
applicationYesYour account's application `id` from `tzcloud_list_applications`, not its name or label.
environmentNoDefault deploy target: production with one environment, development with two.
wait_secondsNoOn a starting call, seconds to wait for its end. Unfinished deploys give `tzcloud_read_status` in `next`.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the destructive and open-world annotations, it discloses that no folder path or ZIP is accepted, that files must contain no secret values, that unreadable binary content requires a storage area and user upload, and that a non-platform response leaves the start uncertain with a retry gated on `tzcloud_read_status`. These are substantive operational constraints and failure-handling details.

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 purpose and main alternatives are front-loaded, and nearly every sentence carries a distinct rule or caveat. Some phrasing is dense and slightly convoluted, such as 'With a shell and the app's whole folder, use ... where it works,' which slows parsing but does not waste space.

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 complex mutation tool with nested objects and no output schema, the description covers alternatives, caps, secret handling, binary upload routing, retry semantics, and result fields like `missing`, `refused`, `kept`, and `files_checked`. Exact cap values and deploy authentication requirements are left implicit or deferred to documentation, but the definition is otherwise complete enough to invoke correctly.

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 description coverage is 100%, so the schema already documents `file`, `files`, `check_only`, `application`, `environment`, and `wait_seconds`. The description still adds meaningful constraints beyond the schema, notably that no folder path or ZIP is accepted and that file content must not contain secret values.

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 states a specific verb and resource ('Deploy an application') and scopes it to 'inline content or files in its storage areas.' It explicitly distinguishes this tool from `tzcloud_deploy_command` and the upload route, so an agent can select it without opening sibling schemas.

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 routing rules: use `tzcloud_deploy_command` when a shell and whole folder are available, use the upload route beyond total or entry caps, and use this tool where the command cannot run or for a disposable simple test app's first deploy. The alternatives and conditions are concrete rather than implied.

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