Skip to main content
Glama

get_release

Retrieve a Gitea release's full details by its numeric ID, including title, notes, tag, draft/prerelease flags, and attachments.

Instructions

Fetch one release by its numeric id (NOT the tag name — get the id from list_releases). Returns the full release including the title (name), release notes (body), tag_name, draft/prerelease flags, target_commitish, and attachments. Use get_release_by_tag to look up a release when you only know the tag name.

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)
Behavior4/5

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

No annotations provided, so description carries full burden. It transparently states it returns full release with specific fields, and the verb 'Fetch' implies a read operation. No mention of side effects, but none expected. Could be more explicit about read-only nature, but adequate.

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?

Three sentences, each impactful: first states action and warning, second lists returns, third gives alternative. No wasted words, front-loaded with key information.

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 a simple fetch tool with no output schema, description covers the essential behavior, parameters, and alternatives. Lists returned fields. Could mention error handling or prerequisites, but sufficient given low complexity and good schema coverage.

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 100% sets baseline 3. Description adds significant value for the 'id' parameter by explaining it is numeric, not a tag name, and must be obtained from list_releases. This goes beyond schema. Other parameters are briefly noted with defaults, adding limited extra value.

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?

Description clearly states 'Fetch one release by its numeric id' and emphasizes it is NOT the tag name, distinguishing it from sibling get_release_by_tag. It specifies the returned fields, providing a clear purpose.

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?

Explicit usage guidelines: instructs to get the id from list_releases and use get_release_by_tag when only knowing the tag name. Provides clear context and alternative.

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