Skip to main content
Glama

set_dataset_permission

Set a user's direct role (read, write, or admin) on a specific dataset in a provider bucket; requires admin or dataset-management permission.

Instructions

Direkte Dataset-Rolle für einen Nutzer setzen.

role: read|write|admin. Erfordert Admin- oder Dataset-Verwaltungsrecht.

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": {
      "provider": "<provider>",
      "bucket": "<bucket>",
      "dataset_id": "<dataset_id>",
      "username": "<username>",
      "role": "<role>"
    },
    "name": "set_dataset_permission"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYes
bucketYes
providerYes
usernameYes
dataset_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden, and it does disclose the authorization requirement (admin or dataset management rights), which is exactly the kind of context annotations would normally lack. It stops short of stating whether an existing role is overwritten, whether the call is idempotent, or what happens if the user already holds a group-derived role.

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 lines, action first, then the enum and the permission prerequisite. Nothing is padded, though the abrupt line breaks and mixed-language phrasing make it slightly less scannable than a single well-formed sentence would be.

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?

A five-required-parameter mutation tool with no annotations, no output schema, and zero schema descriptions needs the description to explain the identifier triple and the effect of the call. It explains only the authorization gate and the role values, leaving the agent unable to verify it is targeting the right dataset or to predict the mutation's effect.

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% for five required parameters, so the description must compensate — and it only covers one: it restates the role enum (read|write|admin), which the schema already encodes. provider, bucket, dataset_id, and username get no explanation whatsoever, leaving an agent to guess the tenancy model behind provider+bucket+dataset_id.

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?

"Direkte Dataset-Rolle für einen Nutzer setzen" names a specific verb (setzen) and resource (Dataset-Rolle) and the target (einen Nutzer), which implicitly distinguishes it from the group-scoped sibling set_dataset_group_permission. The only friction is that it is written in German while the surrounding catalog is English, so an agent matching on English verbs must translate before routing.

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?

"Erfordert Admin- oder Dataset-Verwaltungsrecht" is a real prerequisite an agent must check before calling, which is genuinely useful. However, there is no explicit when-to-use versus the near-identical siblings (set_dataset_group_permission, remove_dataset_permission, get_dataset_permissions) — the user-vs-group distinction must be inferred rather than stated.

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