Skip to main content
Glama

Create release at exact target

gh_create_release_exact

Create a single GitHub release pinned to an exact target commit SHA after ensuring no tag or release exists. Performs one verified creation request with no retries.

Instructions

Additive write: create one GitHub release using an exact 40-character target commit SHA after ordinary write authorization and the separate release-creation fine gate. The tool verifies target identity, optionally requires the tag and every release state including drafts to be absent, performs exactly one governed creation request, and verifies release, tag commit, and explicit latest state. It never retries an ambiguous release mutation automatically.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoOptional Markdown release notes.
nameNoOptional release display name.
repoYesGitHub repository name without the owner prefix.
draftNo
ownerYesGitHub repository owner or organization login.
tag_nameYesExact Git tag name to create.
prereleaseNo
make_latestYesExplicit latest-release policy for the created release.
expected_tag_absentNo
expected_target_shaYesExact target commit SHA for the release tag.
expected_release_absentNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
warningNo
is_draftNo
tag_nameYes
is_latestNo
release_idNo
request_idNo
make_latestYes
release_urlNo
release_nameNo
is_prereleaseNo
tag_commit_shaNo
write_completedYes
readback_completedYes
expected_target_shaYes
resolved_target_shaYes
precondition_checkedYes
state_matches_requestedYes
Behavior5/5

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

The description thoroughly discloses behavioral traits: it is an additive write (not destructive), it verifies target identity, optionally requires absence of tag and releases, performs exactly one governed creation request, verifies release/tag commit/latest state, and never retries ambiguous mutations. This goes beyond the annotations (which already indicate non-read-only, non-idempotent, non-destructive) by explaining the verification and single-attempt behavior.

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 concise, front-loaded with the core action, and every sentence adds value. It uses three sentences to cover purpose, conditions, and behavioral guarantees without fluff.

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?

Given the tool's complexity (11 parameters, multiple verification steps, conditional behavior), the description covers the essential context: what it does, how it handles state (absence checks), single-request guarantee, and verification steps. An output schema exists, but it's not shown here; the description is complete for selecting and invoking correctly. It could include error cases, but the verification steps imply common failure modes.

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?

The description explains key parameters implicitly: 'exact 40-character target commit SHA' maps to expected_target_sha, 'optionally requires the tag and every release state including drafts to be absent' covers expected_tag_absent and expected_release_absent, and 'explicit latest state' maps to make_latest. However, some parameters like draft, prerelease, body, and name are only defined in the schema, not in the description. Given 64% schema coverage, the description adds meaningful context for the central parameters but not all.

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 the tool's purpose: 'create one GitHub release using an exact 40-character target commit SHA' with specific verification and safeguards. It distinguishes from siblings by the 'exact' target and the explicit verification steps, setting it apart from generic release creation tools.

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 implies when to use this tool: when an exact target commit SHA is required and release/tag absence must be ensured. It doesn't explicitly state alternatives or when-not-to-use, but the 'exact' qualifier and verification details provide clear context. It could be improved by naming an alternative for flexible releases.

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/fvanevski/gh_mcp'

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