Skip to main content
Glama

Turn Zero Cloud for Backend & Hosting

Rename application

tzcloud_rename_application
Destructive

Rename an application: pass application and the new name. The readable name and the hostname change together, because the address is the name joined to a platform-minted key. A fresh key is minted when the approved action runs, so you learn the new address from the outcome. The previous address stops responding for good. Links to it break. End users signed in on it must sign in again on the new address. Passkeys they registered on it stop working. Tell the account's owner this before you call. The call creates a pending action and returns the approval URL. A person approves it in the browser. Read the outcome with read_approval_status. A name another live application of your account uses is refused name_taken, and the current name invalid_request.

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

Input Schema

NameRequiredDescriptionDefault
nameYesA lowercase slug such as `todo-api`. It becomes the readable half of a new hostname with a fresh platform-minted key, and the previous hostname stops responding for good. A name another live application of the account carries refuses `name_taken`; the current name refuses `invalid_request`.
request_idNoAny string you choose. A repeat from the same account while that pending action is live returns it again, creating no second one. Omitted, every call creates a new one.
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.4/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and openWorldHint=true, and the description goes well beyond them: it discloses that the old address stops responding permanently, links break, signed-in end users are forced to re-authenticate, and registered passkeys stop working. It also explains the asynchronous approval gate and the specific refusal codes (`name_taken`, `invalid_request`), giving the agent enough to reason about consequences before invoking.

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-loads the action and inputs, then moves to consequences, approval flow, and errors in a logical order, and the sentences are short and declarative. There is minor redundancy in restating the `name_taken`/`invalid_request` codes that the schema already documents, keeping it from a 5.

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 destructive, approval-gated mutation with no output schema, the description covers the inputs, the irreversible user-facing effects, the pending-action/approval lifecycle, how to retrieve the result, and the failure modes. Nothing material an agent needs to call this safely is missing.

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 `application`, `name`, and `request_id` are already well documented, including the slug pattern and idempotency semantics. The description echoes the `application`/`name` pairing and the hostname derivation but adds no parameter-level detail beyond the schema, so the baseline 3 applies.

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?

Opens with a specific verb and resource ("Rename an application") and immediately states the required inputs. The description makes clear this changes hostname identity, not a cosmetic label, which separates it from siblings like tzcloud_create_application or tzcloud_delete_application.

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?

Gives concrete pre-call guidance ("Tell the account's owner this before you call") and post-call routing ("Read the outcome with `read_approval_status`"), which is exactly the workflow an agent needs. It stops short of stating when not to rename or naming an alternative for label-only changes, so it falls just below a 5.

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