Skip to main content
Glama

Turn Zero Cloud for Backend & Hosting

Submit app manifest

tzcloud_submit_manifest
Destructive

Declare or change your application's manifest, its services, region and permitted external hosts. Submission provisions declarations, except production's database and its issue space where the app keeps one per environment. Those are created at the first production deploy or promote. A deploy never adds a service or host as a side effect. Your code's settings are stored secrets or plain values. Declare outside API keys through upstreams or tzcloud_declare_outbound_api, whose description gives the exception. A deploy uses only the last submitted manifest. Submit edits to your project's manifest.json again before a deploy can use them. An edit to application alone is the exception. Use tzcloud_check_manifest to check without recording. Then follow this answer's next tzcloud_store_secret calls. Schedule bounds may refuse your declarations. The regions europe, uk, and global are refused region_unavailable.

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>",
      "manifest": "<manifest>"
    },
    "name": "tzcloud_submit_manifest"
  }
}

Input Schema

NameRequiredDescriptionDefault
manifestYesPass the whole manifest as a JSON object. Keep `application` if scaffold or deploy wrote it. That member is optional. The platform checks only that member's form. The call's application ID sets the target. See `manifest_schema`. A refusal gives the failing path. The platform reads no local files.
local_runNoOptional, on any submission, the first included. Beside `code_challenge`, `provisioning` holds the local run's line, which re-mints the local run's credentials when run and revokes those they replace; the answer withholds `credential` and `platform_credential`. Refused on a browser session's call.
applicationYesYour account's application `id` from `tzcloud_list_applications`, not its name or label.
code_challengeNoBeside `local_run` alone: the S256 challenge of a verifier the turnzero command keeps. The line's grant then re-mints only with that verifier, so a copy of the line re-mints nothing. Without it, `local_run` mints no grant and returns no line.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag this as a non-read-only, destructive, open-world mutation. The description adds substantial context beyond that: provisioning behavior and the production database/issue-space exception, the guarantee that a deploy never adds a service or host as a side effect, that only the last submitted manifest is used, and that certain regions and schedule bounds will be refused. Some sentences are garbled, but the behavioral disclosure is unusually rich for a mutation tool.

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?

Purpose is front-loaded, but the body is a dense run-on sequence of clauses with awkward phrasing such as "its issue space where the app keeps one per environment." Most statements carry real information, yet the ordering (output guidance in the middle, region refusals last) makes it harder to scan than it should be.

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, destructive, nested-schema mutation with no output schema, the description covers the important gotchas: provisioning side effects, manifest freshness requirements, alternative tools, and refusal conditions. It does not describe the response shape in detail, but the schema explains the `local_run`/`credential` behavior and the description points to the answer's `next` calls.

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 baseline is 3. The description still adds meaning about the manifest's contents, notably that `settings` hold stored secrets or plain values and that external API keys belong in `upstreams`, plus the exception where an edit to `application` alone takes effect without full resubmission.

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 gives a specific verb and resource: declare or change the application's manifest, services, region and permitted external hosts. It is clearly a submit/upsert operation and is distinguishable from check_manifest, though that differentiation comes later in the text rather than in the opening line.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It names concrete alternatives and the conditions that select them: use tzcloud_check_manifest to validate without recording, and declare outside API keys through `upstreams` or tzcloud_declare_outbound_api. It also tells the agent to resubmit edits before a deploy will use them. There is no explicit statement of when this tool is inappropriate beyond the check-only case.

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