Skip to main content
Glama
GitHub PR Issue Analyser

GitHub PR Issue Analyser

by saidsef

Github Update Release

github_update_release
Idempotent

Updates a GitHub release in place, including drafts, by sending only supplied fields so omitted notes or title stay unchanged.

Instructions

Changes a release in place, a draft included. The tool sends only the fields supplied, so correcting a title does not wipe the notes. On a draft it also sends tag_name, since GitHub otherwise renames the draft's tag. This tool does not send make_latest, so move the latest badge with github_api_write, sending PATCH on repos/{owner}/{repo}/releases/{id} with make_latest.

Workflow and conventions: github_get_skill('release-management').

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "repo_owner": "<repo_owner>",
      "repo_name": "<repo_name>",
      "tag_name": "<tag_name>"
    },
    "name": "github_update_release"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoReplacement notes. Omit to leave them alone
nameNoReplacement title. Omit to leave it alone
draftNo
tag_nameYesTag of the release to change
repo_nameYes
prereleaseNo
repo_ownerYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv42.0.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare not-readOnly, idempotent and non-destructive, but the description adds genuinely new behavioral facts: only supplied fields are sent so a title fix doesn't wipe notes, drafts get tag_name re-sent because GitHub otherwise renames the draft's tag, and make_latest is deliberately unsupported with a concrete workaround. These are non-obvious quirks an agent could not infer from the schema or annotations, and they are consistent with idempotentHint=true.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core semantics are front-loaded in the first two sentences, followed by the constraint and then workflow pointers. Every sentence carries information, though the sentence about drafts assumes prior context about tag renaming that makes it slightly dense on first read.

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 7-parameter mutation tool with an output schema and solid annotation coverage, the description supplies the behaviors that matter: partial update, draft tag handling, and the make_latest escape hatch. The remaining gap is the unexplained draft/prerelease toggles, which is minor given they are conventional booleans.

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 coverage is only 43%, so the description must carry weight: it explains tag_name is required to identify the release and that tag_name is also sent when updating a draft, which is real added meaning. However draft and prerelease booleans are left entirely unexplained in both schema and description. Partial compensation for the coverage gap, so a middling score.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Changes a release in place, a draft included.' An agent can immediately tell this is a partial-update operation on an existing release, distinct from create/delete release siblings. It stops short of explicitly naming those siblings, but the mutation-in-place framing is unambiguous.

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 routes one sub-case elsewhere: make_latest is not handled here, so move the latest badge with github_api_write via PATCH on repos/{owner}/{repo}/releases/{id}. It also points to github_get_skill('release-management') for workflow conventions. It doesn't cover when to prefer this over github_create_release or github_get_release, but for the ambiguous case it resolves, the guidance is explicit.

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