Skip to main content
Glama

Ferrite

Promote a release between environments

promote
Destructive

Promote the release 'from_env' names into 'to_env' (e.g. staging -> prod), once it has landed in 'from_env'. Until then it is refused by a first word: RELEASE_ON_TRIAL, RELEASE_MOVED and RELEASE_UNREAD ask you to promote again, and RELEASE_FAILED, RELEASE_NOT_RUNNING and RELEASE_GONE need a deploy first. Returns BuildStarted{build_id}; poll build_status as for deploy_release.

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": {
      "app": "<app>",
      "from_env": "<from_env>",
      "to_env": "<to_env>"
    },
    "name": "promote"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYes
tokenNofallback bearer for clients that cannot send an Authorization header; when a header is present omit this argument, because a different token is refused
to_envYes
from_envYes
instancesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations (destructive=true, idempotent=false, openWorld=true) by disclosing refusal behavior at the level of specific first-word error codes and how each maps to a next action. It also states the return shape (BuildStarted{build_id}) and the required polling pattern, which the annotations cannot convey.

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?

Two sentences, zero filler, with the core action and precondition front-loaded before the failure taxonomy. The error-code enumeration is dense but each code is load-bearing; the token guidance is correctly left to the schema rather than restated.

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 destructive cross-environment mutation with no output schema, it covers the precondition, refusal handling, and return/polling contract, which is most of what an agent needs. It stops short of explaining blast radius (what happens to the existing target-environment deployment), permissions/auth requirements, or the unused 'instances' parameter.

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 only 20% (only 'token' is documented), so the description carries real weight: it explains the from_env/to_env relationship, the example mapping, and the 'has landed' constraint. However, 'app' and 'instances' get no meaning at all, and from_env/to_env still lack format details such as app-scoped env identifiers, leaving clear gaps.

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 a specific verb and resource ('Promote the release') plus the exact source/target parameter binding ('from_env' names into 'to_env') and a concrete example (staging -> prod). An agent can distinguish it from deploy_release or cut_release without opening schemas.

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?

Explicitly gives the precondition ('once it has landed in from_env') and then routes on failure: RELEASE_ON_TRIAL/RELEASE_MOVED/RELEASE_UNREAD mean retry promote, while RELEASE_FAILED/RELEASE_NOT_RUNNING/RELEASE_GONE mean run a deploy first. It also names the follow-up step (poll build_status as for deploy_release), so both the when and the what-next are covered.

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.