Skip to main content
Glama

Google Apps Script MCP Server

by mohalmah

update_script_content

Modify and update the files within a Google Apps Script project by specifying the script ID and the files to be updated, ensuring project content stays current and accurate.

Instructions

Updates the content of a specified Google Apps Script project.

Input Schema

NameRequiredDescriptionDefault
filesYesThe files to be updated in the script project.
scriptIdYesThe ID of the script project to update.

Input Schema (JSON Schema)

{ "properties": { "files": { "description": "The files to be updated in the script project.", "items": { "properties": { "createTime": { "type": "string" }, "functionSet": { "properties": { "values": { "items": { "properties": { "name": { "type": "string" }, "parameters": { "items": { "properties": { "value": { "type": "string" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "lastModifyUser": { "properties": { "domain": { "type": "string" }, "email": { "type": "string" }, "name": { "type": "string" }, "photoUrl": { "type": "string" } }, "type": "object" }, "name": { "description": "The name of the file.", "type": "string" }, "source": { "type": "string" }, "type": { "description": "The type of the file.", "type": "string" }, "updateTime": { "type": "string" } }, "type": "object" }, "type": "array" }, "scriptId": { "description": "The ID of the script project to update.", "type": "string" } }, "required": [ "scriptId", "files" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mohalmah/google-appscript-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server