Skip to main content
Glama

create_release

Create a release from a Git tag with optional notes, draft, or prerelease status. Auto-creates the tag if missing, defaulting to the repository's default branch.

Instructions

Create a release. tag_name is required (the Git tag, e.g. 'v1.2.0'); the tag is created if it does not exist. name is the human-readable title; body is the release notes (Markdown). target_commitish (branch or SHA) controls where the tag points (defaults to the repo's default branch). draft and prerelease are optional booleans. Returns the created release including its numeric id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoRelease notes / content (supports Markdown)
nameNoRelease title (the human-readable name)
repoNoRepository name (defaults to GITEA_DEFAULT_REPO)
draftNoCreate as a draft (unpublished) release
ownerNoRepository owner (defaults to GITEA_DEFAULT_OWNER)
tag_nameYesGit tag name to create the release from (e.g. 'v1.2.0')
prereleaseNoCreate as a prerelease
target_commitishNoBranch or commit SHA the tag is created from (defaults to the repo default branch)
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It details key behaviors: required tag_name, auto-creation of tag if missing, defaults for target_commitish, optional booleans, and return value including id. It lacks explicit permissions or rate limit info but covers core behavior 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?

The description is a single, well-structured paragraph listing parameters in order of importance with no wasted words. Each sentence adds necessary information.

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?

With 8 parameters and no output schema, the description covers most but misses repo and owner parameters, which are only described in the schema. It does mention defaults for target_commitish but not for repo/owner. The return value is partially described (numeric id), but overall completeness is adequate with a notable gap.

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

Parameters4/5

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

Schema coverage is 100%, baseline 3. The description adds value by clarifying tag_name with an example, explaining name as human-readable, body as Markdown, target_commitish default, and draft/prerelease as optional booleans. It also mentions the returned id, enhancing understanding beyond schema labels.

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 starts with 'Create a release,' clearly stating the verb and resource. It distinguishes from sibling release tools (list, get, update, delete) by specifying creation behavior.

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 description is clear that the tool is for creating releases but does not explicitly state when to use it versus alternatives. No when-not or context exclusions are mentioned, though the name and siblings imply straightforward usage.

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