Skip to main content
Glama

Delete project approval rule

delete_project_approval_rule
Destructive

Delete a GitLab project approval rule by confirming the rule ID and acknowledging the governance change to prevent accidental removal.

Instructions

Delete a project approval rule only after reading it and explicitly acknowledging the destructive governance change.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectYesGitLab project ID or full path such as group/project.
approval_rule_idYes
acknowledge_policy_changeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYesGitLab response normalized for model use.
Behavior3/5

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

The description reinforces the annotation destructiveHint=true by calling the action an 'explicitly... destructive governance change.' It adds mild context by tying the acknowledgment requirement to the operation but doesn't detail consequences, rollback, or other behavioral traits. No contradiction exists with the provided annotations.

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

Conciseness5/5

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

A single sentence, front-loaded with the verb, no fluff. Every word earns its place and the advisory clause adds safety-critical guidance without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The presence of an output schema removes the need to document return values. The description accurately covers the main risk (governance change) and the required acknowledgment flow. Minor gap: it doesn't mention that the acknowledgment param must be literally 'true' or what happens if omitted (e.g., validation error). Overall adequate for a 3-param tool.

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?

With only 33% schema description coverage, baseline is low. The description's mention of 'explicitly acknowledging the destructive governance change' nicely maps to the acknowledge_policy_change parameter, but nothing clarifies approval_rule_id, and the description doesn't fully compensate for the missing param documentation.

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 uses a specific verb ('Delete') with a clear resource ('project approval rule'), and effectively conveys the operation's scope and destructive nature. Though it doesn't name sibling tools, the purpose is unmistakable given the name/title alignment.

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 'only after reading it and explicitly acknowledging' phrasing provides a clear precondition for when to invoke the tool. However, it never mentions alternatives (e.g., update_project_approval_rule for modifications) or any exclusions, leaving the when-not-to-use guidance only implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CobolJunkie/gitlab-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server