Skip to main content
Glama

pylon_get_issue

Retrieve a specific customer support issue by ID or issue number from the Pylon platform to access ticket details and status.

Instructions

Get a specific issue by ID or issue number

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe issue ID or issue number

Implementation Reference

  • MCP tool handler that takes an issue ID, calls PylonClient.getIssue, and returns the result as formatted JSON text content.
    async ({ id }) => { const result = await client.getIssue(id); return { content: [{ type: 'text', text: JSON.stringify(result.data, null, 2) }], }; },
  • Zod input schema defining the required 'id' parameter as a string.
    { id: z.string().describe('The issue ID or issue number'), },
  • src/index.ts:307-319 (registration)
    Registration of the 'pylon_get_issue' MCP tool with name, description, schema, and handler function.
    server.tool( 'pylon_get_issue', 'Get a specific issue by ID or issue number', { id: z.string().describe('The issue ID or issue number'), }, async ({ id }) => { const result = await client.getIssue(id); return { content: [{ type: 'text', text: JSON.stringify(result.data, null, 2) }], }; }, );
  • PylonClient helper method implementing the API call to GET /issues/{id} using the internal request method.
    async getIssue(id: string): Promise<SingleResponse<Issue>> { return this.request<SingleResponse<Issue>>('GET', `/issues/${id}`); }

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/JustinBeckwith/pylon-mcp'

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