Skip to main content
Glama
kutleloove

google-cloud-console-mcp

by kutleloove

Set project IAM policy

gcp_set_project_iam_policy

Replace the entire IAM policy for a GCP project, overwriting all existing role bindings. Fetch the current policy first to preserve bindings you want to keep.

Instructions

Replaces the entire IAM policy for a project. Prefer gcp_add_project_iam_binding / gcp_remove_project_iam_binding for a single role change — this overwrites everything, so fetch with gcp_get_project_iam_policy first if you need to preserve existing bindings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bindingsYesFull replacement list of role bindings
projectIdNoGCP project id; defaults to GOOGLE_CLOUD_PROJECT env var if omitted

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does disclose the critical destructive trait ('overwrites everything') plus a read-before-write workflow. It does not mention required permissions, idempotency, or error behavior, leaving some gaps for a high-impact mutation.

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?

Two sentences, zero waste. The destructive scope is front-loaded before the alternative-tool guidance, which is exactly the ordering an agent needs.

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

Completeness4/5

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

For a destructive mutation with no annotations and no output schema, the description covers the essential what-happens and safe-workflow context. It stops short of permissions or return/error semantics, but nothing precludes correct invocation.

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 bindings, role, members, and projectId including the env-var default. The description adds no syntax or format detail beyond the schema, so the baseline of 3 applies.

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?

States a specific verb and resource ('Replaces the entire IAM policy for a project') and makes the overwrite semantics explicit. It is immediately distinguishable from the add/remove binding siblings without opening any schema.

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?

Explicitly routes the agent: use gcp_add_project_iam_binding / gcp_remove_project_iam_binding for single-role changes, and fetch with gcp_get_project_iam_policy first to preserve existing bindings. Both the alternative and the selection condition are stated.

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

Deploy Server

Other Tools