Skip to main content
Glama

Google Apps Script MCP Server

by mohalmah

get_script_metrics

Retrieve detailed metrics data for Google Apps Script projects by specifying script ID, deployment ID, and granularity to analyze performance and usage effectively.

Instructions

Get metrics data for Google Apps Script projects.

Input Schema

NameRequiredDescriptionDefault
access_tokenYesOAuth access token for authorization.
deploymentIdYesThe ID of the deployment to filter metrics.
fieldsYesSelector specifying which fields to include in a partial response.
keyYesAPI key for the request.
metricsGranularityYesThe granularity of the metrics data.
oauth_tokenYesOAuth 2.0 token for the current user.
prettyPrintNoWhether to return the response with indentations and line breaks.
scriptIdYesThe ID of the script project.

Input Schema (JSON Schema)

{ "properties": { "access_token": { "description": "OAuth access token for authorization.", "type": "string" }, "deploymentId": { "description": "The ID of the deployment to filter metrics.", "type": "string" }, "fields": { "description": "Selector specifying which fields to include in a partial response.", "type": "string" }, "key": { "description": "API key for the request.", "type": "string" }, "metricsGranularity": { "description": "The granularity of the metrics data.", "type": "string" }, "oauth_token": { "description": "OAuth 2.0 token for the current user.", "type": "string" }, "prettyPrint": { "description": "Whether to return the response with indentations and line breaks.", "type": "boolean" }, "scriptId": { "description": "The ID of the script project.", "type": "string" } }, "required": [ "scriptId", "deploymentId", "metricsGranularity", "fields", "key", "access_token", "oauth_token" ], "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