Skip to main content
Glama
Google Workspace MCP connector

Google Workspace MCP connector

by animesh-ex

script_deploy

Creates a new Apps Script project version and deployment so you can run the script as an API executable or publish it as a web app.

Instructions

Create a new version and a deployment of an Apps Script project. Needed before script_run (as an API executable) or to publish a web app (set webApp in the manifest first).

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": {
      "scriptId": "<scriptId>"
    },
    "name": "script_deploy"
  }
}

Input Schema

NameRequiredDescriptionDefault
scriptIdYes
descriptionNoDeployed by Claude
deploymentIdNoUpdate this existing deployment instead of creating a new one

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.7.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare a non-read-only, open-world, non-destructive mutation, and the description adds the useful prerequisite that webApp must be set in the manifest first. However, it says nothing about what the operation produces (version number, deployment ID) or what happens to existing deployments when deploymentId is supplied, which matters for a mutating tool.

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 with no filler; the core action leads and the prerequisite guidance follows. Every clause carries information an agent needs.

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 mutation tool with no output schema and a keyword-only schema, the description covers the action and prerequisites but leaves the return value and the update-vs-create semantic gap unaddressed. An agent can call it, but cannot predict what it gets back or how to chain into script_run.

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

Parameters2/5

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

Schema description coverage is only 33%: scriptId is required but undocumented in both the schema and the description, and the description parameter is only implied by the default value. The description adds no meaning about what scriptId refers to or how the description string is used, so it fails to compensate for the coverage gap.

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 specific verb and resource: create a version and a deployment of an Apps Script project. It implicitly covers the deploymentId path ('create a new version and a deployment'), though it never says it can update an existing deployment, so an agent must read the schema to discover that scope.

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 concrete when-to-use conditions: required before script_run as an API executable, or before publishing a web app, and it names the sibling script_run explicitly. There is no explicit when-not-to-use guidance and no mention of script_update_files as a prior step, but the ordering advice is actionable.

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