Skip to main content
Glama

set_permissions

Replace the complete access control list for a Databricks object to enforce exact permissions and remove any entries not specified.

Instructions

Set (replace) the complete access control list for an object. This will remove any existing permissions not specified.

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>",
      "access_control_list": "<access_control_list>"
    },
    "name": "set_permissions"
  }
}

Input Schema

NameRequiredDescriptionDefault
object_idYesUnique identifier of the object
object_typeYesType of object to set permissions on
access_control_listYesArray of access control entries

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/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. It does disclose the key destructive trait — "This will remove any existing permissions not specified" — but says nothing about required privileges (owner/admin), whether the call is atomic, or what happens if an entry is malformed.

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?

Two short sentences with no filler, and the replacement semantics are front-loaded in the first sentence with the destructive consequence immediately following.

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 three-required-parameter mutation tool with no annotations and no output schema, the description covers the most important risk (silent removal of unlisted permissions) but leaves out privilege requirements and error behavior an agent would want before invoking it.

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%, so all three parameters and the nested ACL entry fields are already documented. The description adds one useful semantic point — that access_control_list must be exhaustive rather than additive — which is the baseline-plus contribution expected at this coverage level.

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 pairs a specific verb with a specific resource: "Set (replace) the complete access control list for an object." The parenthetical "replace" disambiguates it from an incremental grant, though it never names the sibling tools (update_permissions, grant_unity_catalog_permissions) it differs from.

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?

"Complete" and "replace" imply the tool should be used when the caller wants the ACL to end up exactly as provided, but there is no explicit when-to-use or when-not-to-use guidance, and no mention of the add/update siblings an agent could pick instead.

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