Skip to main content
Glama

get_repo_permissions

Retrieves a project's effective permissions, including your role, database overrides, Gitea role, and group/override rights, to inspect access for a given organization and repository.

Instructions

Eigene Rolle, DB-Overrides und Gitea-Rolle eines Projekts.

Enthält my_source (z. B. admin, project-direct, project-group:<id>) und project_permissions (Gruppen- und Override-Rechte auf Projektebene).

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_repo_permissions"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgYes
repoYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/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 of behavioral disclosure. It describes the returned fields (my_source, project_permissions) but does not state that the operation is read-only, what permissions are required, or what happens if the repo is missing. The partial disclosure of output content earns some credit, but significant behavioral context is absent.

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?

The description is short and front-loads the main data fields returned. The second part with examples is compact and directly relevant. There is minor fragmentation with line breaks and a code block, but no unnecessary wording.

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 simple read tool with two required parameters and no output schema, the description partially compensates by listing the return fields. However, it omits parameter explanations, usage context relative to many sibling permission tools, and basic behavioral details like read-only nature. It is adequate but leaves clear gaps for an agent to call it correctly.

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 the two required parameters (org, repo), so the description must compensate. It does not mention either parameter or explain their meaning, format, or relationship to the described 'project' concept—in fact, it refers to a project while the parameters take org and repo, creating ambiguity. No value is added beyond the bare parameter names.

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 is a noun phrase listing the data returned ('Eigene Rolle, DB-Overrides und Gitea-Rolle eines Projekts') rather than a verb+resource statement, so it only vaguely conveys that this is a retrieval tool. It does specify the content (my_source, project_permissions), which helps distinguish it from unrelated siblings, but it does not explicitly differentiate it from other permission-related tools like get_effective_permissions or get_project_effective_permissions.

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?

The description offers no guidance on when to use this tool versus alternatives. It does not mention any siblings or conditions that would select this tool over get_effective_permissions, get_project_effective_permissions, or list_project_group_permissions, leaving the agent to infer usage from the name alone.

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