Skip to main content
Glama

prepare_workspace

Create a managed workspace or restore a saved Google Drive checkpoint on a fresh VM, so coding agents can resume work without manual setup.

Instructions

Create a managed workspace or restore its latest Drive checkpoint on a fresh VM.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "prepare_workspace"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectNodefault

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and largely drops it. It does not say whether this is destructive to an existing workspace, what a "fresh VM" implies for cost or state, whether it requires auth or a prior checkpoint, or what happens if a workspace already exists.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single well-formed sentence with no filler, which is good, but the pronoun in "restore its latest Drive checkpoint" has no clear antecedent and the compound create/restore structure packs two behaviors into one clause rather than front-loading one clear purpose.

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?

For a provisioning tool with no annotations, no output schema, and an undocumented parameter, the description should cover return value (workspace identifier, runtime handle), preconditions, and side effects. None of that is present, so an agent cannot tell what it gets back or what state it leaves behind.

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?

The schema has one parameter (project, defaulting to "default") with 0% description coverage, and the description never mentions it. The agent gets no meaning for project here beyond the type and default, so the description fails to compensate for the schema gap.

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

Purpose3/5

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

The description names a specific verb and resource ("Create a managed workspace"), but bundles a second, different operation ("restore its latest Drive checkpoint") into the same sentence without saying how the mode is chosen. Critically, a sibling tool named restore_workspace exists, and nothing here distinguishes this tool's restore path from that one, so an agent cannot cleanly route between them from the description alone.

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?

There is no when-to-use guidance, no statement of prerequisites, and no explanation of what triggers create-vs-restore behavior for a caller. With siblings like restore_workspace and save_workspaces present, the absence of any routing or exclusion language leaves selection to guesswork.

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