Skip to main content
Glama

redeploy

Pull the latest Git changes, rebuild, and restart an existing application on a Google Cloud VPS to update a deployed project.

Instructions

Redeploy an existing project. Pulls latest changes, rebuilds, and restarts the application.

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": {
      "projectId": "<projectId>",
      "instanceName": "<instanceName>",
      "projectPath": "<projectPath>"
    },
    "name": "redeploy"
  }
}

Input Schema

NameRequiredDescriptionDefault
branchNoGit branch to pullmain
rebuildNoForce rebuild
projectIdYesGoogle Cloud project ID
projectPathYesPath to the project on VPS
instanceNameYesVPS instance name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden, and it does disclose the operation sequence: pull latest changes, rebuild, restart. It omits important traits for a mutating operation such as downtime during restart, permission requirements, whether a failure mid-sequence leaves the app stopped, and whether the call blocks until completion.

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 short sentences, front-loaded with the action and followed by the concrete steps it performs. Nothing is redundant and nothing needs trimming.

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?

For a five-parameter mutation tool with no annotations and no output schema, the description explains what happens operationally but not the outcome: no statement of return value, success/failure signaling, or side effects on a running service. Adequate as a summary, incomplete for safe 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 all five parameters are already documented, including branch and rebuild defaults. The description adds no meaning beyond the schema, which is acceptable at this coverage level but earns only the baseline.

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 states a clear verb and resource ("Redeploy an existing project") and enumerates the three phases it performs. The qualifier "existing" distinguishes it from create_project, but it never contrasts itself with deploy_project, so the sibling boundary remains ambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Existing project" implicitly signals this is not for first-time setup, which weakly separates it from create_project/deploy_project. There is no explicit when-to-use, when-not-to-use, or named alternative, so the agent must infer the choice.

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