Skip to main content
Glama

activate_deployment

Bring a deactivated deployment back online by re-activating its current active revision, without pushing a new revision.

Instructions

Re-activates a deployment's current active revision, marking it as desired to be served.

Use this to bring a deactivated deployment back online without pushing a new revision. :param deployment_id: ID of the deployment. :returns: The updated deployment or error message.

The output is automatically stored and can be referenced in other functions. Returns a formatted preview with an object ID (e.g., @obj_123). Use the object store tools in combination with the object ID to view nested properties of the object. Use the returned object ID to pass this result to other functions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deployment_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.27

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the effective side effect ('marking it as desired to be served') and that it avoids a new revision, plus the return shape, but is silent on permissions/authorization, idempotency, and reversibility for what is a mutation.

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 and usage are front-loaded in the first two sentences. The remainder is repetitive object-store boilerplate ('The output is automatically stored...', 'Use the returned object ID...') that restates the same idea multiple times and dilutes the signal.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

It covers purpose, usage, and return handling, but with no annotations and no output schema it should do more: it omits auth requirements and, importantly, fails to disambiguate from the sibling 'activate_deployment_revision', which is the biggest risk for this 1-param mutation tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for the single required parameter. ':param deployment_id: ID of the deployment.' merely restates the schema title ('Deployment Id') and adds no format, identifier source, or lookup guidance.

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 and resource ('Re-activates a deployment's current active revision') and even scopes it as the current active revision without pushing a new one. However, it never acknowledges or distinguishes itself from the near-identical sibling 'activate_deployment_revision', which an agent selecting between the two would need.

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?

Explicitly states when to use it: 'to bring a deactivated deployment back online without pushing a new revision', which contrasts with a revision-pushing flow. No explicit when-not or named alternatives (e.g., deactivate_deployment, update_deployment) are offered, so it stops short of full routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools