Skip to main content
Glama

Prepare Workspace Action

prepare_workspace_action

Preview and bind a Google Workspace action to a one-time commit token, enabling safe execution of consequential changes.

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
errorNoError message or structured error details when the call failed.
impactNoResponse field: impact.
statusNoMachine-readable operation status.
contextNoIdentifying request arguments echoed back with an error.
resourceNoStable cross-tool Workspace resource handle when applicable.
expires_atNoResponse field: expires at.
next_actionNoResponse field: next action.
commit_tokenNoResponse field: commit token.
provider_statusNoHTTP status code returned by the Google API for a failed call.
Behavior3/5

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

Annotations already indicate non-read-only, open-world, non-idempotent behavior; the description adds value by noting the token is 'short-lived one-time' and that the action is 'consequential.' However, it does not disclose what 'preview' entails, token expiration mechanics, or potential side effects beyond what annotations provide.

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 with no wasted words. It conveys the core purpose and key behavioral characteristic ('short-lived one-time commit token') efficiently.

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?

Given the tool's role in a prepare/commit protocol, the description is complete enough to understand the basic function, but it omits mention of the companion 'commit_workspace_action' or any follow-up step. The output schema and annotations cover some context, but the protocol dependency is not explained.

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?

The schema already documents both parameters with 100% coverage, including the enum list for 'tool_name' and a clear description for 'arguments.' The description adds no additional parameter details, so it does not exceed the baseline set by the schema.

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 clearly states what the tool does: 'Preview and bind one consequential action to a short-lived one-time commit token.' It uses specific verbs ('preview', 'bind') and identifies the resource (action, token), effectively distinguishing it from the sibling 'commit_workspace_action' by emphasizing the binding step rather than execution.

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 description implies the tool is used as a preparatory step for a consequential action, but it does not explicitly state when to use it versus alternatives like 'commit_workspace_action' or 'call_tool.' There is no direct mention of a workflow or conditions that should trigger its use.

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