Skip to main content
Glama

get_issue_details

Retrieve detailed information about a specific issue in an AtomGit repository by providing the owner, repository name, and issue number for efficient issue tracking and management.

Instructions

Get details of a specific issue in a AtomGit repository

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
issue_numberYesIssue number
ownerYesRepository owner
repoYesRepository name

Implementation Reference

  • The core handler function that performs the HTTP GET request to retrieve details of a specific issue from the AtomGit API.
    export async function getIssue( owner: string, repo: string, issue_number: number ) { return atomGitRequest( `https://api.atomgit.com/repos/${encodeURIComponent(owner)}/${encodeURIComponent(repo)}/issues/${encodeURIComponent(issue_number)}`, { method: "GET", } ); }
  • Zod schema defining the input parameters for the get_issue_details tool: owner, repo, and issue_number.
    export const GetIssueSchema = z.object({ owner: z.string().describe("Repository owner"), repo: z.string().describe("Repository name"), issue_number: z.number().describe("Issue number"), });
  • index.ts:96-100 (registration)
    Registration of the get_issue_details tool in the MCP server's list of tools, including name, description, and input schema reference.
    { name: "get_issue_details", description: "Get details of a specific issue in a AtomGit repository", inputSchema: zodToJsonSchema(issues.GetIssueSchema), },
  • Dispatch handler in the main switch statement that parses tool arguments using the schema and calls the core getIssue function.
    case "get_issue_details": { const args = issues.GetIssueSchema.parse(request.params.arguments); const { owner, repo, issue_number } = args; const result = await issues.getIssue(owner, repo, issue_number); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }], }; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kaiyuanxiaobing/atomgit-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server