Skip to main content
Glama

Run setup steps 1-2 with gcloud

gcloud_setup

Prepare a Google Cloud project and enable the Drive API with gcloud CLI. Plan-only mode surfaces commands for approval; confirm mode runs them, including auth login when required.

Instructions

For users who have the gcloud CLI: prepare a Google Cloud project and enable the Drive API on the user's behalf. Without confirm it only reports what it would run (planned_commands) — show that to the user and ask for approval. With confirm: true it runs those commands (and gcloud auth login, opening a browser, if gcloud has no active account). Steps 3-4 (consent screen, Desktop-app OAuth client) cannot be automated and are returned as next_steps with project-scoped Console links, plus console_form with sample values for every field (show it to the user as a table).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNoDefault false (plan only). true = execute the planned commands.
project_idNoProject ID to use or create. Default: gcloud's current project, else a generated drivelift-xxxxxxxx.
login_if_neededNoDefault true. With confirm, run `gcloud auth login` when no gcloud account is active.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations, the description discloses important behavior: without confirm it only reports planned commands; with confirm it executes commands, may run `gcloud auth login`, and may open a browser if no account is active. It also reveals that a project may be created or generated, and that steps 3-4 are returned as next_steps—all useful side-effect context for an agent.

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 well-structured: it front-loads the core purpose, then explains the two execution modes, then clearly summarizes what the tool cannot do. Every sentence contributes a distinct fact, and there is no filler or repetition of the title.

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?

With no output schema present, the description adequately covers the key returned artifacts: planned_commands, next_steps, and console_form with sample values. It also explains the side-effect behavior and the division between automated steps and manual steps, giving an agent enough information to call the tool correctly and interpret its output.

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 the schema already documents all three parameters well. The description adds context around the overall execution flow, but it largely mirrors the parameter descriptions for confirm, project_id, and login_if_needed rather than adding meaning beyond them. Baseline 3 is appropriate because the schema carries the semantic weight.

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 names a specific verb and resource: prepare/configure a Google Cloud project and enable the Drive API for users with the gcloud CLI. It also distinguishes itself from the remaining setup steps by explicitly saying steps 3-4 cannot be automated and are returned as next_steps, making its scope clear against sibling tools.

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

Usage Guidelines4/5

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

The description gives clear guidance: it is for users who have the gcloud CLI, and it fully explains the two modes—plan-only without confirm, and execution with confirm—so an agent knows when to ask for approval. It does not name sibling tools as alternatives, but it does state the boundary between what this tool can do and what must remain as next_steps.

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