Skip to main content
Glama
Google Workspace MCP Server

Google Workspace MCP Server

by akilja24

delete_deployment

Deletes an Apps Script deployment by script project ID and deployment ID, returning a confirmation message. Use it to remove obsolete deployments and clean up project versions.

Instructions

Deletes a deployment.

Args: service: Injected Google API service client user_google_email: User's email address script_id: The script project ID deployment_id: The deployment ID to delete

Returns: str: Confirmation message

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": {
      "user_google_email": "<user_google_email>",
      "script_id": "<script_id>",
      "deployment_id": "<deployment_id>"
    },
    "name": "delete_deployment"
  }
}

Input Schema

NameRequiredDescriptionDefault
script_idYes
deployment_idYes
user_google_emailYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.13.1

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing: it does not state that deletion is irreversible, whether the underlying script or versions survive, what permission or auth scope is required, or what happens when the deployment ID does not exist. The only behavioral detail offered is a generic 'confirmation message' return, which the output schema already covers.

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

Conciseness3/5

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

The core sentence is front-loaded and efficient, and the Args block earns its place given zero schema coverage. But the entry for the non-existent 'service' parameter and the Returns section (redundant with the existing output schema) are wasted or misleading content.

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

Completeness2/5

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

For a destructive, unannotated three-parameter mutation tool, the definition is under-specified: it omits irreversibility, side effects, and failure modes. The output schema covers return values, but nothing covers the risk profile an agent needs before invoking a delete.

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?

With 0% schema description coverage, the Args block does add meaning by labeling script_id as the script project ID, deployment_id as the ID to delete, and user_google_email as the user's email. However, it also documents a 'service' parameter that does not exist in the input schema, which can mislead an agent into thinking an extra argument is expected, and it adds no format or validation detail for the actual 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 gives a specific verb and resource ('Deletes a deployment'), which is unambiguous about what the tool does. It does not distinguish itself from siblings such as create_deployment or update_deployment, and it never says what kind of deployment (Apps Script script deployment) is being removed, so it stops short of a 5.

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?

There is no when-to-use guidance, no prerequisites, and no warning that the operation is permanent. An agent gets no signal about when to prefer this over updating or recreating a deployment, or what conditions must hold before calling it.

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