Skip to main content
Glama

Turn Zero Cloud for Backend & Hosting

Check a deploy

tzcloud_check_deploy
Read-onlyIdempotent

Check whether the platform would refuse a deploy now. It never checks your code. First submit the manifest through tzcloud_submit_manifest. Use it before the first tzcloud_deploy_command or tzcloud_deploy_files and after fixing its findings. It writes nothing. After a deploy, last_release gives the target's serving version and outcome, health, smoke, errors since and schedules' last_run and next_due. It uses platform records, without application requests or console. last_release is null if no version serves. Clear refusals in order. Use each next given. An empty list with zip_checked: false clears state, never code. Check code in detail's order. Use without_command (tzcloud_deploy_files with check_only: true and your files), or run the returned check command from your application's folder. Tell the person your route and why.

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

Input Schema

NameRequiredDescriptionDefault
local_pathNoOn the check line: the application's folder or a `.zip` file, absolute or relative to where the command runs, passed as `check`'s `--path`. Absent, it checks that folder. A path `tzcloud_deploy_command`'s `local_path` refuses is refused `invalid_request`.
applicationYesYour account's application `id` from `tzcloud_list_applications`, not its name or label.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/openWorldHint/idempotentHint/destructiveHint, so 'It writes nothing' is redundant, but the description adds real behavioral context beyond them: it uses platform records 'without application requests or console' (no live traffic), refusal entries must be cleared in order and each `next` used, and an empty list with `zip_checked: false` means state-only, never code. That said, the phrasing is telegraphic and leaves key behaviors (e.g., what a refusal entry actually contains) implicit.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is correctly front-loaded in the first two sentences, but the remainder is a dense stream of fragmentary clauses that jump between timing, return values, refusal handling, and file-vs-command routing without paragraph or bullet structure. Several sentences ('Tell the person your route and why') are hard to parse and add little operational value.

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?

There is no output schema, so the description carries the burden of explaining returns, and it does cover the important shapes: `last_release` being null when no version serves, serving version/outcome/health/smoke/errors, `refusals` ordering, and `zip_checked`. For a two-parameter read-only check this is largely sufficient, though the cryptic vocabulary (`next`, `detail`'s order) would benefit from one concrete example.

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 description coverage is 100%, so the schema already documents both `application` and `local_path`, which sets the baseline at 3. The description adds a little by mentioning that `local_path` is passed as `check`'s `--path` and that a path refused by `tzcloud_deploy_command`'s `local_path` returns `invalid_request`, but it introduces the unclear `without_command`/`check_only` machinery without explaining how it maps onto the tool's actual inputs.

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?

The opening sentence is a precise verb+resource statement ('Check whether the platform would refuse a deploy now') and the immediate follow-up ('It never checks your code') draws a sharp boundary that separates it from code-checking or deploy-executing siblings. The remaining bulk of the description documents return fields (`last_release`, `refusals`, `next`, `zip_checked`, `detail`) rather than the tool's own purpose, which dilutes the otherwise strong opening.

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 preconditions ('First submit the manifest through `tzcloud_submit_manifest`'), timing relative to the actual deploy tools ('before the first `tzcloud_deploy_command` or `tzcloud_deploy_files` and after fixing its findings'), and concrete alternatives for running the check ('Use `without_command` (`tzcloud_deploy_files` with `check_only: true` and your files), or run the returned check command'). An agent knows when to call it, when not to, and what to do instead.

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