Skip to main content
Glama

get_effective_permissions

Check the effective permissions a user, group, or service principal has on a Unity Catalog object, including inherited permissions.

Instructions

Get the effective permissions a principal has on a Unity Catalog object (including inherited permissions).

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": {
      "securable_type": "<securable_type>",
      "securable_name": "<securable_name>",
      "principal": "<principal>"
    },
    "name": "get_effective_permissions"
  }
}

Input Schema

NameRequiredDescriptionDefault
principalYesUser, group, or service principal to check permissions for
securable_nameYesFull name of the object
securable_typeYesType of Unity Catalog object

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the whole burden. It does disclose one genuinely useful behavioral trait — that inherited permissions are folded into the result rather than only direct grants — and 'Get' implies a read. However, it says nothing about required privileges, error behavior for unknown principals or objects, or whether results are hierarchical or a flat privilege list.

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?

A single front-loaded sentence with the object scope stated before the clarifying parenthetical. Nothing is wasted and the operative detail (inherited permissions) is not buried.

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 simple, read-only, three-parameter lookup with full schema coverage and no output schema, the definition is nearly sufficient. The remaining gap is that with no output schema the description never characterizes the return value (e.g., a list of privilege names), which would help an agent interpret results.

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% and all three required parameters are documented in-schema, including an enum constraining securable_type. The description adds no meaning beyond the schema — no note on securable_name formats per type, nor on how a service principal differs from a group for 'principal'. Baseline 3 applies.

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?

The description names a specific verb and resource ('Get the effective permissions ... on a Unity Catalog object') and adds a distinguishing qualifier, '(including inherited permissions)', which separates it conceptually from a plain get_permissions. It stops short of naming the sibling outright, so an agent must infer the distinction rather than being routed explicitly.

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?

Usage is only implied: the phrase 'effective permissions ... including inherited' hints this is the right call when inherited grants matter, but there is no explicit when-to-use statement, no mention of when to prefer get_permissions or get_permission_levels instead, and no prerequisites (e.g., needing ownership or admin rights to query).

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