Skip to main content
Glama

update_release

Update a release by its numeric ID: edit title, notes, draft/prerelease flags, target commit, or rename the tag. Publish drafts by setting draft to false.

Instructions

Update one release by numeric id (PATCH: only provided fields change). Edit name (title), body (release notes), toggle draft/prerelease, retarget via target_commitish, or rename the tag via tag_name. tag_name renames the underlying Git tag — use with care. Publish a draft by setting draft=false. Get the id from list_releases or get_release_by_tag first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesRelease ID (the numeric id from list_releases, NOT the tag name)
bodyNoNew release notes / content (supports Markdown)
nameNoNew release title
repoNoRepository name (defaults to GITEA_DEFAULT_REPO)
draftNoDraft status
ownerNoRepository owner (defaults to GITEA_DEFAULT_OWNER)
tag_nameNoNew tag name (renames the tag; use with care)
prereleaseNoPrerelease status
target_commitishNoNew target branch or commit SHA
Behavior4/5

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

No annotations provided, so description carries full burden. It explicitly states PATCH behavior (only provided fields change) and warns about tag_name. Lacks details on permissions or side effects, but sufficient for a patch operation.

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?

Two sentences, front-loaded with core action, then details, then guidance. Every sentence earns its place with no 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?

For 9 parameters, no output schema, no annotations, the description covers key behaviors, parameter details, and critical warnings. Lacks description of return value, but that is optional since no output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but description adds meaning: clarifies that id is numeric and not tag name, notes body supports Markdown, explains tag_name renames the tag. This enriches the schema.

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?

The description clearly states it updates a release by numeric id via PATCH, lists editable fields like name, body, draft, prerelease, tag_name, target_commitish. This distinguishes it from sibling tools such as create_release, list_releases, etc.

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

Usage Guidelines4/5

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

The description tells users to get the id from list_releases or get_release_by_tag first, and warns about tag_name renaming the Git tag. It does not explicitly state when not to use this tool, but the context is clear.

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