Skip to main content
Glama

get_project_effective_permissions

Retrieves effective project roles and their source for an organization repository, optionally filtered by username, so you can audit access.

Instructions

Effektive Projektrollen inkl. Quelle (source).

source: admin | project | project-direct | group:<id> | project-group:<id>. Ohne username wird die vollständige Liste bewertet (nur für Projekt-Admins).

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

Input Schema

NameRequiredDescriptionDefault
orgYes
repoYes
usernameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose two real behavioral traits: responses carry source provenance with five enumerated categories, and the no-username mode requires project-admin privileges. It says nothing about error behavior for non-admins, unknown users, or empty results, which is a meaningful remaining gap for a permission-inspection tool.

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?

Four short lines with no filler; the return content leads and the source enumeration is compact. The inline enumeration slightly displaces purpose, and the parenthetical ``(``source``)`` is redundant with the following line, but overall it is tight.

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-parameter read tool with no output schema and no annotations, the description covers return content, provenance values, and the permission gate on the full-list mode. It still leaves the role object shape, error conditions, and the meaning of the required identifiers unaddressed.

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 0%, so the description must compensate, and it does for the one ambiguous parameter: ``username`` is optional, and omitting it switches to full-list evaluation under an admin restriction. ``org`` and ``repo`` receive no explanation at all, though their names are largely self-describing identifiers.

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 what the tool returns: effective project roles together with the provenance of each role (``source``), and enumerates the possible source values. That is a clear resource + result statement beyond the bare name. It does not distinguish itself from the sibling get_effective_permissions, so it stops short of 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?

There is conditional usage information: omitting ``username`` evaluates the full list, which is restricted to project admins. That tells the agent when a mode is available and who may use it, but it never says when to choose this tool over get_effective_permissions or the project/group permission tools.

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