Skip to main content
Glama

set_project_group_permission

Assign a read, write, or admin role to a user group for a project repository; requires project admin rights.

Instructions

Projektrolle für eine Benutzergruppe setzen (nur Admin am Projekt).

role: read|write|admin. Der Body ist {"role": ...}.

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>",
      "group": "<group>",
      "role": "<role>"
    },
    "name": "set_project_group_permission"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgYes
repoYes
roleYes
groupYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/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 behavioral burden. It does disclose the admin-only authorization requirement, which is genuinely valuable, but it omits whether an existing role is overwritten, whether the call is idempotent, and what happens on invalid group names — meaningful gaps for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is short and the core purpose plus admin prerequisite are front-loaded. The trailing body-format sentence spends words restating what the object schema already encodes, and the quoted JSON snippet is formatting noise rather than useful information.

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?

This is a four-required-parameter mutating tool with zero annotation coverage, zero schema descriptions, and no output schema, so the description is the only documentation channel — and it documents only the role values. An agent still lacks semantics for org/repo/group and any statement of effect or return, making the definition inadequate for its complexity.

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 four required parameters, so the description must compensate and largely does not: org, repo, and group receive no explanation beyond their bare titles. The role line merely repeats the enum already present in the schema, adding no meaning, and the ``{"role": ...}`` body note is redundant with the input schema shape.

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 states a specific verb and resource: "Projektrolle für eine Benutzergruppe setzen" (set a project role for a user group), which is clearly a project-scoped group permission change and distinguishable from dataset- or user-level permission siblings. It stops short of naming those siblings explicitly, so it lands at 4 rather than 5.

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?

The parenthetical "nur Admin am Projekt" gives a real prerequisite (caller must be project admin), which is useful usage context. However, there is no guidance on when to prefer this over adjacent tools such as remove_project_group_permission or set_repo_permission, so the when-to-use layer is only implied.

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