Skip to main content
Glama

Turn Zero Cloud for Backend & Hosting

Read app status

tzcloud_read_status
Read-onlyIdempotent

Read your application's record after an act or lost answer, before repeating it. Use tzcloud_list_versions for history and tzcloud_read_logs for lines. Each environments entry has a tzcloud_list_applications state. The first state that applies wins. deleting comes first, then halted, then deploying (a deploy, promote or restart runs). Next is deployed (a version serves), then failed (none serves and the latest failed), then never_deployed.

With wait_seconds (1 to 45), wait until no version row, upload or database move is in flight. settled: false means still in flight, not failed. At each deploy wait, tell your user the live step and time since step_started_at. Omit brief for build_progress. Say done only when your version serves and its deploy succeeded. A server holds one wait per application. A second for that application on that server returns at once, including waits in tzcloud_deploy or tzcloud_promote. Its settled comes from its own read.

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

Input Schema

NameRequiredDescriptionDefault
briefNoTrue keeps `contract_version`, `reference`, `summary`, shortened `application`, its `environments` each cut to whether it is up and its deploy member, `tables` where asked; no `timings` or database rows. Absent or false, the whole answer. That includes `dashboard`. Other values: `invalid_request`.
tablesNoWhere true, the database's table names are read under the platform's own connection and returned as `tables`; the read opens the application's database, so it runs on request alone.
applicationYesYour account's application `id` from `tzcloud_list_applications`, not its name or label.
environmentNo`development` or `production` (default) for the top-level members; another value is refused `invalid_request`, and naming `development` on an application without it is refused `environment_not_created`. The `environments` object holds every environment either way.
wait_secondsNoOptional: seconds to wait until no version row, upload or database move is in flight; out of range draws `invalid_request`.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare read-only/idempotent/open-world; the description adds the decisive behavior: the state precedence order (`deleting` > `halted` > `deploying` > `deployed` > `failed` > `never_deployed`, first that applies wins), the meaning of `settled: false` (in flight, not failed), and the per-server, per-application wait-stickiness rule. That is genuine behavioral disclosure an agent could not infer 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?

Front-loaded with purpose and alternatives, and nearly every clause carries a rule. A few sentences are compressed to the edge of ambiguity ("Its `settled` comes from its own read.", "The first state that applies wins"), and the wait mechanics are interleaved with return-field guidance rather than grouped, costing some skimmability.

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 5-parameter read tool with no output schema, the description supplies the return-shaping behavior (`brief`, `tables`, `environments` per-environment states), the waiting contract and its concurrency limit, and the error/refusal conditions tied to parameters. Nothing an agent needs in order to call it correctly and interpret the result is missing.

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 coverage is 100%, so the baseline is 3, but the description adds cross-parameter meaning: what a wait does, how `settled` should be interpreted, and the instruction to omit `brief` for `build_progress` while keeping `step`/`step_started_at` surfaced to the user. It also frames `tables` as a database-opening read, which reinforces the schema warning.

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+resource ("Read your application's record") and immediately distinguishes it from `tzcloud_list_versions` (history) and `tzcloud_read_logs` (lines). The framing phrase "after an act or lost answer" is slightly oblique as a purpose statement, but combined with the title and the routing to siblings an agent can identify the tool without opening the schema.

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?

Explicit when-to-use ("after an act or lost answer, before repeating it") plus named alternatives for the adjacent jobs. It also states prerequisites for a positive conclusion ("Say done only when your version serves and its deploy succeeded"), the wait-vs-poll choice via `wait_seconds`, and the concurrency rule that a second wait for the same application returns immediately, including waits held by `tzcloud_deploy`/`tzcloud_promote`.

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