Skip to main content
Glama

Reopen a GitHub issue

github_issue_reopen
DestructiveIdempotent

Reopen a closed GitHub issue and optionally post a comment to notify followers; if it is already open, leave it unchanged with no comment posted.

Instructions

Reopen a closed issue; the comment, if any, is posted as it reopens, and the people following the issue are notified. An issue that is open already is left as it is: nothing is sent, the comment is not posted and changed is false. An issue is 12, #12, owner/repo#12 or its URL; a bare number means the working tree's repository, or repo.

Input Schema

NameRequiredDescriptionDefault
repoNoowner/name; defaults to the working tree's repository (its origin). Used for a bare number.
issueYesThe issue, as 12, #12, owner/repo#12 or its URL.
commentNoA comment to post as the issue reopens.

Output Schema

NameRequiredDescriptionDefault
repoYes
issueYes
changedYesFalse when the issue was open already and nothing was sent.
foreignYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, it discloses that followers are notified, that the comment is posted as part of the reopen, and precisely what the no-op branch does (nothing sent, comment discarded, changed false). Those side-effect details are exactly what annotations like destructiveHint and idempotentHint cannot convey.

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?

Three sentences, front-loaded with the action and its side effect, followed by the no-op case and then the identifier formats. The identifier-format sentence duplicates the schema, which is the only waste.

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 three-parameter mutation tool with full schema coverage and an output schema, the description covers the state transition, side effects and the idempotent branch. Only permission or auth requirements are unaddressed, which is a minor omission at this complexity.

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 100%, so the accepted issue formats and the repo default rule are already documented in the schema; the description largely restates them. It adds no format or interpretation detail beyond the structured fields, 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?

States a specific verb and resource ("Reopen a closed issue") and the closing clause scopes it to closed issues only. An agent can distinguish this from github_issue_close or github_issue_comment without opening any 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?

The description clearly frames the operating condition (only closed issues are affected) and spells out the no-op branch when the issue is already open. It does not name an explicit alternative such as github_issue_comment for comment-only flows, so it stops short of full alternative routing.

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