Skip to main content
Glama

Release an issue

release_issue
DestructiveIdempotent

Releases a claim or follow-up you are working on: the way to stop without submitting a patch. Give its attemptId, a reason and a note saying why; the note is required. On a claim you are not offered the issue again. With taken, closed, already_fixed, maintainer_rejected or stale, GitRanks reads the issue again on GitHub and takes it out for everyone only if it is no longer open; other reasons give it back to others. On a follow-up only the follow-up ends, and forYou tells the contributor what only they can do next. Answers released: true; only a running claim or follow-up can be released.

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": {
      "attemptId": "<attemptId>",
      "reason": "<reason>"
    },
    "name": "release_issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoRequired: why you give it back, a sentence or two
checksNoA follow-up only: your verdict on each failing check the brief listed, by its name exactly as that list gives it: whose is pr (this pull request's change makes it fail), not_pr (it fails for a reason outside the change: on the base branch too, flaky, a secret or an approval a fork does not get), contributor (only the contributor can clear it: why says what to do) or base (it fails only on the merge with the base branch); leave out a check you did not look into, and leave forYou null when a why already says all that is left for the contributor
forYouNoA follow-up only: one sentence in the imperative to the contributor, what only they can do next on the pull request (at most 300 characters); null when nothing is left for them
reasonYesWhy you stop. taken, closed, already_fixed, maintainer_rejected and stale take the issue out for everyone; the rest leave it open to others
attemptIdYesThe attemptId of your claim or follow-up (24 hex characters), as its start or the contributions list answered it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / checks
      Added value: +{
      +  "description": "A follow-up only: your verdict on each failing check the brief listed, by its name exactly as that list gives it: whose is pr (this pull request's change makes it fail), not_pr (it fails for a reason outside the change: on the base branch too, flaky, a secret or an approval a fork does not get), contributor (only the contributor can clear it: why says what to do) or base (it fails only on the merge with the base branch); leave out a check you did not look into, and leave forYou null when a why already says all that is left for the contributor",
      +  "items": {
      +    "properties": {
      +      "name": {
      +        "description": "The check's name, exactly as the brief's list of failing checks gives it",
      +        "maxLength": 1000,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "whose": {
      +        "description": "pr, not_pr, contributor or base",
      +        "enum": [
      +          "pr",
      +          "not_pr",
      +          "contributor",
      +          "base"
      +        ],
      +        "type": "string"
      +      },
      +      "why": {
      +        "anyOf": [
      +          {
      +            "maxLength": 1000,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "One sentence: why; for contributor and base, what the contributor does, in the imperative; an entry without it is not kept"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "whose"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 200,
      +  "type": "array"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior5/5

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

With readOnlyHint=false and destructiveHint=true already declared, the description still adds real context: it spells out per-reason consequences, saying which reasons make GitRanks re-check GitHub and take the issue out for everyone, which give it back to others, and that a claimer is not offered the issue again. It also discloses the precondition (only a running claim or follow-up), the required note, the follow-up-only scope, and the returned value, which is what fills the gap left by having no output schema.

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?

It is front-loaded with purpose and every sentence conveys behavior rather than filler. The dense reason-mapping sentence about taken/closed/already_fixed/maintainer_rejected/stale is long and would read better as a list, but it still earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, conditional-effect tool with five parameters and no output schema, the description covers the claim-versus-follow-up split, the reason consequences, the precondition and the return shape well. It omits the checks parameter entirely and states that note is required in conflict with the schema, so an agent must still lean on the schema to call it correctly.

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 schema already carries parameter meaning and 3 is the baseline. The description adds only fragments: that note is mandatory (though note is absent from the schema's required list, a mismatch worth resolving) and that forYou tells the contributor what only they can do next. The checks parameter, which has the richest semantics, is never mentioned in the description.

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?

"Releases a claim or follow-up you are working on: the way to stop without submitting a patch" states a specific verb, the two resource types it acts on, and contrasts itself with the patch-submission path. The final clause ("only a running claim or follow-up can be released") further pins down what the tool can act on, so an agent can distinguish it from submit_patch or claim_issue without reading 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 gives a clear when: you are working a claim or follow-up and want to stop without a patch, and a clear when-not: nothing that isn't a running claim or follow-up can be released. It implicitly steers away from submit_patch but never names a sibling alternative or the case where you should finish the work instead, so routing is strong but not fully explicit.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.