Skip to main content
Glama

create_script_project_tool

Create new Google Apps Script projects, either standalone or bound to Google Docs, Sheets, Forms, or Slides for document-specific automation.

Instructions

Create a new Apps Script project (standalone or bound to a document).

Args: title: Project title parent_id: Optional - the Google Drive ID of a container document to bind to. Leave empty for standalone scripts.

To create a BOUND script, pass the ID of: - Google Sheet (from the URL: docs.google.com/spreadsheets/d/{ID}/edit) - Google Doc (from the URL: docs.google.com/document/d/{ID}/edit) - Google Form (from the URL: docs.google.com/forms/d/{ID}/edit) - Google Slides (from the URL: docs.google.com/presentation/d/{ID}/edit) Bound scripts can use document-specific features like custom menus, onOpen triggers, and getActiveSpreadsheet().

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYes
parent_idNo

Latest Blog Posts

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/sam-ent/appscript-mcp'

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