Skip to main content
Glama

deployments.redeploy

Build and deploy a new version from an existing deployment configuration. For managed databases, use only for recovery; use database operation tools for configuration changes.

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_id": "<deployment_id>"
    },
    "name": "deployments.redeploy"
  }
}

Input Schema

NameRequiredDescriptionDefault
deployment_idYesdeployment identifier
organization_idNoorganization membership to use for this call; omit only when the account has one current membership

Output Schema

NameRequiredDescriptionDefault
deploymentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

The annotations already declare openWorldHint=false and destructiveHint=false, and the description adds meaningful non-obvious context: this operation builds as well as deploys, and on managed databases it is a recovery-only path. However, it says nothing about whether the deploy is asynchronous, whether existing traffic/versions are interrupted, or whether it creates a new release record — all material for a deploy action with no readOnlyHint.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences: the core action comes first, then the conditional caveat. Every clause carries information and nothing is repeated from the schema or title.

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?

With an output schema present, return values need no explanation, and the description covers purpose plus a key restriction. The remaining gap is operational predictability — async behavior and relationship to rollback/restart — which would be needed for full confidence in choosing this tool.

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% and both parameters (deployment_id and the optional organization_id) carry their own documented semantics, so the schema does the heavy lifting. The description adds no extra meaning about identifiers or the single-membership edge case, which is the correct baseline for fully documented parameters.

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?

The description names a specific compound action (build and deploy) on a specific resource (a new version from an existing deployment configuration), which is far more informative than the bare name. It implicitly separates itself from configuration-changing siblings via 'from an existing deployment configuration,' but never names deployments.configure, restart, or rollback, so the agent must still infer the boundary from those siblings' own descriptions.

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?

It gives an explicit conditional rule — for managed databases, redeploy is for recovery only, and configuration changes belong to database operation tools — which is genuine when/when-not guidance. It stops short of routing the agent between redeploy, restart, rollback, and release.run, which are the closest competing choices for ordinary apps.

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