Skip to main content
Glama
GitHub PR Issue Analyser

GitHub PR Issue Analyser

by saidsef

Github Set Issue Milestone

github_set_issue_milestone
Idempotent

Assign or clear an issue's milestone by title, automatically resolving the title to GitHub's milestone number so callers can file issues under the right milestone without lookup.

Instructions

Files an issue under a milestone, or takes it off one. Takes the title rather than the number GitHub wants, and looks it up, so the caller does not have to. Omit the title to clear the milestone.

Workflow and conventions: github_get_skill('issue-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>",
      "issue_number": "<issue_number>"
    },
    "name": "github_set_issue_milestone"
  }
}

Input Schema

NameRequiredDescriptionDefault
milestoneNoMilestone title to file it under. Omit or pass null for no milestone
repo_nameYes
repo_ownerYes
issue_numberYes

Output Schema

NameRequiredDescriptionDefault
bodyYes
stateYes
titleYes
authorYes
labelsYes
numberYes
html_urlYes
assigneesYes
milestoneYes
created_atYes
updated_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv42.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read/write, idempotency, and safety, so the bar is lower; the description still adds real context the annotations don't convey — that it resolves a milestone title to a number internally, and that omission clears the association. It does not say how failures are handled when a title doesn't resolve, which is the main residual gap.

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?

Front-loaded with the core behavior in the first clause, and the clearing rule follows immediately. The trailing 'Workflow and conventions' line is terse and slightly orphaned but earns its place as a pointer; no padding elsewhere.

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?

An output schema exists, so return values need no explanation, and annotations handle the safety profile. What remains thin is failure behavior (unresolvable milestone title) and permission prerequisites, which an agent might want for a write operation.

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 25%, so the description must compensate. It does well for the milestone parameter, explaining title-vs-null semantics and the internal lookup, but repo_owner, repo_name, and issue_number are left entirely to their self-evident names, which is only a partial compensation.

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?

States a specific verb and resource: files an issue under a milestone or removes it. The bidirectional behavior and the title-vs-number handling make the tool's identity unambiguous. It does not explicitly differentiate itself from nearby siblings such as github_update_milestone, which is why this is a 4 rather than a 5.

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?

Gives a clear rule for the clearing case (omit the title) and points to github_get_skill('issue-management') for workflow conventions. It lacks any explicit when-not or named-alternative guidance (e.g., when to use github_update_milestone instead), so the routing is implied rather than stated.

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