Skip to main content
Glama

delete_release

Permanently delete a Gitea release by its numeric ID. Irreversible; confirm ID first. To unpublish without deleting, set draft status instead.

Instructions

PERMANENTLY delete a release by its numeric id (NOT the tag name). IRREVERSIBLE. Depending on Gitea configuration the underlying Git tag may or may not be deleted too. Confirm the id with the user first; prefer update_release({ draft: true }) to unpublish without deleting.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesRelease ID (the numeric id from list_releases, NOT the tag name)
repoNoRepository name (defaults to GITEA_DEFAULT_REPO)
ownerNoRepository owner (defaults to GITEA_DEFAULT_OWNER)
Behavior5/5

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

Description emphasizes irreversibility, permanence, and tag deletion ambiguity. No annotations provided, so description compensates well.

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?

Concise 3 sentences, every sentence adds essential information: action and input, behavioral warning, usage guidance. No wasted words.

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

Completeness5/5

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

Covers action, input, irreversibility, side effects (tag deletion), and provides alternative. No output schema needed; context is complete for a delete operation.

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 has 100% coverage with descriptions that include defaults and id clarification. Description does not add new parameter info beyond reinforcing key point, so meets baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb 'delete' and resource 'release', clarifies input type (numeric id not tag name), distinguishes from sibling tools (update_release with draft, get_release_by_tag).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use this tool (confirmed id, irreversible deletion) vs alternative (use update_release with draft to unpublish), and warns about side effects (tag deletion dependent on config).

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/amonstack/gitea_mcp'

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