Skip to main content
Glama

Governance List Grants Of Role

governance_list_grants_of_role
Read-onlyIdempotent

Lists all grantees of a Snowflake role to audit role membership and access assignments.

Instructions

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": {
      "role_name": "<role_name>"
    },
    "name": "governance_list_grants_of_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
role_nameYesQuote names that aren't all uppercase, exactly as list tools return them.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.3.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so safety is fully covered. The description adds nothing beyond that—no note on what SHOW GRANTS-style output looks like, whether results are filtered to the current account, or what happens if the role doesn't exist. The URL implies behavior rather than stating it.

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?

Two short fragments, front-loaded with the core operation, with zero padding. The trailing URL is a mild punt to external docs but costs little space.

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?

The output schema and annotations relieve the description of explaining return values and safety, and one required parameter is fully documented in schema. However, for a tool whose identity is only separated from a sibling by the preposition "of" vs "to", the missing disambiguation is a meaningful completeness gap.

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%, and the schema itself explains the quoting rule for non-uppercase role names. The description adds no additional meaning about role_name, so the baseline 3 applies—the schema does all the work.

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?

"List grantees of a role" gives a clear verb and resource, but it is nearly indistinguishable from the sibling governance_list_grants_to_role, and the description does nothing to explain the distinction (grants OF a role vs grants TO a role). An agent must guess which of the two near-identical names to call.

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?

No when-to-use guidance, no exclusions, and no named alternative despite several closely related siblings (governance_list_grants_to_role, governance_list_grants_to_user, governance_list_grants_on_object). The bare documentation URL is the only pointer, and it points to SQL rather than to sibling selection.

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