Skip to main content
Glama

Delimit Deploy Site

delimit_deploy_site
Destructive

Deploy static or Next.js site changes by committing and pushing to Vercel, triggering a production build; pair with verification to confirm rollout health.

Instructions

Ship a static / Next.js site via git push to the Vercel pipeline (Pro).

When to use: to deploy UI / site changes (typically delimit-ui or a venture marketing site) — this performs the commit, push, and triggers the Vercel build that produces the production deployment. Pair with delimit_deploy_verify on the resulting deploy URL to confirm rollout health. When NOT to use: to publish an npm package (use delimit_deploy_npm), to push container images (delimit_deploy_publish / delimit_deploy_build), or to roll back (delimit_deploy_rollback).

Sibling contrast: delimit_deploy_publish ships container images; delimit_deploy_npm publishes packages; this is the static-site / Vercel flavour. Compared to running git push by hand, this wraps the push with sanitisation, governance hooks, and (for delimit-ui) the public ChatOps URL env var.

Side effects: requires repo_path and is gated by require_premium. project_path must remain inside repo_path. The safe default commits only the existing index; staged_only=false requires explicit repo-relative paths and never uses git add -A. Vercel binding is pulled/validated before Git mutation. A timeout after push returns status=pending, commit SHA, and a delimit_deploy_verify continuation rather than raising. On success this performs LOCAL git operations and triggers a NETWORK deploy (Vercel build webhook). For the delimit-ui project, injects only the public ChatOps URL into the build context; no credential is ever injected as a NEXT_PUBLIC_* value. No rollback — use delimit_deploy_rollback if the deploy regresses.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "delimit_deploy_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNoDeployment application identity, separate from filesystem context.
pathsNoExplicit repo-relative paths to stage; set staged_only=false when used.
messageNoGit commit message for the deploy commit.
repo_pathNoRequired explicit Git worktree root; never derived from MCP server cwd.
staged_onlyNoDeploy only the existing index. Safe default: true.
project_pathNoSite directory inside repo_path, or an absolute path inside it..
vercel_timeoutNoSeconds to wait for Vercel after push before returning pending (10-600).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv4.13.2
    • addedInput schema / properties / app
      Added value: +{
      +  "default": "",
      +  "description": "Deployment application identity, separate from filesystem context.",
      +  "type": "string"
      +}
    • addedInput schema / properties / paths
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Explicit repo-relative paths to stage; set staged_only=false when used."
      +}
    • changedInput schema / properties / project_path / description
      Previous value: -"Path to the site project. Default \".\" (cwd). Sanitized — must not escape the workspace root."New value: +"Site directory inside repo_path, or an absolute path inside it."
    • addedInput schema / properties / repo_path
      Added value: +{
      +  "default": "",
      +  "description": "Required explicit Git worktree root; never derived from MCP server cwd.",
      +  "type": "string"
      +}
    • addedInput schema / properties / staged_only
      Added value: +{
      +  "default": true,
      +  "description": "Deploy only the existing index. Safe default: true.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / vercel_timeout
      Added value: +{
      +  "default": 60,
      +  "description": "Seconds to wait for Vercel after push before returning pending (10-600).",
      +  "type": "integer"
      +}
  2. Changed2 schema fields changedv4.7.9
    • addedInput schema / properties / message / description
      Added value: +"Git commit message for the deploy commit."
    • addedInput schema / properties / project_path / description
      Added value: +"Path to the site project. Default \".\" (cwd). Sanitized — must not escape the workspace root."
  3. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and destructiveHint=true; the description goes well beyond that by disclosing local git mutation plus a network Vercel build trigger, pre-mutation Vercel binding validation, the safe staged_only default and the rule that staged_only=false never uses git add -A, timeout behaviour (status=pending with commit SHA and a verify continuation instead of raising), and the absence of rollback. It even scopes secret handling (only the public ChatOps URL is injected, never as NEXT_PUBLIC_*), which is exactly the kind of risk context an agent needs before a destructive deploy.

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?

Well structured with labelled sections and the core action front-loaded in the first line. Minor redundancy: the no-rollback point is made twice (in 'When NOT to use' and again in the closing sentence), and Vercel/git-push framing is restated across sections.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a seven-parameter destructive deploy with an output schema, the description covers prerequisites (premium gating), safety defaults, failure modes, and post-deploy continuation, so return values are correctly left to the output schema. Nothing an agent needs in order to invoke it safely is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine constraints not present in the schema text: repo_path is effectively required despite zero required parameters, project_path must remain inside repo_path, and paths only apply with staged_only=false. It stops short of explaining app or vercel_timeout beyond what the schema already says.

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 ('Ship a static / Next.js site via git push to the Vercel pipeline') and immediately distinguishes itself from four named siblings (delimit_deploy_npm, delimit_deploy_publish, delimit_deploy_build, delimit_deploy_rollback). The 'Sibling contrast' paragraph reinforces the distinction, so an agent can pick this over the container/npm flavours without opening any schema.

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?

Explicit 'When to use' and 'When NOT to use' sections name the alternative tool for each excluded case (npm publishing, container images, rollback). It also gives a positive follow-up pairing with delimit_deploy_verify, so the agent knows the next step as well as the selection rule.

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

Deploy Server

Other Tools