Skip to main content
Glama
Google Workspace MCP connector

Google Workspace MCP connector

by animesh-ex

script_logs

Read-only

Retrieves recent Apps Script executions with function, status, duration, and start time to check triggers and diagnose failures.

Instructions

Recent executions of an Apps Script project (function, status, duration, start time) — use to check triggers and failures.

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": {
      "scriptId": "<scriptId>"
    },
    "name": "script_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageSizeNo
scriptIdYes
functionNameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.7.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds the useful fact that results are "recent" executions and lists the fields returned, partially substituting for the absent output schema. It says nothing about pagination limits (pageSize caps at 200), retention window, or ordering, which matters for a log-listing tool.

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?

A single compact sentence that front-loads the resource and parenthesizes the returned fields, with the use case after a dash. No wasted words, though the brevity is partly the cause of the missing parameter guidance.

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

Completeness3/5

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

With no output schema, the field list in the description is valuable, and readOnly/openWorld annotations cover the safety profile. The gaps are the three undocumented parameters and the absence of any note on recency window or result ordering, which an agent needs to call this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the load and it does not: scriptId, functionName and pageSize are never mentioned. "function" appears only as a returned field, so it is ambiguous whether functionName acts as a filter, and there is no hint that pageSize controls result count.

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?

Names the resource precisely ("Recent executions of an Apps Script project") and enumerates what each record contains (function, status, duration, start time), so an agent can tell this is a read of execution history rather than a run or deploy operation like the script_run/script_deploy siblings. It lacks an explicit contrast clause naming those siblings, keeping it short of a 5.

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?

"use to check triggers and failures" gives a concrete motivating scenario, which is more than a bare purpose statement. However, it offers no when-not guidance and never states the relationship to script_run (i.e., run then read logs), leaving the agent to infer sequencing and alternatives.

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