Skip to main content
Glama
GitHub MCP Server

GitHub MCP Server

get_issue_comments

Retrieves comments from a GitHub issue using the repository owner, repository name, and issue number so you can review discussion and context.

Instructions

Get comments on an issue

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": {
      "owner": "<owner>",
      "repo": "<repo>",
      "issue_number": "<issue_number>"
    },
    "name": "get_issue_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesRepository name
ownerYesRepository owner
issue_numberYesIssue number

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure and provides essentially none: nothing about pagination, ordering, result limits, permissions, or whether bot/deleted comments are included. For a list-returning tool with no output schema, that leaves the caller guessing about the shape and size of the response.

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?

A single front-loaded sentence with zero filler; the resource being operated on is stated immediately. It is terse to the point of being under-specified, but no sentence is wasted.

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

Completeness2/5

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

The tool is simple and the input schema is fully documented, but with no annotations and no output schema the description should say something about the returned collection, pagination, or ordering. As written it is complete on inputs and silent on everything else.

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%, with owner, repo, and issue_number each documented, so the baseline is 3. The description adds no extra meaning such as expected owner/repo format or whether issue_number is per-repository, but nothing is required beyond the schema.

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 ('Get comments on an issue'), so an agent knows exactly what is returned in domain terms. It does not explicitly differentiate itself from the sibling get_pr_comments, but the issue-scoped wording makes the distinction inferable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description contains no when-to-use guidance, no prerequisites, and no reference to alternatives such as get_issue or get_pr_comments. The agent must infer that this is the read path for comment threads under a single issue.

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