Skip to main content
Glama
Google Workspace MCP Server

Google Workspace MCP Server

by ChinmayNakwa

Get Script Project

get_script_project
Read-onlyIdempotent

List Apps Script projects or retrieve a project's source files by script ID, so you can inspect and read script code and metadata.

Instructions

Read Apps Script projects and their source files.

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>"
    },
    "name": "get_script_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesOne of "list", "get".
file_nameNoOptional source file name for get.
page_sizeNoNumber of results per page for list (default: 50).
script_idNoThe script project ID (required for get).
page_tokenNoPagination token for list (optional).
user_google_emailYesUser's email address

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.1

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already cover safety: readOnlyHint=true, idempotentHint=true, destructiveHint=false. The description simply restates the read nature and adds the 'source files' scope, but it does not add contextual behavior such as mode differences (list vs get) or pagination; this is acceptable because annotations carry the safety burden.

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?

The description is a single front-loaded sentence that states the core operation without filler. Every word contributes to selection.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the 100% schema coverage, robust annotations, and presence of an output schema, the description is largely sufficient. It is brief but would benefit from explicitly noting the list-versus-get action modes or pointing to manage_script_content for edits; still, it provides enough context to select correctly.

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 every parameter including action, script_id, file_name, page_size, and page_token is already documented. The description adds no parameter-level meaning beyond the schema, which meets the high-coverage baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses the specific verb 'Read' with a clear resource scope, 'Apps Script projects and their source files.' This directly differentiates it from sibling tools like manage_script_project, get_script_version, and get_script_activity, which concern different resources or operations.

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 read-oriented wording implies it should be used when an agent needs to inspect Apps Script projects or files, but the description offers no explicit when-to-use/when-not-to-use guidance or named alternatives such as manage_script_content or get_script_activity.

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