Skip to main content
Glama
FirstCommit — Your First Step into Open Source

FirstCommit — Your First Step into Open Source

get_issue_details

Retrieve complete details and recent comments for a specific issue in a public GitHub repository, including labels, state, author, and URL, to evaluate it and distinguish issues from pull requests.

Instructions

Retrieve complete details and recent comments for a specific issue in a public GitHub repository. Returns the full description, author, labels, state, dates, comment count, recent comments, and web URL. Distinguishes pull requests from ordinary issues.

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_url": "<repo_url>",
      "issue_number": "<issue_number>"
    },
    "name": "get_issue_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
repo_urlYesA public GitHub repository URL (e.g. https://github.com/owner/repo) or owner/repo identifier (e.g. owner/repo)
issue_numberYesThe issue number (e.g. 1234)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the return surface (description, author, labels, state, dates, comment count, recent comments, URL) and the PR-vs-issue distinction, which is genuinely useful behavior. It omits how many comments count as "recent," whether private repos error out, and any rate-limit or auth expectations.

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 short sentences, front-loaded with the action and followed by the return contents that have no output schema to carry them. The enumeration of returned fields is justified rather than redundant; wording is tight with no filler.

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?

There is no output schema, and the description compensates by enumerating what comes back, which is exactly what an agent needs to plan downstream steps. Remaining gaps — comment volume limits and failure behavior on non-public repos — are minor for a two-parameter read tool.

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 both repo_url (URL or owner/repo) and issue_number are fully documented in the schema. The description adds only the constraint that the repository must be public, which is marginal value over the structured fields; baseline 3 applies.

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 ("Retrieve complete details and recent comments for a specific issue") and scopes it to a public GitHub repository. It further clarifies that it distinguishes pull requests from ordinary issues, which sharpens what an agent gets back. It does not explicitly contrast itself with sibling search_issues or analyze_issue_suitability, so it falls short of 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 Guidelines3/5

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

The phrase "for a specific issue" plus the required issue_number implies you must already know which issue you want, distinguishing it implicitly from search_issues, and "public" scopes access. However, there is no explicit when-to-use/when-not-to-use statement and no named alternative for lookup-by-search workflows.

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