Skip to main content
Glama

Snowflake Create Role

snowflake_create_role

Create a new role in Snowflake to manage user access and permissions, optionally adding a comment or skipping creation if it already exists.

Instructions

Create a new role in Snowflake.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commentNo
role_nameYes
if_not_existsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv1.2.0
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / comment / title
      Removed value: -"Comment"
    • removedInput schema / properties / if_not_exists / title
      Removed value: -"If Not Exists"
    • removedInput schema / properties / role_name / title
      Removed value: -"Role Name"
    • removedInput schema / title
      Removed value: -"snowflake_create_roleArguments"
    • removedOutput schema / title
      Removed value: -"snowflake_create_roleDictOutput"
  2. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true, so the safety profile is covered structurally. The description adds no behavioral context beyond that - nothing about required privileges, whether the operation is idempotent given if_not_exists defaults to true, or what happens on conflict or failure. It carries no information the annotations do not already provide.

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?

A single front-loaded sentence with no filler or redundant clauses. It is efficient, though the brevity here reflects under-specification rather than tight editing.

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 mutating creation tool with an output schema (so return values need not be explained), the description still omits the essentials: required privileges, the meaning of if_not_exists, and any placement relative to sibling role/object-creation tools. An agent cannot call this confidently from the description alone.

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?

Schema description coverage is 0% across three parameters (role_name, comment, if_not_exists), and the description supplies no meaning for any of them. In particular, if_not_exists defaulting to true and the optional comment field are completely undocumented, so the description fails to compensate for the coverage 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 states a specific verb and resource (create a role in Snowflake), so the operation itself is unambiguous. However, it is essentially a restatement of the tool name/title and offers no differentiation from related siblings like snowflake_drop_role, snowflake_describe_role, or snowflake_create_user. It is clear but adds almost nothing beyond what the name already tells the agent.

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 guidance on when to use this tool versus alternatives, no mention of prerequisites such as the required privilege to create roles, and no note on when if_not_exists behavior is relevant. The agent must infer usage entirely from the name.

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