Skip to main content
Glama

Ferrite

Deploy a release to an environment

deploy_release
Destructive

Deploy a cut RELEASE to an ENVIRONMENT (env: prod | staging | canary | any [a-z0-9-]). 'prod' deploys the app's canonical id; another env deploys a derived '{app}-{env}' with its OWN subdomain, record, and instances (so staging and prod run side by side). The platform runs it AND advances the environment's audit log. It runs as a durable operation (the attested build, the deploy, then the environment's pointer as its LAST step), so a large application's gates never hold the call: it returns BuildStarted{build_id} at once; poll build_status -- deployed once the environment's pointer names the release (with the host and generation), pointer_denied if the environment's deploy authority refused the advance (the application still deployed). Do NOT resubmit while it is building.

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>",
      "env": "<env>",
      "release": "<release>"
    },
    "name": "deploy_release"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint=true, openWorldHint=true, idempotentHint=false): it discloses the durable three-step ordering ending with the environment pointer advance, the immediate BuildStarted{build_id} return, the audit-log side effect, and the partial-failure state pointer_denied where the app deployed but authority refused the advance. The 'do not resubmit' warning also compensates for idempotentHint=false by telling the agent how to behave.

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-loaded with the core action and the prod/derived-env distinction, and every sentence carries real information about behavior or failure modes. It is dense, though: heavy capitalization and long parenthetical clauses like the durable-operation sentence make it slower to parse than necessary.

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, non-idempotent mutation with no output schema, it covers return shape, async polling, failure states, and environment isolation, which is most of what an agent needs. The remaining gaps are the undocumented 'instances' parameter and any mention of auth/token expectations for this write operation.

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 coverage is only 20%, so the description has to carry parameter meaning. It does well on env (pattern, prod vs derived semantics) and implies release must be a cut release, but 'app' and especially 'instances' are never explained, leaving two of five parameters undocumented in both places.

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 ('Deploy a cut RELEASE to an ENVIRONMENT') and immediately disambiguates the scope that matters: 'prod' targets the canonical app id while any other env targets a derived '{app}-{env}' with its own subdomain, record, and instances. That distinction separates it cleanly from siblings like cut_release and rollback_release.

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 a clear exclusion ('Do NOT resubmit while it is building') and explicitly routes the agent to build_status for polling, naming the terminal states to look for. It implies the release must already be cut but never states the prerequisite tool or when to prefer rollback_release instead, so guidance is strong but not exhaustive.

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.