Skip to main content
Glama

set_repo_permission

Set or override a user's read, write, or admin permission on a repository or other scoped resource by specifying organization, repository, username, role, and scope.

Instructions

Permission-Override setzen. role: read|write|admin; scope: project|repo|app|pipeline|dataset.

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": {
      "org": "<org>",
      "repo": "<repo>",
      "username": "<username>",
      "role": "<role>"
    },
    "name": "set_repo_permission"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgYes
repoYes
roleYes
scopeNorepo
targetNo
usernameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses almost nothing: no indication of required permissions or admin rights, whether the operation overwrites or merges an existing permission, whether it is reversible, or what happens to the 'target' when scope changes. Only the implicit write nature of 'setzen' is conveyed.

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 terse clauses with zero filler, and the operation is stated before the parameter hints. The telegraphic style borders on under-specification rather than verbosity, so nothing needs trimming — it needs adding.

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?

For a six-parameter mutation tool with no annotations and no output schema, the definition is far too sparse: required fields org/repo/username/role are never explained, and the effect of the operation on existing permissions is unstated. An agent could plausibly call it with the wrong resource or without the privileges it needs.

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% with six parameters, so the description must compensate, and it only partly does: it supplies the enum values for 'role' (read|write|admin) and 'scope' (project|repo|app|pipeline|dataset), which the schema lacks entirely. The four remaining parameters, notably 'target' and 'username', receive no explanation, and the default scope of 'repo' is never reconciled with the broader scope list.

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?

The description names a verb-plus-resource ('Permission-Override setzen') and lists the role and scope dimensions, so the general operation is inferable. However, the resource the override applies to is left ambiguous: the tool is named set_repo_permission, yet the description says scope can be project|repo|app|pipeline|dataset, blurring what is actually being modified. It also draws no distinction from siblings such as set_dataset_permission or set_project_group_permission.

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?

There is no statement of when to use this tool, when to prefer a sibling like set_dataset_permission or set_project_group_permission, or when the remove_repo_permission counterpart is appropriate. The agent must infer usage entirely from the name and the scope enum, with no exclusions or preconditions given.

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