Skip to main content
Glama

Prepare Workspace Action

prepare_workspace_action

Preview and bind a Google Workspace action (e.g., send email, update event) to a one-time commit token for safe, delayed execution.

Instructions

Preview and bind one consequential action to a short-lived one-time commit token.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argumentsYesExact keyword arguments to bind and later execute unchanged for tool_name.
tool_nameYesFull name of the consequential tool to prepare; must be one of ['calendar_update_event', 'drive_create_permission', 'gmail_batch_modify', 'gmail_send_email', 'sheets_batch_update_spreadsheet']. Other tools do not use the prepare/commit protocol.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
impactNoResponse field: impact.
statusNoMachine-readable operation status.
resourceNoStable cross-tool Workspace resource handle when applicable.
expires_atNoResponse field: expires at.
next_actionNoResponse field: next action.
commit_tokenNoResponse field: commit token.
Behavior3/5

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

Annotations indicate readOnlyHint=false, openWorldHint=true, and no destructive/idempotent hints. The description adds that the action is 'consequential' and the token is 'short-lived' and 'one-time,' providing some behavioral context. However, it does not explain side effects, preview behavior, or token lifecycle beyond that.

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?

The description is a single concise sentence with no extraneous information. However, its brevity sacrifices some clarity; it could benefit from a slightly longer explanation without becoming verbose.

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

Completeness2/5

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

Given the tool's role in a prepare/commit protocol and the presence of an output schema (not shown), the description is incomplete. It does not explain that after preparation, the agent must call 'commit_workspace_action' with the token, nor does it describe the output. This leaves the agent without crucial workflow context.

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 baseline is 3. The description adds minimal meaning beyond the schema: it repeats the schema's description for 'arguments' and does not elaborate on 'tool_name.' The phrase 'short-lived one-time commit token' provides some context but is not parameter-specific.

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?

The description clearly states the tool's function: previewing and binding a consequential action to a short-lived commit token. It effectively distinguishes itself from the sibling 'commit_workspace_action' by implying a two-step protocol, though it could be more explicit about the 'preview' aspect.

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

Usage Guidelines2/5

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

The description does not provide explicit guidance on when to use this tool versus alternatives. While the input schema constrains tool_name to specific tools that use the prepare/commit protocol, the description itself lacks clear context for decision-making.

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/guinacio/mcp-google-workspace'

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