Skip to main content
Glama

Governance Alter User

governance_alter_user
Destructive

Modify a Snowflake user by setting or unsetting properties, or renaming the account; password and RSA key changes are rejected and confirmation is required.

Instructions

Alter a user: SET, UNSET, or RENAME TO. Password and RSA key properties are rejected. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/alter-user

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "user_name": "<user_name>"
    },
    "name": "governance_alter_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
rename_toNo
user_nameYesQuote names that aren't all uppercase, exactly as list tools return them.
set_propertiesNo
unset_propertiesNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.3.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, so the safety profile is covered. The description adds genuinely new behavior: two property classes (password, RSA keys) are rejected outright, and a confirmation step is required before the mutation proceeds. It still does not say what happens when confirm is false or omitted, but the added restrictions are concrete.

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

Conciseness4/5

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

Four short front-loaded sentences plus a reference URL; the key constraint (password/RSA rejection) and the confirmation requirement appear before the link. There is no filler, though the documentation URL is doing work the prose could have done.

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?

For a destructive 5-parameter mutation with a low schema-coverage ratio, the description leaves gaps: the allowable property keys for set_properties and the exact confirm semantics are unspecified. Annotations and the output schema cover the safety profile and return shape, so what remains is a moderate but real omission around the two opaque parameters.

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 only 20% (only user_name is documented), so the description carries extra burden. It partially compensates by mapping the three modes to set_properties, unset_properties and rename_to and by flagging the confirm gate, but it never explains what keys set_properties accepts or what unset_properties entries look like.

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

Purpose4/5

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

States the specific verb and resource (alter a user) and enumerates the three supported modes: SET, UNSET, RENAME TO, which map cleanly onto the schema's set_properties, unset_properties and rename_to fields. That is enough to separate it from governance_create_user, governance_drop_user and governance_describe_user without opening schemas, though no sibling is named.

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?

Use is implied by the operation list and by 'Password and RSA key properties are rejected', which acts as a partial when-not constraint, plus 'Requires confirmation' hints at a confirm-first workflow. There is no explicit statement of when to prefer this over create/drop/grant siblings or any prerequisite guidance.

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