Skip to main content
Glama
Google Workspace MCP Server - Control Gmail, Calendar, Docs, Sheets, Slides, Chat, Forms & Drive

Google Workspace MCP Server - Control Gmail, Calendar, Docs, Sheets, Slides, Chat, Forms & Drive

Manage Script Version

manage_script_version

Create immutable snapshots of a script project's current code, with an optional description, so you can preserve a restorable version before making changes.

Instructions

Create immutable version snapshots of a script project.

Versions capture a snapshot of the current script code; once created they cannot be modified.

Actions: - "create": Create a new version from the current code. Optional description.

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>",
      "action": "<action>",
      "script_id": "<script_id>"
    },
    "name": "manage_script_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes"create".
script_idYesThe script project ID.
descriptionNoOptional description for the new version (create only).
user_google_emailYesUser's email address

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.28.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-destructive, non-idempotent, open-world operation. The description adds genuinely useful behavior beyond that: versions are immutable once created and capture the current code at creation time, which explains the non-idempotent hint without contradicting it.

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?

The description is short and front-loads the core statement plus the immutability caveat. The single-item "Actions" block is somewhat redundant for a tool with only one action, but it is not wasteful.

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?

With annotations covering the safety profile, a fully documented 4-parameter schema, and an output schema handling return values, the description supplies exactly the missing piece: what a version is and that it is immutable. Nothing needed for correct invocation is absent.

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 the schema already documents action, script_id, description, and user_google_email. The description only restates that description is optional and create-only, adding no syntax or format detail beyond the schema.

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: creating immutable version snapshots of a script project's code. That is clearly distinguishable from the read-only sibling get_script_version, though the description never names the sibling explicitly.

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?

The action list implicitly narrows usage to "create" only, which tells an agent what the tool accepts, but there is no explicit guidance on when to snapshot versus when not to, and no mention of alternatives such as get_script_version for reading existing versions.

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