Skip to main content
Glama
takleb3rry

Zitadel MCP

by takleb3rry

zitadel_remove_user_grant

DestructiveIdempotent

Remove a role grant from a user by grant ID. Requires confirm: true; omit to preview the action.

Instructions

Remove a role grant (authorization) from a user by grant ID. Requires confirm: true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userIdYesThe user ID
confirmNoMust be true to execute. Omit to preview the action.
grantIdYesThe grant / authorization ID to remove

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.0.0
    • changedInput schema / properties / grantId / description
      Previous value: -"The grant ID to remove"New value: +"The grant / authorization ID to remove"
  2. First observedv1.0.2

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description reinforces this with the confirm gate and the preview-if-omitted behavior, but that same detail is already in the schema, so it adds limited new context (no permission requirements, no effect on other grants).

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, with the action stated first and the confirm requirement front-loaded as the second sentence.

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 whose safety hints are already in annotations, and with no output schema to explain, the description plus schema give the agent enough to call it correctly. Missing only privilege/scope context, which keeps it from a 5.

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 coverage is 100%, so all three parameters are already documented, including the confirm/preview semantics. The description only restates the grant-ID targeting, adding nothing the schema does not already say — baseline 3.

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 ('Remove a role grant (authorization) from a user by grant ID'), which cleanly separates it from siblings like zitadel_create_user_grant and zitadel_list_user_grants without needing to name them.

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?

Gives one hard prerequisite ('Requires confirm: true'), which is genuinely useful, but offers no when-to-use vs. alternatives guidance and no exclusions — e.g. it never distinguishes itself from revoke_org_manager or offboard_user, which also remove access.

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