Skip to main content
Glama

List execution processes

list_processes
Read-onlyIdempotent

Lists execution history for Google Apps Script processes, with filters for script, status, time, and function to monitor runs or identify failed and timed-out executions.

Instructions

Lists execution processes (the execution history): each entry carries projectName, functionName, processType (WEBAPP, EXECUTION_API, TIME_DRIVEN, TRIGGER, SIMPLE_TRIGGER, ADD_ON, EDITOR, MENU, BATCH_TASK), processStatus (COMPLETED, FAILED, TIMED_OUT, RUNNING, PAUSED, CANCELED, DELAYED, UNKNOWN), userAccessLevel, startTime and duration. With script_id only that script's executions are listed; without it, ALL executions started by the authorizing user across their scripts. To hunt errors, filter statuses=["FAILED","TIMED_OUT"] — but note the API returns no error messages or logs here, only the fact and time of failure: get the message by re-running via run_function, or from the Apps Script dashboard / Cloud Logging. start_time/end_time (RFC3339 UTC) bound the process start; paginate with page_token. Requires the script.processes scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typesNoOnly these launch types (EXECUTION_API = run_function calls, TIME_DRIVEN = clock triggers).
end_timeNoOnly processes started before this RFC3339 UTC timestamp.
statusesNoOnly these process states, e.g. ["FAILED","TIMED_OUT"] for error hunting.
page_sizeNoProcesses per page (1..50; API default 50).
script_idNoLimit to this script's executions; omit for all of the caller's executions.
page_tokenNonextPageToken from the previous page.
start_timeNoOnly processes started at or after this RFC3339 UTC timestamp.
deployment_idNoOnly processes of this deployment.
function_nameNoOnly processes that ran this function.
Behavior5/5

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

Beyond the readOnlyHint and idempotentHint annotations, the description discloses important behavioral details: the API returns only failure facts and times, not error messages; with script_id it scopes to one script, without it the scope is all executions by the authorizing user; and it requires the script.processes scope. This is exactly the kind of context that helps an agent anticipate results and avoid misuse.

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 dense but every sentence serves a purpose: it states the resource, enumerates return fields, explains scoping behavior, gives error-hunting guidance, covers time/pagination, and notes auth scope. Information is front-loaded and logically organized.

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

Completeness5/5

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

For a listing tool with no output schema, the description is notably complete: it specifies return fields, scoping rules, filtering semantics, pagination, failure behavior, and required OAuth scope. An agent has enough context to call this tool correctly and interpret its results.

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

Parameters4/5

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

Schema coverage is already 100%, so the baseline is 3. The description adds meaningful semantics beyond the schema: it explains the script_id omission behavior, that start_time/end_time bound process start time, that page_token paginates, and how statuses relate to error hunting. This is a real value-add over the schema alone.

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 states a specific verb and resource: 'Lists execution processes (the execution history)', and enumerates the exact fields returned. This clearly distinguishes it from sibling tools like list_versions, which list versions rather than execution history.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly covers when to use this tool, such as filtering 'statuses=["FAILED","TIMED_OUT"]' to hunt errors, and explains a key limitation: no error messages or logs are returned. It names alternatives like run_function and the Apps Script dashboard/Cloud Logging for retrieving actual error messages, giving clear routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/A1-x-Tech/mcp-google-apps-script'

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