Skip to main content
Glama

deploy_project

Deploy a GitHub repository to a Google Cloud VPS by cloning the repo, installing dependencies, and starting the application.

Instructions

Deploy a project from GitHub to the VPS. Clones repo, installs dependencies, and starts the application. You can use project name or ID.

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>",
      "repoUrl": "<repoUrl>"
    },
    "name": "deploy_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
portNoApplication port
branchNoGit branch to deploymain
repoUrlYesGitHub repository URL
projectIdYesGoogle Cloud project ID or name (e.g., "my-project" or "Mi Proyecto Producción")
nodeVersionNoNode.js version20
buildCommandNoBuild command (if needed)
instanceNameYesVPS instance name
startCommandNoCommand to start the applicationnpm start
installCommandNoCommand to install dependenciesnpm install

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/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, and it does disclose the meaningful side effects: it clones a repo onto a server, installs dependencies, and starts a process. It omits critical behavioral facts for a mutation tool, such as whether an existing deployment is overwritten, expected duration, failure/rollback behavior, and required VPS access or credentials.

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?

Three short sentences that are front-loaded with the action and then the mechanics; no filler. The final sentence is low value since it restates schema content, but it costs little.

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 nine-parameter, non-idempotent deployment tool with no annotations and no output schema, the description covers the happy path but leaves prerequisites and result reporting unaddressed. An agent would not know whether a VPS must already exist or what to expect on success/failure.

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% across all nine parameters, so defaults for port, branch, nodeVersion, install/start/build commands are already documented. The description's only parameter claim ('project name or ID') duplicates the projectId schema text and adds no new meaning.

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 ('Deploy a project from GitHub to the VPS') and enumerates the three steps performed (clone, install, start), so the agent knows exactly what the operation does. It does not distinguish itself from the sibling 'redeploy', which is the closest-looking alternative.

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

Usage Guidelines2/5

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

The description gives no when-to-use guidance: nothing says whether this is for first-time deploys only, how it differs from 'redeploy', or whether 'vps_setup'/'recommend_vps' must run first. The only usage-adjacent sentence ('You can use project name or ID') is about identifier format, not tool selection.

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