Skip to main content
Glama

Update deployment

deployment_update
DestructiveIdempotent

Rename or enable/disable an existing deployment; disabling blocks new work. Requires owner/admin and deployments:admin scope for narrowed credentials. Use deployments_list to find its slug, deployment_policy_update for execution limits or scripting, and deployment_create for a new workspace. Returns the updated slug and ok flag.

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": {
      "deployment": "<deployment>"
    },
    "name": "deployment_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew human-readable deployment name, if changing it.
disabledNoWhether to disable this deployment for new work.
deploymentYesdeployment slug

Output Schema

NameRequiredDescriptionDefault
okYes
slugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, so the safety profile is covered; the description adds real context on top: the operational consequence of disabling (blocks new work) and the permission requirement (owner/admin plus deployments:admin scope for narrowed credentials). It stops short of stating reversibility explicitly or what happens to in-flight work when a deployment is disabled, which is the main remaining behavioral gap.

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 primary action and its effect are front-loaded, and the routing sentence is dense but purposeful. The trailing "Returns the updated slug and ok flag" is largely redundant given a declared output schema, which is the one sentence that does not fully earn its place.

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 small mutation tool with three parameters, the definition covers purpose, prerequisites, side effects, sibling alternatives, and return shape. Return details are already in the output schema, so no meaningful gap remains for correct invocation.

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 baseline is 3; the schema already explains name, disabled, and the deployment slug. The description reinforces that the identifier is a slug and that name changes are renames, but adds no format, constraint, or edge-case guidance beyond the structured fields.

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?

States specific verbs and resource: "Rename or enable/disable an existing deployment", plus the concrete effect that "disabling blocks new work." An agent can distinguish this from deployment_create and deployment_policy_update without opening any 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 routing is given for every plausible alternative: deployments_list to resolve the slug, deployment_policy_update for execution limits or scripting, deployment_create for a new workspace. This is a when-to-use/when-not-to-use map rather than an implication.

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