Skip to main content
Glama

Create a release

create_release

Create a repository release from an existing git tag, optionally creating the tag at a specified commit, and return the release ID for uploading assets.

Instructions

Create a release on a git tag (requires write mode). The tag must already exist unless target_commitish is given, which creates it at that commit. Returns the new release, whose id addresses its assets.

Input Schema

NameRequiredDescriptionDefault
bodyNoRelease notes (markdown).
nameNoRelease title. Defaults to the tag name.
repoYesRepository name.
draftNoPublish as a draft (not visible to others). Defaults to false.
ownerYesRepository owner.
tag_nameYesGit tag for the release, e.g. `v1.2.0`. Must already exist unless `target_commitish` is given, in which case the tag is created at that commit.
prereleaseNoMark as a pre-release. Defaults to false.
target_commitishNoCommit, branch or ref to create the tag at when it does not exist yet.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=true; the description adds value beyond them by stating the write-mode requirement, the tag-creation side effect of target_commitish, and that the returned release id addresses its assets. It could say more about non-idempotency (repeated calls with the same tag fail), but the added context is real.

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, front-loaded with the verb+resource, followed by prerequisites and the return value. Every sentence carries information an agent needs before calling.

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 create tool with full schema coverage and no output schema, it covers the key call-time needs: write mode, tag existence, and the return shape with the id used for asset operations. Minor gaps (e.g., what happens on duplicate tag/release) remain but are not blocking.

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 description coverage is 100%, so all eight parameters are already documented, including the tag_name/target_commitish interaction the description restates. The description adds no syntax, format, or default information beyond the schema, so baseline 3 applies.

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 states a specific verb and resource ('Create a release on a git tag') and its sentences distinguish it from get_release and edit_release in the sibling list. The core purpose is understandable without the schema.

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?

It clearly states the write-mode prerequisite and the precondition that the tag must exist unless target_commitish is supplied, which is actionable guidance. It does not explicitly name enable_write_mode or edit_release as alternatives, leaving the agent to infer the sibling to call first.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.