Skip to main content
Glama

get_permission_levels

Retrieves available permission levels for a specified Databricks object type and ID so you can determine which permissions can be granted.

Instructions

Get available permission levels for a specific object type (e.g., what permissions can be granted on clusters).

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": {
      "object_type": "<object_type>",
      "object_id": "<object_id>"
    },
    "name": "get_permission_levels"
  }
}

Input Schema

NameRequiredDescriptionDefault
object_idYesUnique identifier of the object
object_typeYesType of object

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/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 full behavioral burden; 'Get' implies a read-only lookup, but the description says nothing about permission requirements, whether results are scoped by object_id, or what the returned levels look like. It does at least state the returned concept (available permission levels), which is more than nothing.

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?

One front-loaded sentence with no waste; the parenthetical example earns part of its place by illustrating the use case, though it partially duplicates the enum already present in the schema.

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 two-parameter read lookup with a fully documented schema and no output schema, the description communicates enough to select and call the tool. The remaining gap is that it does not clarify the relationship to sibling permission-inspection tools or what the response shape is.

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% with descriptions and an enum, so the schema already documents both parameters, and the baseline is 3. The description adds a clarifying example of object_type usage but never mentions object_id, leaving a slight tension since the tool requires an object_id while purporting to return levels per object type.

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 uses a specific verb and resource ('Get available permission levels') and clarifies the scope with a concrete example ('what permissions can be granted on clusters'), which distinguishes it conceptually from get_permissions/get_effective_permissions. It never names those siblings explicitly, so an agent must infer the difference between 'what can be granted' and 'what is granted'.

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 implied by the example of discovering grantable permissions on clusters, but there is no explicit when-to-use rule and no pointer to get_permissions or get_effective_permissions as the alternatives for inspecting existing grants. An agent can guess the context, but it is not stated.

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